exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 125 discussion

A developer is creating an AWS Serverless Application Model (AWS SAM) template. The AWS SAM template contains the definition of multiple AWS Lambda functions, an Amazon S3 bucket, and an Amazon CloudFront distribution. One of the Lambda functions runs on Lambda@Edge in the CloudFront distribution. The S3 bucket is configured as an origin for the CloudFront distribution.

When the developer deploys the AWS SAM template in the eu-west-1 Region, the creation of the stack fails.

Which of the following could be the reason for this issue?

  • A. CloudFront distributions can be created only in the us-east-1 Region.
  • B. Lambda@Edge functions can be created only in the us-east-1 Region.
  • C. A single AWS SAM template cannot contain multiple Lambda functions.
  • D. The CloudFront distribution and the S3 bucket cannot be created in the same Region.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
MrTee
Highly Voted 1 year, 6 months ago
Selected Answer: B
it must be deployed to a region where Lambda@Edge is supported, such as us-east-1.
upvoted 12 times
...
zodraz
Highly Voted 1 year, 5 months ago
Selected Answer: B
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-restrictions.html The Lambda function must be in the US East (N. Virginia) Region.
upvoted 9 times
...
sumanshu
Most Recent 3 months, 4 weeks ago
Selected Answer: B
A) Eliminated - CloudFront is a global service that is not tied to a specific region. When creating a CloudFront distribution, the deployment can originate from any AWS region (e.g., eu-west-1). B) Correct - Lambda@Edge functions must be deployed in the us-east-1 Region because they are globally replicated and integrated with CloudFront.
upvoted 1 times
...
65703c1
5 months ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
SD_CS
8 months, 3 weeks ago
Selected Answer: B
B is the only answer that makes sense
upvoted 1 times
...
KarBiswa
10 months, 1 week ago
Selected Answer: B
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-how-it-works-tutorial.html clear mention
upvoted 1 times
...
tinyflame
1 year, 2 months ago
Selected Answer: B
SAM can only specify one region Langda@Edge only in us-east1 region https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-how-it-works-tutorial.html
upvoted 1 times
...
loctong
1 year, 5 months ago
Selected Answer: C
Option A states that CloudFront distributions can only be created in the us-east-1 Region. This statement is incorrect because CloudFront distributions can be created in various AWS regions, including the eu-west-1 Region.
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