C Certs Club
Home
Oracle SAP Microsoft Cisco CompTIA Fortinet Salesforce Nutanix Linux Foundation Amazon View All Vendors →
Login Register

Amazon DVA-C02 - AWS Certified Developer - Associate Certification Exam

Download Exam View Entire Exam
Page: 1 / 2
Question #1 (Topic: demo questions)

Acompany is running a custom application on a set of on-premises Linux servers that are accessed
using Amazon API Gateway. AWS X-Ray tracing has been enabled on the API test stage.
How can a developer enable X-Ray tracing on the on-premises servers with the LEAST amount of
configuration?

A.
Install and run the X-Ray SDK on the on-premises servers to capture and relay the data to the XRay service.
B.
Install and run the X-Ray daemon on the on-premises servers to capture and relay the data to the
X-Ray service.
C.
Capture incoming requests on-premises and configure an AWS Lambda function to pull, process,
and relay relevant data to X-Ray using the PutTraceSegments API call.
D.
Capture incoming requests on-premises and configure an AWS Lambda function to pull, process,
and relay relevant data to X-Ray using the PutTelemetryRecords API call.
Correct Answer: B
Explanation:
The X-Ray daemon is a software that collects trace data from the X-Ray SDK and relays it to the X-Ray
service. The X-Ray daemon can run on any platform that supports Go, including Linux, Windows, and
macOS. The developer can install and run the X-Ray daemon on the on-premises servers to capture
and relay the data to the X-Ray service with minimal configuration. The X-Ray SDK is used to
instrument the application code, not to capture and relay data. The Lambda function solutions are
more complex and require additional configuration.
Reference:
[AWS X-Ray concepts - AWS X-Ray]
[Setting up AWS X-Ray - AWS X-Ray]
Question #2 (Topic: demo questions)

Adeveloper has an application that makes batch requests directly to Amazon DynamoDB by using
the BatchGetItem low-level API operation. The responses frequently return values in the
UnprocessedKeys element.
Which actions should the developer take to increase the resiliency of the application when the batch
response includes values in UnprocessedKeys? (Choose two.)

A.
Retry the batch operation immediately.
B.
Retry the batch operation with exponential backoff and randomized delay.
C.
Update the application to use an AWS software development kit (AWS SDK) to make the requests.
D.
Increase the provisioned read capacity of the DynamoDB tables that the operation accesses.
E.
Increase the provisioned write capacity of the DynamoDB tables that the operation accesses.
Correct Answer: B, C
Explanation:
The UnprocessedKeys element indicates that the BatchGetItem operation did not process all of the
requested items in the current response. This can happen if the response size limit is exceeded or if
the table’s provisioned throughput is exceeded. To handle this situation, the developer should retry
the batch operation with exponential backoff and randomized delay to avoid throttling errors and
reduce the load on the table. The developer should also use an AWS SDK to make the requests, as
the SDKs automatically retry requests that return UnprocessedKeys.
Reference:
[BatchGetItem - Amazon DynamoDB]
[Working with Queries and Scans - Amazon DynamoDB]
Question #3 (Topic: demo questions)

Adeveloper is creating an AWS CloudFormation template to deploy Amazon EC2 instances across
multiple AWS accounts. The developer must choose the EC2 instances from a list of approved
instance types.
How can the developer incorporate the list of approved instance types in the CloudFormation
template?

A.
Create a separate CloudFormation template for each EC2 instance type in the list.

B.

In the Resources section of the CloudFormation template, create resources for each EC2 instance

type in the list.
C.
In the CloudFormation template, create a separate parameter for each EC2 instance type in the
list.
D.
In the CloudFormation template, create a parameter with the list of EC2 instance types as
AllowedValues.
Correct Answer: D
Explanation:
In the CloudFormation template, the developer should create a parameter with the list of approved
EC2 instance types as AllowedValues. This way, users can select the instance type they want to use
when launching the CloudFormation stack, but only from the approved list.
Question #4 (Topic: demo questions)

Adeveloper has created an AWS Lambda function that is written in Python. The Lambda function
reads data from objects in Amazon S3 and writes data to an Amazon DynamoDB table. The function is
successfully invoked from an S3 event notification when an object is created. However, the function
fails when it attempts to write to the DynamoDB table.
What is the MOST likely cause of this issue?


A.
The Lambda function's concurrency limit has been exceeded.

B.
DynamoDB table requires a global secondary index (GSI) to support writes.

C.
The Lambda function does not have IAM permissions to write to DynamoDB.

D.
The DynamoDB table is not running in the same Availability Zone as the Lambda function.
Correct Answer: C
Explanation:
The most likely cause is that the AWS Lambda function does not have the required IAM permissions to write to the Amazon DynamoDB table. While the function is successfully triggered by the Amazon S3 event notification, which indicates that its basic execution role and S3 permissions are correct, the failure occurs specifically when attempting a DynamoDB write operation. This strongly points to missing or insufficient permissions in the Lambda execution role, such as lacking dynamodb:PutItem, UpdateItem, or Write access on the table. In AWS, Lambda functions must explicitly be granted IAM permissions for every service they interact with, and without proper DynamoDB permissions, write operations will fail even though the function itself runs successfully.
Question #5 (Topic: demo questions)

Acompany is building a scalable data management solution by using AWS services to improve the
speed and agility of development. The solution will ingest large volumes of data from various sources
and will process this data through multiple business rules and transformations.
The solution requires business rules to run in sequence and to handle reprocessing of data if errors
occur when the business rules run. The company needs the solution to be scalable and to require the
least possible maintenance.
Which AWS service should the company use to manage and automate the orchestration of the data
flows to meet these requirements?


A.
AWS Batch

B.
AWS Step Functions

C.
AWS Glue
D.
AWS Lambda
Next Question
Correct Answer: B
Explanation:
The requirement is to orchestrate a scalable data pipeline where multiple business rules and transformations must run in a specific sequence, with built-in support for error handling and reprocessing when failures occur. AWS Step Functions is designed exactly for this use case because it allows you to build state machines that coordinate multiple AWS services (like Lambda, Glue, or Batch) in a controlled workflow with retries, error handling, and step-by-step execution. It is highly scalable, fully managed, and requires minimal operational maintenance, making it ideal for orchestrating complex data flows.