Free Practice Questions for the AWS Certified Generative AI Developer – Professional Exam

This is a 20 Questions Preview

Get the Full 300+ Questions Document Here

https://cloudcertificationstore.com/b/XZjcS 



Practice Questions



Question 1

A startup is building a chatbot that must provide financial advisory responses using data from the company’s private documents stored in Amazon S3. The developer wants to use an LLM hosted in Amazon Bedrock and augment its responses with relevant internal data without retraining the model. Which approach should the developer take?

A. Fine-tune the foundation model in Amazon Bedrock with all company documents

B. Use Amazon Bedrock Knowledge Bases to implement a retrieval-augmented generation (RAG) workflow

C. Deploy the LLM in Amazon SageMaker JumpStart and import embeddings manually

D. Stream all documents directly to the model via InvokeModelWithResponseStream API

✅ Correct answer: B. Use Amazon Bedrock Knowledge Bases to implement a retrieval-augmented generation (RAG) workflow

📌 Amazon Bedrock Knowledge Bases provide a managed RAG capability that indexes enterprise data into a vector store, retrieves relevant context during inference, and injects it into prompts—achieving domain-aware, secure, and cost-efficient answers without fine-tuning.

Incorrect answers:

❌ A. Fine-tune the foundation model in Amazon Bedrock: Fine-tuning modifies model weights and requires significant training data and cost; RAG is preferable for dynamic data integration without retraining.

❌ C. Deploy the LLM in SageMaker JumpStart: While JumpStart supports fine-tuning, it doesn’t provide built-in RAG retrieval pipelines like Bedrock Knowledge Bases.

❌ D. Stream all documents via InvokeModelWithResponseStream: Streaming API is for real-time token delivery, not for feeding large corpora or context augmentation.


Question 2

A team uses Amazon Q Developer to accelerate their CI/CD workflow. They need a way for Q Developer to analyze code commits and automatically suggest unit tests in their repository. Which AWS integration achieves this with minimal setup?

A. Amazon Q Developer integrated with AWS CodeCatalyst

B. Amazon Bedrock Flows with SageMaker pipeline invocation

C. AWS Lambda triggered by Amazon Q Developer CLI commands

D. Amazon Q Developer connected to Amazon Connect for developer chat support

✅ Correct answer: A. Amazon Q Developer integrated with AWS CodeCatalyst

📌 AWS CodeCatalyst integrates directly with Amazon Q Developer, enabling AI-powered code review, testing recommendations, and commit automation within the development lifecycle through agentic AI workflows.

Incorrect answers:

❌ B. Bedrock Flows with SageMaker pipeline: Flows are used for orchestrating LLM tasks, not for code management or test suggestions in CI/CD.

❌ C. AWS Lambda triggered by CLI: Lambda does not natively connect to Q Developer for code analysis tasks.

❌ D. Amazon Q Developer with Amazon Connect: Connect is a contact center service, not a development integration.


Question 3

An enterprise plans to use Amazon Bedrock Agents to create a help-desk assistant that can look up order status and trigger refunds. Which AWS service is most appropriate for allowing the agent to invoke business logic securely?

A. Amazon Lex

B. AWS Lambda

C. Amazon Kendra

D. Amazon CloudWatch

✅ Correct answer: B. AWS Lambda

📌 Bedrock Agents can call Lambda functions securely to execute custom business logic (such as fetching orders or processing refunds) through API invocations with IAM-controlled permissions, enabling autonomous task execution within guardrails.

Incorrect answers:

❌ A. Amazon Lex: Lex handles conversational interfaces but cannot directly execute backend logic without Lambda.

❌ C. Amazon Kendra: Kendra is for enterprise search and document retrieval, not logic execution.

❌ D. Amazon CloudWatch: CloudWatch provides monitoring and metrics, not agentic integration for workflow automation.


Question 4

A developer builds a generative AI application using Amazon Bedrock and wants to track prompt latency and model cost per request. Which AWS service is best suited for this requirement?

A. Amazon CloudWatch with custom metrics

B. AWS Config

C. AWS Shield Advanced

D. Amazon Macie

✅ Correct answer: A. Amazon CloudWatch with custom metrics

📌 CloudWatch can collect custom metrics such as latency, token usage, and cost per prompt via Bedrock’s SDK, allowing developers to monitor and optimize performance and spending of AI workloads.

Incorrect answers:

❌ B. AWS Config: Tracks resource compliance, not application metrics.

❌ C. AWS Shield Advanced: Provides DDoS protection, irrelevant to model performance tracking.

❌ D. Amazon Macie: Detects sensitive data in S3, not used for AI monitoring.


Question 5

A developer is using Amazon Bedrock Flows to chain AI tasks for a marketing content pipeline. Step 1 generates text; Step 2 summarizes it; Step 3 translates it. Which feature simplifies maintaining and versioning prompts for each step?

A. Prompt Management in Amazon Bedrock

B. Amazon Comprehend Custom Entities

C. AWS Glue Job Bookmarks

D. Amazon CodeGuru Reviewer

✅ Correct answer: A. Prompt Management in Amazon Bedrock

📌 Amazon Bedrock Prompt Management enables developers to create, version, and reuse prompt templates, ensuring consistent prompt chaining and easy updates across Bedrock Flows.

Incorrect answers:

❌ B. Comprehend Custom Entities: Used for entity recognition, not prompt lifecycle management.

❌ C. Glue Job Bookmarks: Track ETL state, unrelated to prompt workflows.

❌ D. CodeGuru Reviewer: Analyzes code quality, not prompt templates.


Question 6

An organization wants to use Amazon SageMaker JumpStart to customize a Bedrock model for legal document summarization. Which technique minimizes training costs while achieving domain adaptation?

A. Full fine-tuning of all model parameters

B. Lightweight adapter-based fine-tuning (LoRA)

C. Continued pre-training on all raw data

D. Prompt engineering only without any training

✅ Correct answer: B. Lightweight adapter-based fine-tuning (LoRA)

📌 LoRA ( Low-Rank Adaptation ) adds small trainable layers to a frozen model for efficient domain adaptation, significantly reducing compute cost and training time while preserving general capabilities.

Incorrect answers:

❌ A. Full fine-tuning: Resource-intensive and rarely needed for domain adaptation.

❌ C. Continued pre-training: Requires massive unlabeled data and infrastructure.

❌ D. Prompt engineering only: Improves results but cannot alter model weights for domain specificity.


Question 7

A financial firm uses Amazon Bedrock Agents that generate client summaries. To prevent exposure of personally identifiable information (PII), what should they implement?

A. Content filtering policies and guardrails in Bedrock

B. Amazon EC2 network ACLs

C. S3 Lifecycle Policies

D. AWS Backup Vault Lock

✅ Correct answer: A. Content filtering policies and guardrails in Bedrock

📌 Amazon Bedrock provides guardrails that screen inputs and outputs to block PII or sensitive content, supporting responsible AI use and data privacy requirements.

Incorrect answers:

❌ B. Network ACLs: Control traffic at VPC level, not AI content safety.

❌ C. Lifecycle Policies: Manage object retention, not runtime output filtering.

❌ D. Backup Vault Lock: Prevents deletion of backups, unrelated to content moderation.


Question 8

A developer needs to invoke a foundation model from Amazon Bedrock using Python to generate responses in real time as tokens are produced. Which Bedrock API operation should they use?

A. InvokeModel

B. InvokeModelWithResponseStream

C. StartAsyncInvoke

D. CreateModelEndpoint

✅ Correct answer: B. InvokeModelWithResponseStream

📌 InvokeModelWithResponseStream provides streaming responses token-by-token, enabling low-latency generation for chat or interactive apps. It’s ideal for real-time experiences where users see words appear as they’re generated.

Incorrect answers:

❌ A. InvokeModel: Returns output only after full completion, not suited for streaming.

❌ C. StartAsyncInvoke: Launches asynchronous jobs that finish later, used for long-running batch tasks.

❌ D. CreateModelEndpoint: Used to deploy custom models in SageMaker, not to call Bedrock FMs.


Question 9

A retail company wants to generate localized product descriptions across 10 languages while controlling inference cost. Which feature of Amazon Bedrock can reduce repeat inference charges for frequently requested prompts?

A. Prompt Chaining

B. Prompt Caching

C. Model Evaluation Jobs

D. Knowledge Base Embeddings

✅ Correct answer: B. Prompt Caching

📌 Prompt Caching stores and reuses identical model responses to reduce latency and cost for repeated queries. It’s an optimization strategy highlighted in Domain 3 for production scalability.

Incorrect answers:

❌ A. Prompt Chaining: Combines multiple prompts into workflows but doesn’t cache results.

❌ C. Model Evaluation Jobs: Used to assess quality, not cost optimization.

❌ D. Knowledge Base Embeddings: Aid retrieval in RAG workflows but do not minimize inference cost directly.


Question 10

A health-tech firm is building a generative summarization service that must comply with HIPAA. Which AWS practice ensures data privacy when transmitting patient information to a Bedrock model?

A. Encrypt data at rest only in S3

B. Use HTTPS and KMS-based encryption for data in transit

C. Rely on CloudFront caching for security

D. Store inputs unencrypted for faster processing

✅ Correct answer: B. Use HTTPS and KMS-based encryption for data in transit

📌 AWS requires TLS encryption for API calls and supports KMS to protect sensitive payloads, ensuring data confidentiality during Bedrock inference requests in regulated industries like healthcare.

Incorrect answers:

❌ A. Encrypt at rest only: Does not cover transit security.

❌ C. CloudFront caching: Improves performance, not compliance.

❌ D. Unencrypted inputs: Would violate HIPAA security requirements.


Question 11

A developer wants to compare outputs from two LLMs hosted on Amazon Bedrock to evaluate which provides better factual accuracy. What feature can help automate this comparison?

A. Amazon Bedrock Evaluations

B. AWS Step Functions

C. Amazon CloudTrail Insights

D. Amazon Comprehend Entity Recognition

✅ Correct answer: A. Amazon Bedrock Evaluations

📌 Bedrock Evaluations lets developers run jobs that measure model performance metrics (e.g., accuracy or coherence) across multiple models or prompt variations to choose the best fit for production.

Incorrect answers:

❌ B. Step Functions: Orchestrates workflows but doesn’t score models.

❌ C. CloudTrail Insights: Audits API usage, not model quality.

❌ D. Comprehend Entity Recognition: Extracts entities from text but can’t evaluate model performance.


Question 12

A startup uses Amazon Q Developer CLI to automate documentation generation for Python projects. Which AWS benefit best describes this use case?

A. Agentic AI automation for developer productivity

B. Asynchronous model training optimization

C. Prompt template versioning for multilingual apps

D. Vector database indexing for RAG

✅ Correct answer: A. Agentic AI automation for developer productivity

📌 Amazon Q Developer uses agentic AI to perform tasks like generating code snippets, tests, and documentation, automating repetitive developer operations through contextual understanding of repositories.

Incorrect answers:

❌ B. Asynchronous model training: Irrelevant to Q Developer.

❌ C. Prompt template versioning: Feature of Bedrock Prompt Management, not Q.

❌ D. Vector database indexing: Belongs to RAG in Bedrock Knowledge Bases.


Question 13

A company wants its generative AI chatbot to cite sources for every answer. Which AWS service combination provides this functionality?

A. Amazon Kendra + Amazon Bedrock Knowledge Bases

B. Amazon Lex + AWS Polly

C. Amazon Comprehend + SageMaker Ground Truth

D. Amazon Q Developer + CodePipeline

✅ Correct answer: A. Amazon Kendra + Amazon Bedrock Knowledge Bases

📌 Kendra indexes and retrieves documents with relevance metadata while Bedrock Knowledge Bases inject context and citations into LLM responses, enabling auditable answers with references.

Incorrect answers:

❌ B. Lex + Polly: Handles speech interfaces, not document retrieval.

❌ C. Comprehend + Ground Truth: Used for NLP labeling, not source citing.

❌ D. Q Developer + CodePipeline: Automation tools, not RAG systems.


Question 14

An AI team notices their Bedrock application latency doubles after deploying a larger model. Which AWS strategy reduces response time without sacrificing model quality?

A. Use provisioned throughput capacity for Bedrock invocations

B. Switch to Amazon CloudFront edge cache for API responses

C. Increase S3 bucket versioning

D. Enable Macie sensitive-data scanning

✅ Correct answer: A. Use provisioned throughput capacity for Bedrock invocations

📌 Provisioned throughput allocates dedicated compute capacity to reduce cold-start delays and latency for frequent model invocations, improving interactive response time.

Incorrect answers:

❌ B. CloudFront: Caches static content, not dynamic model inference.

❌ C. S3 versioning: Controls object versions, unrelated to inference.

❌ D. Macie: Focuses on data security, not performance.


Question 15

A developer wants to deploy a serverless API that calls a Bedrock model for text summarization. Which architecture is most cost-efficient?

A. API Gateway + AWS Lambda + Amazon Bedrock API

B. Elastic Beanstalk hosting a Python app calling Bedrock

C. Amazon ECS Fargate cluster with Bedrock SDK

D. Dedicated EC2 instance calling Bedrock endpoints

✅ Correct answer: A. API Gateway + AWS Lambda + Amazon Bedrock API

📌 A serverless stack using API Gateway and Lambda invokes Bedrock on demand, scaling automatically and charging only for usage—best for cost optimization and low maintenance.

Incorrect answers:

❌ B. Elastic Beanstalk: Maintains servers and incurs idle costs.

❌ C. ECS Fargate: More suited for persistent workloads.

❌ D. EC2: Manual scaling and higher cost.


Question 16

A data science team fine-tunes a Bedrock model with Amazon SageMaker JumpStart. They need to deploy it with automated monitoring for model drift. Which service pair meets this need?

A. Amazon SageMaker Model Monitor + Amazon CloudWatch

B. Amazon CloudTrail + AWS Backup

C. Amazon Kendra + IAM Access Analyzer

D. Amazon Comprehend + Bedrock Flows

✅ Correct answer: A. Amazon SageMaker Model Monitor + Amazon CloudWatch

📌 Model Monitor detects data drift and performance deviation in deployed models, while CloudWatch provides metrics and alerts for operational visibility.

Incorrect answers:

❌ B. CloudTrail + Backup: Track API logs and data retention, not model accuracy.

❌ C. Kendra + IAM Analyzer: Focus on search and permissions.

❌ D. Comprehend + Flows: NLP analysis and workflow, not monitoring.


Question 17

A developer is evaluating which foundation model in Bedrock offers best code-generation capabilities. Where can they find official performance benchmarks and supported model metadata?

A. Amazon Bedrock Model Catalog

B. AWS Marketplace

C. Amazon S3 public datasets

D. AWS CloudFormation Registry

✅ Correct answer: A. Amazon Bedrock Model Catalog

📌 The Model Catalog lists available foundation models from AWS and partners, with metadata such as parameters, use cases, pricing, and benchmark results.

Incorrect answers:

❌ B. Marketplace: Hosts third-party software, not model benchmarks.

❌ C. S3 datasets: Contain data, not model info.

❌ D. CloudFormation Registry: Stores infrastructure resource types.


Question 18

An engineering team wants to run a scheduled job that automatically updates their Bedrock Knowledge Base with new customer FAQs from S3. Which service best orchestrates this process?

A. AWS Step Functions

B. Amazon Comprehend

C. Amazon QuickSight

D. AWS X-Ray

✅ Correct answer: A. AWS Step Functions

📌 Step Functions can schedule and coordinate Lambda tasks that extract new data from S3 and update Bedrock Knowledge Bases as part of a reliable workflow.

Incorrect answers:

❌ B. Comprehend: Performs NLP, not orchestration.

❌ C. QuickSight: Used for BI visualization.

❌ D. X-Ray: Used for tracing applications.


Question 19

A media startup is building a multimodal app that creates short video scripts and voiceovers. Which service combination enables text generation and speech synthesis within AWS?

A. Amazon Bedrock + Amazon Polly

B. Amazon Kendra + Amazon Comprehend

C. AWS Transcribe + Amazon Lex

D. Amazon Textract + AWS Lambda

✅ Correct answer: A. Amazon Bedrock + Amazon Polly

