exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 110 discussion

A social media company allows users to upload images to its website. The website runs on Amazon EC2 instances. During upload requests, the website resizes the images to a standard size and stores the resized images in Amazon S3. Users are experiencing slow upload requests to the website.
The company needs to reduce coupling within the application and improve website performance. A solutions architect must design the most operationally efficient process for image uploads.
Which combination of actions should the solutions architect take to meet these requirements? (Choose two.)

  • A. Configure the application to upload images to S3 Glacier.
  • B. Configure the web server to upload the original images to Amazon S3.
  • C. Configure the application to upload images directly from each user's browser to Amazon S3 through the use of a presigned URL
  • D. Configure S3 Event Notifications to invoke an AWS Lambda function when an image is uploaded. Use the function to resize the image.
  • E. Create an Amazon EventBridge (Amazon CloudWatch Events) rule that invokes an AWS Lambda function on a schedule to resize uploaded images.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Buruguduystunstugudunstuy
Highly Voted 2 years, 1 month ago
Selected Answer: CD
To meet the requirements of reducing coupling within the application and improving website performance, the solutions architect should consider taking the following actions: C. Configure the application to upload images directly from each user's browser to Amazon S3 through the use of a pre-signed URL. This will allow the application to upload images directly to S3 without having to go through the web server, which can reduce the load on the web server and improve performance. D. Configure S3 Event Notifications to invoke an AWS Lambda function when an image is uploaded. Use the function to resize the image. This will allow the application to resize images asynchronously, rather than having to do it synchronously during the upload request, which can improve performance.
upvoted 58 times
jdr75
1 year, 10 months ago
presigned URL is for download the data from S3, not for uploads, so the user does not upload anything. C is no correct.
upvoted 16 times
mauroicardi
10 months, 4 weeks ago
A user who does not have AWS credentials to upload a file can use a presigned URL to perform the upload. https://boto3.amazonaws.com/v1/documentation/api/latest/guide/s3-presigned-urls.html
upvoted 5 times
...
EricYu2023
1 year, 9 months ago
Presigned URL can be use for upload.
upvoted 13 times
PoisonBlack
1 year, 9 months ago
https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html
upvoted 8 times
AF_1221
1 year, 9 months ago
preassigned URL is for upload or download for temporary time and for specific users outside the company
upvoted 5 times
...
...
AF_1221
1 year, 9 months ago
but for temporary purpose not for permanent
upvoted 4 times
tuso
1 year ago
So? You only need a presigned URL for the moment you upload the image, not forever
upvoted 2 times
AnhNguyen99
6 months, 4 weeks ago
that's right
upvoted 1 times
...
...
...
...
...
Buruguduystunstugudunstuy
2 years, 1 month ago
Why other options are wrong Option A, Configuring the application to upload images to S3 Glacier, is not relevant to improving the performance of image uploads. Option B, Configuring the webserver to upload the original images to Amazon S3, is not a recommended solution as it would not reduce coupling within the application or improve performance. Option E, Creating an Amazon EventBridge (Amazon CloudWatch Events) rule that invokes an AWS Lambda function on a schedule to resize uploaded images, is not a recommended solution as it would not be able to resize images in a timely manner and would not improve performance.
upvoted 4 times
MutiverseAgent
1 year, 6 months ago
About your comments regarding option B)... But if images are being saved directly to S3 instead of the EBS/SSD storage of E2 instances as they originally were, the new approach will reduce coupling and improve performance. Also you have to consider the security concerns about presign URLs as the question does not mention if users are public or private.
upvoted 2 times
...
Yelizaveta
1 year, 11 months ago
Here it means to decouple the processes, so that the web server don't have to do the resizing, so it doesn't slow down. The customers access the web server, so the web server have to be involved in the process, and how the others already wrote, the pre-signed URL is not the right solution because, of the explanation you can read in the other comments. And additional! "Configure the application to upload images directly from EACH USER'S BROWSER to Amazon S3 through the use of a pre-signed URL" I am not an expert, but I can't imagine that you can store an image that an user uploads in his browser etc.
upvoted 7 times
...
...
...
fkie4
Highly Voted 1 year, 11 months ago
Selected Answer: BD
Why would anyone vote C? signed URL is for temporary access. also, look at the vote here: https://www.examtopics.com/discussions/amazon/view/82971-exam-aws-certified-solutions-architect-associate-saa-c02/
upvoted 35 times
sheilawu
8 months, 4 weeks ago
I agree with you. C seems a temporary solution if a download or upload demend is urgent.
upvoted 1 times
...
...
zdi561
Most Recent 1 week ago
Selected Answer: CD
see https://aws.amazon.com/blogs/compute/uploading-large-objects-to-amazon-s3-using-multipart-upload-and-transfer-acceleration/ B separate concerns and has the best performance
upvoted 1 times
...
salman7540
1 month, 2 weeks ago
Selected Answer: BD
BD looks accurate. Presigned URLs provide short time access to users to upload or download objects to/from S3. This approach is not feasible to renew URL every time and give it to every random users who plans to access website. Presigned URL generally used for occasional sharing of private files.
upvoted 1 times
...
Tjazz04
1 month, 3 weeks ago
Selected Answer: CD
CD is the more appropriate solution bec. when the user uploads the images, it will directly uploaded to the S3 while if BD, when the user uploads the images, it will first go to the web server then to the S3 bucket and This can cause a slow upload process since the web server is processing the download from the user, then upload to the s3 bucket.
upvoted 1 times
...
architect_kags
2 months, 1 week ago
Selected Answer: BE
While C can reduce web server load, it doesn't address image resizing, which is a critical requirement. So B & D would be the answers.
upvoted 1 times
...
Abdullah2004
3 months, 2 weeks ago
Selected Answer: CD
It's very clear C D
upvoted 2 times
Abdullah2004
3 months, 2 weeks ago
I'm sorry it's B D
upvoted 1 times
...
...
ChymKuBoy
3 months, 3 weeks ago
Selected Answer: CD
C, D for sure
upvoted 2 times
...
PaulGa
4 months, 3 weeks ago
Selected Answer: BD
Ans B, D - 1st: Upload the original images to Amazon S3 2nd: Configure S3 Event Notifications to invoke an AWS Lambda function when an image is uploaded to resize the image.
upvoted 3 times
...
bignatov
5 months, 2 weeks ago
Selected Answer: CD
I am voting for C and D. B and D could also work, but when you upload the images to the EC2 and then to S3 it could cause additional performance and network traffic load.
upvoted 2 times
...
Moo
6 months, 1 week ago
I don't understand why the expiration time of presigned urls is being questioned. You can certainly design an upload flow that uses the SDK to create a new presigned url before uploading.
upvoted 2 times
...
jaradat02
6 months, 2 weeks ago
Selected Answer: BD
B and D is the way to go
upvoted 3 times
...
creamymangosauce
6 months, 3 weeks ago
Selected Answer: CD
CD - No point having the instance do extra work when we can use pre signed URLs and let the user directly upload to S3, hence B is not an operationally efficient option. Furthermore B results in more traffic through the instance which is inefficient.
upvoted 2 times
...
jatric
7 months, 1 week ago
Selected Answer: BD
C is not a valid option to upload the image is to have presigned url to retrieve the file/image from S3
upvoted 1 times
...
MomenAWS
7 months, 4 weeks ago
Selected Answer: BD
BD is more reasonable than CD
upvoted 2 times
...
soufiyane
10 months ago
BD is the answer, idk why anyone would choose c ?? pre-signed urls are for security pursoses
upvoted 2 times
...
MikeJANG
1 year ago
Selected Answer: CD
GPT4 option B would offload the storage to S3 but still involves the web server in the upload process, which does not fully address the performance issues.
upvoted 2 times
sirasdf
11 months, 2 weeks ago
GPT4 is wrong. It does address the performance issue with the image processing will be done by lambda and not on the server
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago