DVA-C03 Practice Exam 9: Generative AI applications
AWS Certified Developer – Associate. 65 questions, 14 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.
Question 1
Domain 1: Development with AWS Services · Task 1.1Users of a document summarizer wait 40 seconds on a spinning page while a model processes long PDFs, and the browser sometimes gives up. What should the developer change?
Question 2
Domain 1: Development with AWS Services · Task 1.1A chat app's answers appear only after the whole response is generated, which feels slow. The team wants words to appear as they're produced. Which Bedrock API pattern fits?
Question 3
Domain 1: Development with AWS Services · Task 1.1A RAG app occasionally gets ThrottlingException from Bedrock during peaks. Which TWO code-level practices fit? Select TWO.
Choose 2.
Question 4
Domain 1: Development with AWS Services · Task 1.1An AI assistant's API in API Gateway must reject prompts longer than 4,000 characters before invoking Lambda, to save model cost. What should the developer configure?
Question 5
Domain 1: Development with AWS Services · Task 1.1A developer writes a function that calls Amazon Bedrock with the AWS SDK. Which API offers one consistent request format across different foundation models, including tool use?
Question 6
Domain 1: Development with AWS Services · Task 1.1A support assistant must fan out each new ticket to an AI classifier, a sentiment analyzer and an archive, each processing independently and retrying on its own. Which design fits BEST?
Question 7
Domain 1: Development with AWS Services · Task 1.1A knowledge base needs new documents indexed whenever they land in an S3 bucket. Which approach automates this with the least code?
Question 8
Domain 1: Development with AWS Services · Task 1.1A team builds a new agent feature in Kiro and wants the agent to follow team conventions (logging style, error handling, approved libraries) in every generated file. Which Kiro capability fits?
Question 9
Domain 1: Development with AWS Services · Task 1.1A company wants an assistant that can look up order status by calling an internal API and also answer policy questions from documents. Which design fits BEST?
Question 10
Domain 1: Development with AWS Services · Task 1.2A RAG Lambda function in a VPC must reach Bedrock, an OpenSearch domain in the VPC and S3, all without internet access. Which TWO resources fit? Select TWO.
Choose 2.
Question 11
Domain 1: Development with AWS Services · Task 1.2A summarizer function sometimes needs 8 minutes for long reports and times out at the 3-second default. What should the developer change?
Question 12
Domain 1: Development with AWS Services · Task 1.2An embeddings function processes SQS messages. A few documents always fail parsing, are retried endlessly, and slow the queue. What should the developer configure?
Question 13
Domain 1: Development with AWS Services · Task 1.2An agent's tool is a Lambda function invoked synchronously. The developer wants errors from the tool returned to the agent rather than retried automatically. How does synchronous invocation behave?
Question 14
Domain 1: Development with AWS Services · Task 1.2A chat backend's Lambda function shows long cold starts because it loads a large tokenizer at start. Which TWO options help? Select TWO.
Choose 2.
Question 15
Domain 1: Development with AWS Services · Task 1.2A team wants a simple HTTPS endpoint that streams a model's response from one Lambda function to the browser, without API Gateway. What should the developer use?
Question 16
Domain 1: Development with AWS Services · Task 1.3A chat app stores conversation history that must be deleted 30 days after the last message, and exported transcripts in S3 must be removed after one year. Which TWO features fit? Select TWO.
Choose 2.
Question 17
Domain 1: Development with AWS Services · Task 1.3When a user reopens a chat, the screen should load just the newest 20 messages of that conversation from a table keyed by conversationId with a timestamp sort key. Which request fits BEST?
Question 18
Domain 1: Development with AWS Services · Task 1.3A RAG app answers the same popular questions repeatedly, and each answer costs a model call. Answers can be reused for an hour. What should the developer add?
Question 19
Domain 1: Development with AWS Services · Task 1.3A team needs a vector store for a small RAG prototype that already uses Aurora PostgreSQL for app data, and wants to avoid another database service. Which option fits BEST?
Question 20
Domain 1: Development with AWS Services · Task 1.3A prompt-template service stores templates as JSON items up to 10 KB, read thousands of times per second by key, and needs single-digit millisecond latency. Which store fits BEST?
Question 21
Domain 2: Security · Task 2.1A chat web app needs users to sign in, then call an API Gateway endpoint whose authorizer validates their JWTs. Which service issues the JWTs BEST?
Question 22
Domain 2: Security · Task 2.1Each user's uploaded documents for a personal RAG assistant must be readable only by that user, using temporary credentials. Which TWO elements fit? Select TWO.
Choose 2.
Question 23
Domain 2: Security · Task 2.1An AI app lets users download generated reports from a private bucket. Links should work for 30 minutes. What should the backend return?
Question 24
Domain 2: Security · Task 2.1An agent's tool calls an internal API Gateway API that uses IAM authorization. The agent runtime has an IAM role. How should the tool authenticate?
Question 25
Domain 2: Security · Task 2.1A team's CI job must call Bedrock in a separate AI account. The AI account created a role for it. What should the CI job do?
Question 26
Domain 2: Security · Task 2.1A developer must allow only principals that used MFA to change prompt templates in a production DynamoDB table. Which condition key fits?
Question 27
Domain 2: Security · Task 2.2A privacy review of the assistant asks for a kill switch: if transcripts in S3 are ever exposed, the security team must be able to make them unreadable at once, with an audit of every read. What should the developer configure?
Question 28
Domain 2: Security · Task 2.2A RAG app calls a third-party embedding API whose key must rotate monthly and never appear in code. Which TWO steps fit? Select TWO.
Choose 2.
Question 29
Domain 2: Security · Task 2.2A legal assistant encrypts 30 MB contract files in the application with a KMS key before storing them. What is the correct approach?
Question 30
Domain 2: Security · Task 2.2Application logs of a chat app contain users' phone numbers and emails from prompts. Developers need the logs, but PII must be masked. What should the developer configure?
Question 31
Domain 2: Security · Task 2.2Before indexing documents for RAG, a company must find any that contain credit card numbers in its S3 source buckets. Which service fits BEST?
Question 32
Domain 2: Security · Task 2.2A developer needs TLS certificates for an internal model gateway used only by company services, issued from the company's own CA hierarchy. Which service fits?
Question 33
Domain 2: Security · Task 2.3A bank's assistant must refuse investment advice, block prompt-injection attempts in retrieved web pages, and redact account numbers. Which approach fits BEST?
Question 34
Domain 2: Security · Task 2.3Legal asks whether prompts sent to Amazon Bedrock could be used to train the underlying foundation models. What should the developer answer?
Question 35
Domain 2: Security · Task 2.3An HR agent can update employee salaries through a tool. Every salary change must be confirmed by an HR manager before execution. Which TWO controls fit? Select TWO.
Choose 2.
Question 36
Domain 2: Security · Task 2.3Security wants AI requests from the company's private subnets to reach Bedrock without any internet path. What should the developer configure?
Question 37
Domain 2: Security · Task 2.3Model invocation logs help debug a support assistant but contain customers' order details. Which TWO measures protect them? Select TWO.
Choose 2.
Question 38
Domain 3: Testing and Deployment · Task 3.1An AI service's container image includes model weights and is rebuilt often. The team wants each production image traceable and never overwritten. Which TWO practices fit? Select TWO.
Choose 2.
Question 39
Domain 3: Testing and Deployment · Task 3.1A RAG app must switch between two prompt templates and model IDs at run time per environment, rolling out changes gradually with automatic rollback on alarms. Which service fits BEST?
Question 40
Domain 3: Testing and Deployment · Task 3.1An AI app's API has 'dev' and 'prod' stages that must call the matching Lambda aliases from one API definition. What should the developer use?
Question 41
Domain 3: Testing and Deployment · Task 3.1A supply-chain scare led security to require that model-serving builds install Python wheels only from an internal, curated mirror of PyPI. Which service provides that mirror?
Question 42
Domain 3: Testing and Deployment · Task 3.2A developer wants to try a chat Lambda function locally with a sample API Gateway proxy event that includes a JSON prompt. Which approach fits BEST?
Question 43
Domain 3: Testing and Deployment · Task 3.2Integration tests for an AI app must not call the real model, which is slow and costly. Tests need a fixed model reply. What should the developer use?
Question 44
Domain 3: Testing and Deployment · Task 3.2A team's CDK app defines Bedrock knowledge bases and Lambda functions. They want CI to fail if any function lacks a timeout under 60 seconds. What should they use?
Question 45
Domain 3: Testing and Deployment · Task 3.2Prompt tweaks keep silently breaking answers that used to be right. Engineers want an AI helper to draft regression checks for each tweak and explain what changed, before they review it. Which approach fits BEST?
Question 46
Domain 3: Testing and Deployment · Task 3.3A risky new prompt version should first serve a tenth of chat users for five minutes and revert by itself if errors climb, before everyone gets it. Which TWO elements make this work? Select TWO.
Choose 2.
Question 47
Domain 3: Testing and Deployment · Task 3.3An inference service runs on ECS and loads a 4 GB model at startup. Which deployment strategy lets the team switch traffic only after new tasks are warm, with instant rollback?
Question 48
Domain 3: Testing and Deployment · Task 3.3A RAG service's Lambda package with a vector library and native dependencies exceeds the 250 MB unzipped limit. What should the developer use?
Question 49
Domain 3: Testing and Deployment · Task 3.3A pipeline must promote an AI app from staging to production only after automated evaluation passes and a product owner approves. Which TWO pipeline elements fit? Select TWO.
Choose 2.
Question 50
Domain 3: Testing and Deployment · Task 3.3A CloudFormation update to an AI stack fails, and the team wants to see exactly which resource failed and why. Where should they look?
Question 51
Domain 3: Testing and Deployment · Task 3.3A team uses AI tools in its delivery process to draft release notes, spin up a test environment and check health after deploys. Which practice should remain?
Question 52
Domain 4: Troubleshooting and Optimization · Task 4.1A RAG function gets AccessDeniedException when calling bedrock:InvokeModel, though the model works in the console for the developer. What should the developer check FIRST?
Question 53
Domain 4: Troubleshooting and Optimization · Task 4.1A chat API intermittently returns 504 errors when prompts are long. The integration is a synchronous Lambda call. What is the MOST likely cause?
Question 54
Domain 4: Troubleshooting and Optimization · Task 4.1A developer must find the prompts that caused the most guardrail interventions last week, from structured logs with a guardrailAction field. Which tool fits BEST?
Question 55
Domain 4: Troubleshooting and Optimization · Task 4.1An agent workflow sometimes picks the wrong tool. The team wants traces of each session showing model calls, tool calls and their latencies. Which capability fits BEST?
Question 56
Domain 4: Troubleshooting and Optimization · Task 4.1During an outage of an AI app, the on-call engineer wants an AI assistant that correlates recent deployments, metrics and logs into likely root causes. Which feature fits BEST?
Question 57
Domain 4: Troubleshooting and Optimization · Task 4.2Finance wants a CloudWatch graph of model tokens consumed by each product feature, but engineers refuse to add any network call to the chat request path. What should the code emit?
Question 58
Domain 4: Troubleshooting and Optimization · Task 4.2Operations wants an alert when Bedrock throttles requests for the chat app, before users notice. Which TWO steps fit? Select TWO.
Choose 2.
Question 59
Domain 4: Troubleshooting and Optimization · Task 4.2A developer instruments a new AI service and wants vendor-neutral tracing for requests across API Gateway, Lambda and Bedrock calls. What should they use?
Question 60
Domain 4: Troubleshooting and Optimization · Task 4.2An inference container on EKS takes 2 minutes to load its model. Kubernetes sends traffic too early and sometimes kills it during loading. Which TWO probes fit? Select TWO.
Choose 2.
Question 61
Domain 4: Troubleshooting and Optimization · Task 4.2Leadership promised customers that 99.5% of chat replies would start within two seconds, and the platform team needs to track that promise per API operation without hand-instrumenting code. Which feature fits BEST?
Question 62
Domain 4: Troubleshooting and Optimization · Task 4.3A RAG app sends the same 5,000-token system prompt and policy text with every request, making calls slow and costly. Which change helps MOST with no change in answers?
Question 63
Domain 4: Troubleshooting and Optimization · Task 4.3Nightly, an AI app classifies 2 million documents, and results are needed by morning. Which option lowers model cost MOST?
Question 64
Domain 4: Troubleshooting and Optimization · Task 4.3An embeddings worker sends one SQS message per document chunk, millions per day, and deletes them one by one. Which TWO changes reduce API calls? Select TWO.
Choose 2.
Question 65
Domain 4: Troubleshooting and Optimization · Task 4.3A chat function's p99 latency is high, and traces show most time is spent creating a new Bedrock client on each invocation. What should the developer change?
65 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.