About this exam
DVA-C02 is the Amazon exam AWS Certified Developer - Associate.
Paid practice material for this exam is not available yet, but you can try its free sample questions.
- Exam code
- DVA-C02
- Vendor
- Amazon
- Practice questions
- Not available yet
- Free sample questions
- 8
- Question bank last updated
- Not available yet
Try 2 sample questions
Taken from the free sample set for DVA-C02.
Question 1
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?
- AOption A:
Install and run the X-Ray SDK on the on-premises servers to capture and relay the data to the XRay service.
- BOption B:
Install and run the X-Ray daemon on the on-premises servers to capture and relay the data to the
X-Ray service.
- COption 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.
- DOption 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.
Show answer and explanation
Correct answer: B
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 (choose 2)
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.)
- AOption A:
Retry the batch operation immediately.
- BOption B:
Retry the batch operation with exponential backoff and randomized delay.
- COption C:
Update the application to use an AWS software development kit (AWS SDK) to make the requests.
- DOption D:
Increase the provisioned read capacity of the DynamoDB tables that the operation accesses.
- EOption E:
Increase the provisioned write capacity of the DynamoDB tables that the operation accesses.
Show answer and explanation
Correct answer: B, C
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]
See all 8 free sample questions