Course menuDVA-C03

Exams / DVA-C03 / Certificates and encryption in transit / Question 1

DVA-C03 practice question: Certificates and encryption in transit (1 of 2)

Security A free question from our original DVA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A developer is setting up api.example.com as a custom domain name for an edge-optimized REST API deployed in eu-west-2.

A public certificate for the name was issued in AWS Certificate Manager (ACM) in eu-west-2, but API Gateway does not offer it when the custom domain is created. The API must stay edge-optimized.

What should the developer do?

Choose one answer.

  1. A. Request a public certificate for api.example.com in ACM in us-east-1 and select it for the custom domain.
  2. B. Change the API's endpoint type to Regional so that the eu-west-2 certificate can be used.
  3. C. Request a private certificate for the name from AWS Private CA in eu-west-2 and select that one.
  4. D. Keep the certificate in eu-west-2 and wait for ACM to replicate it to the API's CloudFront distribution.
Show the answer and explanation

Answer: A

Explanation

An edge-optimized API uses a CloudFront distribution, and API Gateway requires its custom domain certificate to be requested or imported in us-east-1, whatever Region the API is in. Moving the certificate between Regions is not automatic, and switching to a Regional endpoint would break the requirement to stay edge-optimized.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Certificates and encryption in transit? The 5 full-length practice sets have 9 more Certificates and encryption in transit questions, 390 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets