nerdexam
Amazon

DVA-C02 · Question #593

A developer needs to set up an API to provide access to an application and its resources. The developer has a TLS certificate. The developer must have the ability to change the default base URL of the

The correct answer is C. Create an Amazon API Gateway REST API. Use the edge-optimized endpoint type. Import the. Edge-Optimized API Gateway: This endpoint type automatically leverages the Amazon CloudFront global distribution network, minimizing latency for API users distributed globally. Custom Domain Name: API Gateway supports custom domain names for APIs. Importing the TLS certificate in

Submitted by renata2k· Mar 5, 2026Development with AWS Services

Question

A developer needs to set up an API to provide access to an application and its resources. The developer has a TLS certificate. The developer must have the ability to change the default base URL of the API to a custom domain name. The API users are distributed globally. The solution must minimize API latency. Which solution will meet these requirements?

Options

  • ACreate an Amazon CloudFront distribution that uses an AWS Lambda@Edge function to process
  • BCreate an Amazon API Gateway REST API. Use the private endpoint type. Import the TLS
  • CCreate an Amazon API Gateway REST API. Use the edge-optimized endpoint type. Import the
  • DCreate an Amazon CloudFront distribution that uses CloudFront Functions to process API

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    10% (5)
  • C
    84% (43)
  • D
    4% (2)

Explanation

Edge-Optimized API Gateway: This endpoint type automatically leverages the Amazon CloudFront global distribution network, minimizing latency for API users distributed globally. Custom Domain Name: API Gateway supports custom domain names for APIs. Importing the TLS certificate into AWS Certificate Manager (ACM) and associating it with the custom domain name ensures secure connections. Disabling the Default Endpoint: Prevents direct access via the default API Gateway URL, enforcing the use of the custom domain name.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice