Skip to content

DVA-C03 Practice Exam 2: E-commerce APIs

AWS Certified Developer – Associate. 65 questions, 5 with more than one correct answer. Real exam: 65 questions (50 scored, 15 unscored), multiple choice and multiple response, 130 minutes, pass at a scaled 720 / 1,000. DVA-C03 replaces DVA-C02 from December 2026.

Independent practice questions by Core Concept Learning, written from the public exam guide; not official AWS content. Study the free DVA-C03 course

Study mode: check any answer as you go. Or practise under exam conditions: 130 minutes, answers hidden until you submit.

x
0/65
  1. Question 1

    Domain 1: Development with AWS Services · Task 1.1

    A checkout service calls inventory, payment and shipping services one after another in the same request, so one slow service blocks every order. Shipping can happen later. Which change decouples it BEST?

  2. Question 2

    Domain 1: Development with AWS Services · Task 1.1

    An order service must route events by content: orders over $1,000 to fraud review, international orders to customs, and all orders to analytics, without code in the producer. Which service fits BEST?

  3. Question 3

    Domain 1: Development with AWS Services · Task 1.1

    A cart API must transform a legacy client's XML request into JSON before invoking a Lambda function, without changing the function. Which API Gateway feature fits?

  4. Question 4

    Domain 1: Development with AWS Services · Task 1.1

    A product catalog service occasionally depends on a recommendations API that fails. The product page should still load without recommendations when that happens. Which approach fits BEST?

  5. Question 5

    Domain 1: Development with AWS Services · Task 1.1

    A developer stores a binary product image inside a JSON message sent to SQS. What must the code do so the payload is valid?

  6. Question 6

    Domain 1: Development with AWS Services · Task 1.1

    An order export file of 2 GB must be uploaded to S3 from an application reliably, resuming after network errors. What should the code use?

  7. Question 7

    Domain 1: Development with AWS Services · Task 1.1

    Clickstream events from a storefront must be delivered to S3 in batches, converted to Parquet, with no consumer code to maintain. Which service fits BEST?

  8. Question 8

    Domain 1: Development with AWS Services · Task 1.1

    A team wants an AI assistant in its IDE to review pull requests for bugs and security issues and suggest refactoring before human review. Which in-scope AWS tool fits?

  9. Question 9

    Domain 1: Development with AWS Services · Task 1.1

    A shop wants a product Q&A assistant that answers from its own product manuals with citations, without managing embeddings. Which approach fits BEST?

  10. Question 10

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function in a VPC must write to an S3 bucket. The VPC has no NAT gateway, and security doesn't want internet egress. What should the developer add?

  11. Question 11

    Domain 1: Development with AWS Services · Task 1.2

    A checkout function's configuration must differ between staging and production (table name, log level). The code must stay identical. What should the developer use?

  12. Question 12

    Domain 1: Development with AWS Services · Task 1.2

    A payment function must never run more than 50 concurrent executions, to protect a payment provider's rate limit. What should the developer configure?

  13. Question 13

    Domain 1: Development with AWS Services · Task 1.2

    An order function invoked asynchronously by EventBridge must send successful results to an analytics queue and failures to an alerts topic, without code changes. What should the developer configure?

  14. Question 14

    Domain 1: Development with AWS Services · Task 1.2

    A Lambda function triggered by an SQS queue processes only messages where eventType is 'refund'. Other messages should not invoke the function at all. What should the developer configure?

  15. Question 15

    Domain 1: Development with AWS Services · Task 1.2

    A team wants a simple HTTPS endpoint for a webhook handler implemented in one Lambda function, with no API Gateway features needed. What should the developer use?

  16. Question 16

    Domain 1: Development with AWS Services · Task 1.3

    A cart service stores carts that must vanish 7 days after last update, and old order receipts in S3 must move to cheaper storage after 90 days and be deleted after 7 years. Which TWO features fit? Select TWO.

    Choose 2.

  17. Question 17

    Domain 1: Development with AWS Services · Task 1.3

    An orders table uses customerId as the partition key and orderDate as the sort key. Which operation efficiently returns one customer's orders from the last 30 days?

  18. Question 18

    Domain 1: Development with AWS Services · Task 1.3

    A product catalog is read heavily from Aurora MySQL, and items change a few times a day. The team wants to cut database reads with an in-memory cache that only stores items when requested. Which strategy fits?

  19. Question 19

    Domain 1: Development with AWS Services · Task 1.3

    A developer needs strongly consistent reads of order status by an attribute that isn't the table key. The table is being designed now. What should the developer choose?

  20. Question 20

    Domain 1: Development with AWS Services · Task 1.3

    An app writes 120 items per second to DynamoDB, each 2.5 KB, in provisioned mode. How many WCUs are needed?

  21. Question 21

    Domain 2: Security · Task 2.1

    A storefront uses a Cognito user pool. API Gateway must reject requests without a valid user pool token, with no custom code. What should the developer configure?

  22. Question 22

    Domain 2: Security · Task 2.1

    Merchants must download sales reports from a private bucket through CloudFront. Each link must expire after one hour, and the bucket must only be readable by CloudFront. Which TWO measures fit? Select TWO.

    Choose 2.

  23. Question 23

    Domain 2: Security · Task 2.1

    A developer's laptop scripts call AWS. Security forbids long-term access keys and requires short-lived credentials from the company's SSO. What should the developer use?

  24. Question 24

    Domain 2: Security · Task 2.1

    A payments function must be callable only by principals who signed in with MFA. Which policy condition key enforces this?

  25. Question 25

    Domain 2: Security · Task 2.1

    Each seller in a marketplace must only read and write items in a DynamoDB table whose partition key equals their own seller ID, using temporary credentials from Cognito. Which condition key enforces this?

  26. Question 26

    Domain 2: Security · Task 2.1

    A developer writes a custom HTTP client in a language without an AWS SDK to call an API Gateway API protected by IAM authorization. What must the client do?

  27. Question 27

    Domain 2: Security · Task 2.2

    Order PDFs must be encrypted at rest in S3 with a key the company controls, and every decryption must appear in CloudTrail. What should the developer configure?

  28. Question 28

    Domain 2: Security · Task 2.2

    A checkout app must decrypt a data key that was encrypted with KMS and stored with each record. Which KMS API call does the code make?

  29. Question 29

    Domain 2: Security · Task 2.2

    A team stores the payment provider's API key, which must rotate every 60 days with a custom Lambda rotation function. Which service fits BEST?

  30. Question 30

    Domain 2: Security · Task 2.2

    A storefront's ALB must serve HTTPS for shop.example.com with a certificate that renews automatically at no extra cost. What should the developer use?

  31. Question 31

    Domain 2: Security · Task 2.2

    Customer addresses must be encrypted in the browser before they reach the backend, so plaintext never exists in AWS. Which approach fits?

  32. Question 32

    Domain 2: Security · Task 2.2

    A developer needs to SSH into a test EC2 instance occasionally but security wants no inbound port 22 and no key pairs to manage. What should the developer use?

  33. Question 33

    Domain 2: Security · Task 2.3

    A store adds Amazon Bedrock to generate product descriptions. The security team must make sure prompts and outputs aren't used to train the models. What should the developer tell them?

  34. Question 34

    Domain 2: Security · Task 2.3

    A shopping assistant on Bedrock must never mention competitor brands and must block attempts to make it ignore its instructions. Which feature fits BEST?

  35. Question 35

    Domain 2: Security · Task 2.3

    An order-support agent built with AgentCore can call a refund tool and an order lookup tool. Which TWO practices reduce risk? Select TWO.

    Choose 2.

  36. Question 36

    Domain 2: Security · Task 2.3

    A developer must let only the AI team's role invoke Bedrock models in an account, while other roles are blocked. Where should this be enforced?

  37. Question 37

    Domain 2: Security · Task 2.3

    Customer chats with an AI assistant are logged for troubleshooting. Logs must not expose card numbers to developers who read them. What should the developer configure?

  38. Question 38

    Domain 3: Testing and Deployment · Task 3.1

    A team's ECR repository fills with untagged images from CI builds, increasing storage cost. What should the developer configure?

  39. Question 39

    Domain 3: Testing and Deployment · Task 3.1

    A Dockerfile for a checkout service copies the whole build toolchain into the final image, making it 2 GB. What should the developer do?

  40. Question 40

    Domain 3: Testing and Deployment · Task 3.1

    A team wants feature flags for a new checkout flow, rolled out gradually to production with automatic rollback if an alarm fires, without redeploying code. Which service fits BEST?

  41. Question 41

    Domain 3: Testing and Deployment · Task 3.1

    An API has dev, test and prod stages. Mobile testers keep hitting prod by mistake. What gives each environment a distinct invoke URL with one API definition?

  42. Question 42

    Domain 3: Testing and Deployment · Task 3.2

    A developer wants to run the API Gateway and Lambda checkout API on a laptop for quick testing before deploying. Which command fits BEST?

  43. Question 43

    Domain 3: Testing and Deployment · Task 3.2

    A payment partner's sandbox is unreliable, blocking integration tests. Tests need predictable responses for success and decline cases. What should the developer create?

  44. Question 44

    Domain 3: Testing and Deployment · Task 3.2

    A team uses AWS Amplify Hosting for its storefront front end and wants every feature branch deployed to its own preview environment automatically. What should the developer use?

  45. Question 45

    Domain 3: Testing and Deployment · Task 3.2

    A team wants an AI tool to generate unit tests for new checkout code, run them, and summarize failures as part of development. Which approach fits BEST?

  46. Question 46

    Domain 3: Testing and Deployment · Task 3.3

    A team runs its order API on ECS Fargate and wants new versions to receive traffic gradually, rolling back automatically when alarms fire. Which approach fits BEST?

  47. Question 47

    Domain 3: Testing and Deployment · Task 3.3

    A CodeBuild project must run unit tests before packaging. In which buildspec phase should the test command run?

  48. Question 48

    Domain 3: Testing and Deployment · Task 3.3

    A SAM template uses AWS::Serverless::Function resources. What happens when the template is deployed?

  49. Question 49

    Domain 3: Testing and Deployment · Task 3.3

    A team wants each production release traceable to a source version, so it can redeploy any earlier release exactly. What source control practice fits BEST?

  50. Question 50

    Domain 3: Testing and Deployment · Task 3.3

    An API Gateway REST API must send 5% of production traffic to a new deployment for testing before promotion. Which feature fits?

  51. Question 51

    Domain 3: Testing and Deployment · Task 3.3

    A CloudFormation stack update must roll back automatically if an application error alarm fires during the update window. What should the developer configure?

  52. Question 52

    Domain 4: Troubleshooting and Optimization · Task 4.1

    An order function returns AccessDeniedException when calling KMS Decrypt, though its IAM role allows kms:Decrypt. What should the developer check NEXT?

  53. Question 53

    Domain 4: Troubleshooting and Optimization · Task 4.1

    Shoppers report intermittent 504 errors from an API Gateway endpoint backed by Lambda. Which metric MOST directly confirms the cause?

  54. Question 54

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A Kinesis consumer Lambda function falls behind, and the IteratorAge metric keeps growing. What does this indicate?

  55. Question 55

    Domain 4: Troubleshooting and Optimization · Task 4.1

    A developer must find the slowest 1% of checkout requests in logs that include a duration field, grouped by payment method. Which tool fits BEST?

  56. Question 56

    Domain 4: Troubleshooting and Optimization · Task 4.1

    During an incident, the team wants AI-generated hypotheses that correlate recent deployments, metrics, logs and traces to suggest a likely root cause. Which feature fits BEST?

  57. Question 57

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A team wants an alert when its Lambda concurrency in the Region approaches the account limit, before throttling starts. What should the developer configure?

  58. Question 58

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A developer needs per-request tracing across API Gateway, Lambda and DynamoDB for a new service and wants vendor-neutral instrumentation for the future. What should they use?

  59. Question 59

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A team wants dashboards of latency, errors and SLO attainment for each service and operation with minimal instrumentation work. Which feature fits BEST?

  60. Question 60

    Domain 4: Troubleshooting and Optimization · Task 4.2

    Pods of a checkout service on EKS sometimes start before their caches load, receiving traffic too early. What should the developer configure?

  61. Question 61

    Domain 4: Troubleshooting and Optimization · Task 4.2

    A team wants to count checkout failures by error type as a CloudWatch metric, derived from existing log lines without changing code. What should the developer create?

  62. Question 62

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A flash sale causes a Lambda function to scale to 3,000 concurrent executions, overwhelming the downstream inventory database. Which TWO changes protect the database? Select TWO.

    Choose 2.

  63. Question 63

    Domain 4: Troubleshooting and Optimization · Task 4.3

    An order-processing worker sends one SQS message per order line, millions per day, and API costs are high. What should the developer change?

  64. Question 64

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A product API on API Gateway serves the same GET responses thousands of times per minute, and data changes hourly. Which TWO caches reduce backend load? Select TWO.

    Choose 2.

  65. Question 65

    Domain 4: Troubleshooting and Optimization · Task 4.3

    A team wants data-driven recommendations for the best memory settings of its 200 Lambda functions based on actual usage. Which service fits BEST?

65 questions unanswered; they count as wrong.

Video walkthrough

Try the exam first, then watch every question worked through.