nerdexam
Amazon

DVA-C02 · Question #736

A developer needs to build and deploy a serverless application that has an API that mobile clients will use. The API will use Amazon DynamoDB and Amazon OpenSearch Service as data sources. Responses…

The correct answer is A. GraphQL API on AWS AppSync. Using AWS AppSync with a GraphQL API allows the developer to aggregate data from multiple sources (such as DynamoDB and OpenSearch Service) and return a single response to the client. This minimizes the number of API endpoints and API calls, making it ideal for mobile clients…

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

Question

A developer needs to build and deploy a serverless application that has an API that mobile clients will use. The API will use Amazon DynamoDB and Amazon OpenSearch Service as data sources. Responses that are sent to the clients will contain aggregated data from both data sources. The developer must minimize the number of API endpoints and must minimize the number of API calls that are required to retrieve the necessary data. Which solution should the developer use to meet these requirements?

Options

  • AGraphQL API on AWS AppSync
  • BREST API on Amazon API Gateway
  • CGraphQL API on an Amazon EC2 instance
  • DREST API on AWS Elastic Beanstalk

How the community answered

(28 responses)
  • A
    82% (23)
  • B
    4% (1)
  • C
    7% (2)
  • D
    7% (2)

Explanation

Using AWS AppSync with a GraphQL API allows the developer to aggregate data from multiple sources (such as DynamoDB and OpenSearch Service) and return a single response to the client. This minimizes the number of API endpoints and API calls, making it ideal for mobile clients requiring efficient data access.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice