exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 875 discussion

A media company has a video-streaming application that runs on smart TVs. The application is written in HTML and JavaScript. A configuration exists for each smart TV type to control application behavior, such as whether the application should offer high-definition content. The configuration typically changes each quarter.
The company serves the application from a fleet of Amazon EC2 instances that handle the requests from the smart TVs. On each request, an application template and smart TV configuration are retrieved from Amazon S3 and are merged to produce the customized application.
The company's current solution produces high response times during peak load. The company wants to use Amazon CloudFront to deliver and cache the application.
Which combination of steps should a solutions architect take to meet these requirements? (Choose three.)

  • A. Create a CloudFront distribution with the EC2 instances as an origin.
  • B. Create a Lambda@Edge function to be invoked by an origin request event. Determine the smart TV type by inspecting the user agent in the event. Modify the request URI to point to the application file from the S3 bucket.
  • C. Enable S3 Transfer Acceleration on the S3 bucket to allow faster access from CloudFront.
  • D. Enable S3 Versioning on the S3 bucket that hosts the object. Modify the application build process to create a single application file for each configuration. Push the file to the S3 bucket by using the same name to create a new version. Set a Maximum TTL on the object.
  • E. Create a CloudFront distribution with a custom origin.
  • F. Modify the application build process to create a single application file for each configuration. Upload the application files to the S3 bucket with an incremented version number in the object name. Create an S3 webpage redirect to redirect requests for the customized application to the latest version of the file. Set a Maximum TTL on the object.
Show Suggested Answer Hide Answer
Suggested Answer: BEF 🗳️

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
sb333
Highly Voted 2 years, 7 months ago
Selected Answer: BEF
Should be BEF E: EC2 is a custom origin, so that is what needs to be selected. F: By putting a version number in the application file name for each config, changes to the application files will result in the new files being cached by CloudFront. If you retain the same file name for each new application file, it will not cache the new file until the TTL of the cache expires (or you have to invalidate the cache, which takes time and costs money).
upvoted 13 times
wassb
2 years, 6 months ago
Great clarification. tx
upvoted 1 times
...
...
pinhead900
Highly Voted 2 years, 7 months ago
Selected Answer: BDE
Should be BDE, as EC2 is a custom origin: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html#concept_CustomOrigin
upvoted 9 times
...
WhyIronMan
Most Recent 9 months, 3 weeks ago
Selected Answer: BEF
Should be BEF If you retain the same file name for each new application file, it will not cache the new file until the TTL of the cache expires or invalidate the cache
upvoted 1 times
...
dev112233xx
2 years ago
Selected Answer: BEF
BEF makes more sense to me
upvoted 1 times
...
AjayD123
2 years, 3 months ago
Selected Answer: BEF
Should be BEF
upvoted 1 times
...
nhatvu
2 years, 6 months ago
Selected Answer: BDE
Agree BDE
upvoted 1 times
...
JohnPi
2 years, 6 months ago
Selected Answer: BDE
The configuration typically changes each quarter.
upvoted 2 times
...
dcdcdc3
2 years, 7 months ago
Selected Answer: BEF
In support of sb333, AWS recommends filenames changed: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/UpdatingExistingObjects.html
upvoted 3 times
...
cloudude
2 years, 8 months ago
Selected Answer: ABD
agree ABD
upvoted 2 times
...
Rocketeer
2 years, 8 months ago
I think ABD
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