Home › Forums › AWS › AWS Certified Developer Associate › Test 5 question 45 45. Question Category: CDA – Development with AWS Services
-
Test 5 question 45 45. Question Category: CDA – Development with AWS Services
-
Category: CDA – Development with AWS Services
A developer is building an application that uses Amazon CloudFront to distribute thousands of images stored in an S3 bucket. The developer needs a fast and cost-efficient solution that will allow him to update the images immediately without waiting for the object’s expiration date.
Which solution meets the requirements?
<ul data-question_id=”13252″ data-type=”single”>
- Update the images by using versioned file names.
- Update the images by invalidating them from the edge caches.
Disable the CloudFront distribution and re-enable it to update the images in all edge locations.
Upload the new images in the S3 bucket and wait for the objects in the edge locations to expire to reflect the changes.
question 1: while it is cost effective option “to change the name of the file” but it is kind of weird as user will be frustrated why he gets error when he tries to open photo by link and he will face an error because of expired old image was removed from cache
question 2: why Question set 5 is SOOO tough?UPD: looks like I somehow broke html of the site, I just copy pasted questions
- This discussion was modified 1 month ago by Valentine Serebreanu.
-
Hello Valentine Serebreanu,
Thank you for sharing your thoughts on this item.
For question 1, we should focus on the technical requirements specified in the scenario. While user experience is important, the question primarily asks for a fast and cost-efficient solution to update images in CloudFront immediately without waiting for expiration. Therefore, we should consider Updating the images by using versioned file names as the correct answer. The concern about user frustration due to expired links is valid but not part of the given scenario’s requirements.
As for question 2, some questions are designed to challenge your understanding and tackle more complex scenarios to make sure you fully understand the topic.
Let us know if you need further assistance.
Best regards,
JR @ Tutorials Dojo
Log in to reply.