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 33 discussion

A developer is creating an application that includes an Amazon API Gateway REST API in the us-east-2 Region. The developer wants to use Amazon CloudFront and a custom domain name for the API. The developer has acquired an SSL/TLS certificate for the domain from a third-party provider.
How should the developer configure the custom domain for the application?

  • A. Import the SSL/TLS certificate into AWS Certificate Manager (ACM) in the same Region as the API. Create a DNS A record for the custom domain.
  • B. Import the SSL/TLS certificate into CloudFront. Create a DNS CNAME record for the custom domain.
  • C. Import the SSL/TLS certificate into AWS Certificate Manager (ACM) in the same Region as the API. Create a DNS CNAME record for the custom domain.
  • D. Import the SSL/TLS certificate into AWS Certificate Manager (ACM) in the us-east-1 Region. Create a DNS CNAME record for the custom domain.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
brandon87
Highly Voted 1 year, 6 months ago
Selected Answer: D
To use a certificate in AWS Certificate Manager (ACM) to require HTTPS between viewers and CloudFront, make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html
upvoted 31 times
...
ancomedian
Highly Voted 1 year, 3 months ago
Selected Answer: D
I have checked at various places Answer is D Reason: ACM just can only import certificate in us-east-1 and we need to associate the imported certificate with us-east-2 The caused confusion regarding it is because of import and associate Crux: we will import in us-east-1 but use in us-east-2
upvoted 9 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: D
ACM certificates must reside in us-east-1 for CloudFront, not the same Region as the API (us-east-2 in this case).
upvoted 1 times
...
65703c1
5 months, 1 week ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
fhuadeen
6 months, 3 weeks ago
Selected Answer: D
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html
upvoted 1 times
...
AjeshA1990
9 months, 2 weeks ago
Import cert in the same region
upvoted 1 times
...
Jonalb
1 year ago
D. Importe o certificado SSL/TLS para o AWS Certificate Manager (ACM) na região us-east-1. Crie um registro DNS CNAME para o domínio personalizado.
upvoted 1 times
...
fossil123
1 year, 1 month ago
Selected Answer: D
AWS Region for AWS Certificate Manager To use a certificate in AWS Certificate Manager (ACM) to require HTTPS between viewers and CloudFront, make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1).
upvoted 2 times
...
acordovam
1 year, 3 months ago
Selected Answer: D
D If you need to use CloudFront, then, you must import it into ue-east-1. https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
upvoted 3 times
...
Pupina
1 year, 3 months ago
Selected Answer: D A is not right because for cloudfront you create a CNMA not a DNS A https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html C is not right because ACM cannot import certificates in us-east-2 https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html B is not right. The certificate is for an external CA but can be uploaded to ACM or you must request a public certificate from AWS certificate Manager https://repost.aws/knowledge-center/install-ssl-cloudfront but you cannot import the certificate into CloudFront
upvoted 3 times
...
rlnd2000
1 year, 4 months ago
Selected Answer: C
C The first statement of the question: A developer is creating an application that includes an Amazon API Gateway REST API in the us-east-2 Region. ... it is a Regional API, when using a Regional endpoint, the SSL/TLS certificate for the custom domain must be imported into AWS Certificate Manager (ACM) in the same Region as the API, only if we use g Edge-Optimized endpoint, the certificate must be in us-east-1.
upvoted 2 times
KarBiswa
10 months, 2 weeks ago
Initially I also thought but it is a specific hard core requirement "To use an ACM certificate with CloudFront, make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1)."
upvoted 1 times
...
...
peterpain
1 year, 5 months ago
Selected Answer: D
The ACM has to be implemented at US-East-1
upvoted 3 times
...
Bibay
1 year, 5 months ago
Selected Answer: C
To use Amazon CloudFront and a custom domain name for an Amazon API Gateway REST API, the developer should import the SSL/TLS certificate into AWS Certificate Manager (ACM) in the same Region as the API, and create a DNS CNAME record for the custom domain. This is because AWS Certificate Manager can only issue SSL/TLS certificates in the same Region as the API, and a DNS CNAME record maps the custom domain to the CloudFront distribution. Option A is incorrect because a DNS A record is not sufficient to map the custom domain to the CloudFront distribution. Option B is incorrect because AWS Certificate Manager must issue the SSL/TLS certificate in the same Region as the API. Option D is incorrect because the SSL/TLS certificate must be issued in the same Region as the API, and a DNS CNAME record is required to map the custom domain to the CloudFront distribution.
upvoted 5 times
...
KhyatiChhajed
1 year, 5 months ago
Selected Answer: C
C. Import the SSL/TLS certificate into AWS Certificate Manager (ACM) in the same Region as the API. Create a DNS CNAME record for the custom domain. Explanation: Amazon CloudFront can use SSL/TLS certificates stored in AWS Certificate Manager (ACM) to provide secure HTTPS connections for custom domain names. In this scenario, the developer should import the SSL/TLS certificate acquired from a third-party provider into ACM in the same Region as the API (us-east-2 in this case). This allows the certificate to be used by CloudFront.
upvoted 1 times
...
hanJR
1 year, 6 months ago
It's D. It is trying to integrate with CloudFront, therefore it must upload certificates in us-east-1. If it was a regional API, then certificates must be uploaded in the same region of the API Gateway.
upvoted 1 times
...
March2023
1 year, 7 months ago
Selected Answer: C
I was thinking this answer would be C
upvoted 1 times
...
Untamables
1 year, 7 months ago
Selected Answer: D
The correct answer is D. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html
upvoted 8 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