Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Buruguduystunstugudunstuy
Highly Voted 1 year, 11 months 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 56 times
jdr75
1 year, 7 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 15 times
mauroicardi
8 months, 1 week 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 4 times
...
EricYu2023
1 year, 7 months ago
Presigned URL can be use for upload.
upvoted 13 times
PoisonBlack
1 year, 6 months ago
https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html
upvoted 8 times
AF_1221
1 year, 6 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, 6 months ago
but for temporary purpose not for permanent
upvoted 4 times
tuso
9 months, 3 weeks ago
So? You only need a presigned URL for the moment you upload the image, not forever
upvoted 2 times
AnhNguyen99
4 months, 1 week ago
that's right
upvoted 1 times
...
...
...
...
...
Buruguduystunstugudunstuy
1 year, 11 months 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, 4 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, 9 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, 8 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 33 times
sheilawu
6 months, 1 week ago
I agree with you. C seems a temporary solution if a download or upload demend is urgent.
upvoted 1 times
...
...
Abdullah2004
Most Recent 1 month ago
Selected Answer: CD
It's very clear C D
upvoted 2 times
Abdullah2004
1 month ago
I'm sorry it's B D
upvoted 1 times
...
...
ChymKuBoy
1 month ago
Selected Answer: CD
C, D for sure
upvoted 2 times
...
PaulGa
2 months 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 2 times
...
bignatov
2 months, 4 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
3 months, 3 weeks 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
4 months ago
Selected Answer: BD
B and D is the way to go
upvoted 2 times
...
creamymangosauce
4 months, 1 week 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
4 months, 2 weeks 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
5 months, 1 week ago
Selected Answer: BD
BD is more reasonable than CD
upvoted 2 times
...
soufiyane
7 months, 2 weeks ago
BD is the answer, idk why anyone would choose c ?? pre-signed urls are for security pursoses
upvoted 2 times
...
MikeJANG
9 months, 2 weeks 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
9 months 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
...
...
MikeJANG
9 months, 2 weeks ago
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 1 times
...
awsgeek75
10 months, 1 week ago
Selected Answer: CD
C: presigned URL can be used to upload images to S3 https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html D: scalable event processing for image resizing using lambda A: Glacier? B: Can work and maybe improves the performance also as the webserver is not resizing the image (if D is used in combination with this). However, C is better E: Irrelevant
upvoted 4 times
...
bujuman
10 months, 2 weeks ago
Selected Answer: CD
B could be excluded because of these two points: - 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.
upvoted 3 times
...
Wang87
10 months, 3 weeks ago
Selected Answer: AD
C is out of question as URL is not generated by user and highest validity is 7 days. So if user needs to access same file after 7 days it would be very troublesome.
upvoted 1 times
awsgeek75
10 months, 1 week ago
How is S3 glacier going to help with uploads?
upvoted 3 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 ...