📌 Bedrock generates creative text and Polly converts text to lifelike speech, enabling end-to-end multimodal content generation on AWS.

Incorrect answers:

❌ B. Kendra + Comprehend: Used for text search and analysis.

❌ C. Transcribe + Lex: Convert speech to text and chat, not text-to-speech.

❌ D. Textract + Lambda: Extract text from images, not generate voice.


Question 20

A developer implements Amazon Bedrock Data Automation to prepare large text datasets for fine-tuning. Which benefit best describes this feature?

A. Automated data transformation and pre-processing at scale

B. Encrypts datasets for compliance

C. Creates Lambda functions for data uploads

D. Caches model responses for fast inference

✅ Correct answer: A. Automated data transformation and pre-processing at scale

📌 Amazon Bedrock Data Automation streamlines dataset cleansing, tokenization, and formatting, reducing manual steps when preparing training or prompt augmentation data for large models.

Incorrect answers:

❌ B. Encrypts datasets: Handled by S3 and KMS, not a core feature here.

❌ C. Creates Lambda functions: Automation is data-centric, not serverless deployment.

❌ D. Caches model responses: That’s Prompt Caching, not Data Automation.


.

(more questions here)

.

.

(last 2 questions)


Question 314

A logistics AI platform must automatically summarize daily shipping reports and email them to operations staff. Which AWS workflow achieves this?

A. Step Functions orchestrating S3 input, Bedrock summarization, and SNS email delivery

B. EC2 cron job manually invoking Bedrock

C. Glue crawler pipelines

D. CloudFront triggers

✅ Correct answer: A. Step Functions orchestrating S3 input, Bedrock summarization, and SNS email delivery

📌 Step Functions manage multi-step workflows with built-in retries and state tracking. By integrating S3, Bedrock, and SNS, the workflow can automatically summarize and distribute daily reports with high reliability and no manual intervention.

Incorrect answers:

❌ B. EC2: Increases operational overhead.

❌ C. Glue: Not a workflow orchestrator for inference.

❌ D. CloudFront: Distributes files, not orchestrates processes.


Question 315

A multinational energy company wants to restrict Bedrock usage in one business unit due to budget limits. Which AWS governance mechanism applies?

A. Service Control Policies (SCPs) under AWS Organizations to restrict Bedrock access

B. IAM local policies only

C. NAT Gateway egress filters

D. Glue dataset limits

✅ Correct answer: A. Service Control Policies (SCPs) under AWS Organizations to restrict Bedrock access

📌 SCPs apply across all accounts in an organization, enabling administrators to centrally deny or allow Bedrock usage for specific organizational units. This ensures budget compliance and governance consistency at scale.

Incorrect answers:

❌ B. IAM: Works within individual accounts but lacks organizational enforcement.

❌ C. NAT: Controls network routing, not service access.

❌ D. Glue limits: Irrelevant to Bedrock service governance.


(END OF PRACTICE QUESTIONS)



#AWSGenAI #GenerativeAI #GenAIEngineer #GenAIDeveloper #AWSCertification #Bedrock #SageMaker #LangChain #VectorDB #PromptEngineering #AWSML #MachineLearning #MLonAWS #RetrievalAugmentedGeneration #OpenSearch #Pinecone #LLMs #ClaudeAI #TitanAI #Llama2 #AmazonBedrock #ModelOrchestration #RAGArchitecture #AIEngineer #MLDeveloper #AIApps #ServerlessAI #SageMakerStudio #SageMakerJumpStart #AWSLambda #APIGateway #AgenticAI #LangGraph #CloudCertifications #CertificationExam #AWSTraining #PracticeTest #PDFDownload #EbookDownload #FinalReviewChecklist #ExamReadiness #CloudAI #AIinProduction #AWSBetaExam #DOPC03 #AWSGenAICertification #AWSCertifiedDeveloper #AWSProfessionalLevel #SelfPacedLearning #DigitalDownload #MLWorkflow #AIBuilders #AIonAWS #AWSForAI #AIArchitectures #AIPractitioner #GenAIApps #LangChainAgents #PromptTemplates #AWSPracticeExam #PayhipStore #CloudCertificationStore

Comments

Popular posts from this blog