HomeAWS Developer DVA-C02 PrepQuestions 11–20
AWS Developer DVA-C02 PrepPart 2 of 3

AWS Developer DVA-C02 Prep Exam Questions & Answers 2026 (11–20)

AWS Developer DVA-C02 Prep practice questions and answers 2026. Tap an option to test yourself — you'll see the correct answer and a plain-English explanation for every question. Free, no login.

Practise AWS Developer DVA-C02 Prep questions free, download the PDF, or unlock timed mock exams when you are ready.
Multiple choice — pick the best answer, then reveal it
  1. Q11Which CloudWatch feature can a developer use to create alerts when application errors exceed a certain threshold?

    • ACloudWatch Contributor Insights
    • BCloudWatch Alarms
    • CCloudWatch Events
    • DCloudWatch Dashboard
    Show answer

    ✓ Correct answer: B. CloudWatch Alarms

    CloudWatch Alarms can monitor metrics over specified time periods and trigger actions when thresholds are exceeded, making them ideal for alerting on application error rates.

  2. Q12When investigating why an AWS Lambda function is taking longer to execute than expected, which metric should a developer analyze first?

    • ADuration
    • BConcurrentExecutions
    • CIteratorAge
    • DDeadLetterErrors
    Show answer

    ✓ Correct answer: A. Duration

    The Duration metric provides information about how long a Lambda function execution takes, making it the most relevant metric to investigate execution time issues.

  3. Q13A developer is using AWS X-Ray to trace requests in a microservices application. What must be added to the application code to make this work?

    • ACloudWatch Logs agent
    • BAWS CLI configuration
    • CIAM user credentials
    • DInstrumentation with the X-Ray SDK
    Show answer

    ✓ Correct answer: D. Instrumentation with the X-Ray SDK

    The X-Ray SDK must be integrated into application code to capture and send trace data to the X-Ray service, enabling distributed tracing functionality.

  4. Q14Which technique can a developer use to improve the cold start performance of a Lambda function?

    • ASet function timeout to maximum value
    • BUse AWS Batch instead of Lambda
    • CEnable Provisioned Concurrency
    • DAlways use Python for Lambda functions
    Show answer

    ✓ Correct answer: C. Enable Provisioned Concurrency

    Provisioned Concurrency keeps Lambda functions initialized and ready to respond to requests, effectively eliminating cold starts for the specified concurrency level.

  5. Q15Which CloudWatch Logs feature should a developer use to extract structured data from unstructured logs?

    • ACloudWatch Log Groups
    • BCloudWatch Logs Insights with JSON parsing
    • CCloudWatch Logs Agent
    • DCloudWatch Export
    Show answer

    ✓ Correct answer: B. CloudWatch Logs Insights with JSON parsing

    CloudWatch Logs Insights supports JSON parsing using specialized syntax that can extract structured data from JSON-formatted logs, enabling analysis of specific fields.

  6. Q16Which AWS service can help a developer find unused or underutilized resources to optimize costs?

    • AAWS Trusted Advisor
    • BAmazon Inspector
    • CAWS CloudHSM
    • DAmazon Kinesis
    Show answer

    ✓ Correct answer: A. AWS Trusted Advisor

    AWS Trusted Advisor provides recommendations for optimizing AWS resources, including identifying idle or underutilized resources to help reduce costs.

  7. Q17A developer wants to reduce the latency of an application that frequently reads from an Amazon RDS database. Which caching solution should be implemented?

    • AAmazon S3 with versioning
    • BAWS AppSync
    • CAmazon MQ
    • DAmazon ElastiCache for Redis
    Show answer

    ✓ Correct answer: D. Amazon ElastiCache for Redis

    Amazon ElastiCache for Redis provides an in-memory data store that can be placed in front of RDS to cache frequently accessed data, reducing latency and database load.

  8. Q18What should a developer implement to correlate log entries across multiple services in a distributed application?

    • ALog rotation
    • BBinary logging
    • CCorrelation IDs in logs
    • DService mesh
    Show answer

    ✓ Correct answer: C. Correlation IDs in logs

    A correlation ID is a unique identifier passed between services that allows log entries from different components to be connected, facilitating troubleshooting across service boundaries.

  9. Q19Which CloudWatch feature allows a developer to search and analyze log data interactively?

    • ACloudWatch Container Insights
    • BCloudWatch Logs Insights
    • CCloudWatch Events
    • DCloudWatch Synthetics
    Show answer

    ✓ Correct answer: B. CloudWatch Logs Insights

    CloudWatch Logs Insights is a fully integrated query and visualization tool that allows developers to interactively search and analyze log data in CloudWatch Logs.

  10. Q20A developer needs to profile a Lambda function to identify performance issues. Which AWS service should be used?

    • AAWS Lambda Power Tuning
    • BAWS Compute Optimizer
    • CAmazon CodeGuru Profiler
    • DAWS Auto Scaling
    Show answer

    ✓ Correct answer: A. AWS Lambda Power Tuning

    AWS Lambda Power Tuning is an AWS Solution that helps developers optimize Lambda functions by running performance tests across different memory configurations to find the optimal settings.

Free practice here. Timed mocks when you are ready.

Use the free AWS Developer DVA-C02 Prep sample, download the PDF, then unlock web-based timed mock exams for a full exam rehearsal.