🗄️ Amazon DynamoDB - DVA-C02 Practice Questions

Study DynamoDB tables, partition keys, sort keys, secondary indexes (GSI/LSI), capacity modes, DynamoDB Streams, TTL, transactions, DAX, and query/scan optimization.

20Questions Available
2Exam Domains

Practice DynamoDB Questions Now

Start a timed practice session focusing on Amazon DynamoDB topics from the DVA-C02 question bank.

Start DVA-C02 Practice Quiz →

DVA-C02 DynamoDB Question Bank (20 Questions)

Browse all 20 practice questions covering Amazon DynamoDB for the DVA-C02 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Development with AWS Services

    A developer is building a serverless API backed by Amazon DynamoDB. They need to efficiently retrieve items by a composite key. Which DynamoDB key type allows queries on both partition key and sort key?

    AGlobal Secondary Index
    BLocal Secondary Index
    CComposite primary key (partition key + sort key)
    DScan operation with filter

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  2. Question 2Troubleshooting and Optimization

    A developer finds that their DynamoDB table's 'Scan' operations are consuming excessive read capacity. What is the recommended optimization?

    AIncrease read capacity units
    BReplace Scan with Query using proper partition and sort keys, or add a GSI
    CSwitch to a SQL database
    DUse DynamoDB Streams

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  3. Question 3Development with AWS Services

    A developer uses DynamoDB TransactWriteItems to update two tables atomically. If the transaction fails, what happens?

    AOne table is updated and the other is rolled back
    BBoth updates are rolled back — no partial changes are applied
    CDynamoDB retries automatically until success
    DThe last write wins

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  4. Question 4Development with AWS Services

    Which DynamoDB write capacity mode automatically scales to handle unpredictable traffic spikes without provisioning?

    AProvisioned mode with Auto Scaling
    BOn-Demand mode
    CReserved capacity mode
    DBurst capacity mode

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  5. Question 5Development with AWS Services

    Which DynamoDB read consistency option provides the most up-to-date data but consumes more read capacity?

    AEventually consistent reads
    BStrongly consistent reads
    CTransactional reads
    DBatch reads

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  6. Question 6Development with AWS Services

    A developer wants to use DynamoDB Streams to replicate changes to another AWS region. What is the recommended approach?

    AUse DynamoDB Global Tables
    BTrigger a Lambda from the stream and write to the secondary region
    CUse S3 Cross-Region Replication
    DUse AWS DataSync

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  7. Question 7Development with AWS Services

    A developer wants to use DynamoDB Streams to trigger downstream processing whenever an item is inserted. Which trigger mechanism is BEST?

    AS3 event notification
    BLambda event source mapping on the DynamoDB Stream
    CCloudWatch Events rule
    DSQS queue connected to DynamoDB

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  8. Question 8Development with AWS Services

    A developer wants to perform a transactional read of 2 DynamoDB items atomically. Which API should they use?

    ABatchGetItem
    BTransactGetItems
    CGetItem with consistent reads
    DQuery with FilterExpression

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  9. Question 9Development with AWS Services

    A developer uses DynamoDB and needs to query items within a sort key range. Which API and expression achieves this?

    AScan with FilterExpression on the sort key
    BQuery with KeyConditionExpression using BETWEEN or comparison operators on the sort key
    CGetItem with a range condition
    DBatchGetItem with sort key filter

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  10. Question 10Troubleshooting and Optimization

    A developer wants to trace requests through a distributed application consisting of API Gateway, Lambda, and DynamoDB to identify performance bottlenecks. Which service provides end-to-end request tracing?

    AAmazon CloudWatch
    BAWS CloudTrail
    CAWS X-Ray
    DAmazon Inspector

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  11. Question 11Development with AWS Services

    A DynamoDB table uses a composite primary key. A developer wants to query all orders for a specific customer sorted by order date. Which combination of keys is correct?

    APartition key: order_id, Sort key: customer_id
    BPartition key: customer_id, Sort key: order_date
    CPartition key: order_date, Sort key: customer_id
    DPartition key: customer_id with no sort key

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  12. Question 12Development with AWS Services

    A developer is using the AWS SDK for Python (boto3) and receives a 'ThrottlingException' when calling DynamoDB. What is the recommended handling strategy?

    ARetry immediately without delay
    BImplement exponential backoff with jitter
    CSwitch to a synchronous batch operation
    DIncrease the read capacity units immediately

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  13. Question 13Troubleshooting and Optimization

    A DynamoDB table is experiencing hot partition issues because most reads target a single item (e.g., a popular product). What is the BEST mitigation?

    ASwitch to a scan operation
    BAdd a DAX cluster in front of DynamoDB
    CIncrease the table's provisioned throughput
    DAdd a Global Secondary Index

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  14. Question 14Development with AWS Services

    A developer uses DynamoDB with a GSI. They query the GSI but some recently written items are missing. What is the cause?

    AGSI reads are eventually consistent and may not reflect the latest writes
    BThe GSI has insufficient read capacity
    CGSIs only work with strongly consistent reads
    DGSI updates are delayed by 1 hour

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  15. Question 15Security

    A developer needs to restrict access to a DynamoDB table so that users can only read their own items. Which feature enables row-level access control?

    ADynamoDB resource policy
    BIAM condition keys like dynamodb:LeadingKeys with Cognito identity
    CVPC endpoint policy
    DDynamoDB encryption

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  16. Question 16Troubleshooting and Optimization

    A DynamoDB table uses provisioned throughput. The developer notices UnprocessedKeys in BatchGetItem responses. What does this indicate?

    AThe items don't exist in the table
    BThe batch consumed more RCUs than available — items were not read and must be retried
    CThe query filter excluded some items
    DThe GSI didn't include all items

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  17. Question 17Development with AWS Services

    A developer needs to implement an API that returns data from DynamoDB. Occasionally the same data is requested thousands of times per second. What should they add to avoid DynamoDB throttling?

    AIncrease DynamoDB RCU
    BAdd a DAX cluster between the application and DynamoDB
    CUse DynamoDB On-Demand mode
    DAdd a Global Secondary Index

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  18. Question 18Troubleshooting and Optimization

    A developer uses X-Ray and notices a high number of 'ThrottleCount' errors on DynamoDB segments. What action should they take?

    AIncrease Lambda timeout
    BAdd a DAX cache or increase DynamoDB capacity; implement exponential backoff
    CEnable DynamoDB point-in-time recovery
    DSwitch to SQS-based writes

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  19. Question 19Troubleshooting and Optimization

    A developer wants to ensure their application gracefully handles DynamoDB throttling without losing writes. Which pattern is BEST?

    ARetry failed writes immediately in a loop
    BWrite failed items to an SQS queue and process them asynchronously with exponential backoff
    CIncrease DynamoDB WCU immediately
    DSwitch to S3 for writes

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  20. Question 20Troubleshooting and Optimization

    A developer uses CloudWatch and wants to create a composite alarm that only fires when BOTH a Lambda error rate AND a DynamoDB throttle alarm are active. Which CloudWatch feature enables this?

    ACloudWatch metric math with SUM
    BCloudWatch Composite Alarms
    CCloudWatch multi-metric alarm
    DCloudWatch dashboard with linked alarms

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz

Key DynamoDB Concepts for DVA-C02

dynamodbtablepartition keysort keygsilsistreamsdaxttltransactioncapacityon-demand

DVA-C02 DynamoDB Exam Tips

Amazon DynamoDB questions in DVA-C02 are typically scenario-based. Focus on application development patterns, event-driven integration, and secure coding on AWS. Priority concepts: dynamodb, table, partition key, sort key, gsi, lsi.

What DVA-C02 Expects

  • Anchor your answer in select developer-friendly managed services and patterns that minimize custom undifferentiated code.
  • DynamoDB scenarios for DVA-C02 are frequently mapped to Domain 1 (32%), Domain 4 (18%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where DynamoDB interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated question.
  • When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.

High-Value DynamoDB Concepts

  • Know the core DynamoDB building blocks cold: dynamodb, table, partition key, sort key.
  • Review the edge-case features and limits for gsi, lsi; these details are commonly used to differentiate answer choices.
  • Practice service-integration reasoning: how DynamoDB pairs with Lambda, API Gateway, ElastiCache in real deployment patterns.
  • For DVA-C02, explain why the chosen DynamoDB design meets reliability, security, and cost expectations better than the alternatives.

Common DVA-C02 Traps

  • Watch for using infrastructure-centric answers instead of application-centric ones.
  • Questions in Development with AWS Services often include distractors that look correct for DynamoDB but violate least-privilege, durability, or availability requirements.
  • Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
  • If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.

Fast Review Checklist

  • Can you compare at least two DynamoDB implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to Development with AWS Services (32%) outcomes for DVA-C02?
  • Can you explain security and access boundaries for DynamoDB without relying on default-open assumptions?
  • Can you describe how DynamoDB integrates with Lambda and API Gateway during failure, scaling, and monitoring events?

Exam Domains Covering DynamoDB

Related Resources

More DVA-C02 Study Resources