表示モード
画像位置
文字位置
理解度の自動記録
Q1AWS Certified Generative Ai Developer Professional
Q1. A university’s research support office is building a tool to help faculty members prepare grant proposals, using Amazon Bedrock.
The tool is built on the Amazon Nova Pro foundation model (FM), and it must accept four required inputs and always return responses in a consistent text format.
The office wants Amazon Bedrock to notify them when a response contains bullying language, but it does not want to block every flagged response outright.
To do this, they built an Amazon Bedrock flow that receives an input prompt, sends it to the Amazon Nova Pro FM, and returns the FM’s response.
Which additional steps should the office take to meet these requirements? (Choose two.)
Show answer
Correct answer: A, D
This question has three requirements: structured inputs, a consistent output format, and detecting and notifying on bullying language without blocking it.With A, Amazon Bedrock Prompt Management lets you define the four required inputs as variables and specify the output format, so it delivers both structured inputs and a consistent response format.
The key point of D is that setting the insults filter’s response action to “detect” rather than “block” lets you flag and notify while still returning the response.
B uses the block setting, which violates the requirement not to block everything.
The prompt router in C is unnecessary for a single-model configuration, and the inference profile in E does not guarantee enforcement of variables or the output format.
Detect harmful content with content filters – Amazon Bedrock
Q2AWS Certified Generative Ai Developer Professional
Q2. An elevator maintenance provider has developed an AI assistant for field technicians using Amazon Bedrock.
The assistant generates maintenance recommendations based on elevator sensor data collected with Amazon Kinesis Data Streams.
Under new industry regulations, every recommendation the AI produces must be reviewed by a human technician.
The provider needs to establish a workflow in which humans review and approve the AI’s recommendations, and it must keep a complete record of the technicians’ decisions for auditing.
Which solution meets these requirements?
Show answer
Correct answer: B. Create an AWS Step Functions workflow with a human approval step that uses the waitForTaskToken API to pause execution. When the technician completes the review, use an AWS Lambda function to attach the approval decision and call the SendTaskSuccess API. Store all review decisions in Amazon DynamoDB.
For a workflow that inserts human approval, the AWS Step Functions callback pattern is ideal.Using waitForTaskToken lets you pause execution until a human completes the review and calls SendTaskSuccess, reliably returning the approval result to the workflow.
Storing the review decisions in Amazon DynamoDB also provides the durable record needed for auditing.
A relies on Glue, whose visual workflows are intended for ETL and are not suited to waiting on human approval.
C uses ElastiCache to cache decisions, which is unsuitable for the durable storage required for auditing.
D is a custom implementation that makes state management and timeout control complex, imposing a higher operational burden than managed Step Functions.
Wait for a callback with the task token – AWS Step Functions
Q3AWS Certified Generative Ai Developer Professional
Q3. A financial services provider offers a generative AI (GenAI) application using multiple foundation models (FMs) through Amazon Bedrock.
To comply with new regulations for using generative AI on highly sensitive financial data, the provider needs a token management mechanism.
This mechanism must proactively raise alerts when the application approaches model-specific token limits.
At the same time, it must handle more than 5,000 requests per minute while maintaining token usage metrics so that costs can be allocated per business unit.
Which solution meets these requirements?
Show answer
Correct answer: B. Develop a model-specific tokenizer within an AWS Lambda function. Before sending a request to Amazon Bedrock, estimate token usage in that Lambda function. Have the Lambda function publish metrics to Amazon CloudWatch and configure alarms to fire when requests approach the threshold. Store detailed token usage in Amazon DynamoDB to report costs.
The requirements are threefold: proactive alerting as limits are approached, scaling beyond 5,000 requests per minute, and maintaining metrics for cost allocation.Estimating token counts before sending, publishing metrics to CloudWatch, and raising alarms at a threshold lets you warn proactively before the limit is reached, and recording data in DynamoDB enables per-unit cost allocation.
A analyzes error logs after the fact, so it does not provide proactive alerts.
The API Gateway rejection in C is throttling and does not meet the requirements for proactive notification or cost allocation metrics.
Bedrock Guardrails in D is a content-safety feature and is not intended for token quota management.
Monitor Amazon Bedrock with Amazon CloudWatch
Q4AWS Certified Generative Ai Developer Professional
Q4. A large e-commerce operator uses a foundation model (FM) to automatically generate product descriptions.
The engineering department monitors technical metrics such as token usage, latency, and error rate in Amazon CloudWatch, while the marketing department separately tracks business metrics such as conversion rate and revenue impact in an internal system.
The company needs a unified observability solution that can correlate technical performance with business outcomes.
This solution must automatically alert stakeholders when operational metrics show signs of degradation, and it must be able to visualize both technical and business metrics together.
Which solution meets these requirements?
Show answer
Correct answer: D. Configure a custom CloudWatch dashboard that integrates operational metrics and imported business metrics. Configure a CloudWatch composite alarm with anomaly detection. Create an alarm action with Amazon SNS to notify stakeholders when the correlated metrics indicate a performance problem.
The requirement is comprehensive observability that consolidates both technical and business metrics in one place and automatically alerts on degradation.Bringing both sets of metrics into a custom CloudWatch dashboard, catching correlated degradation with a composite alarm that uses anomaly detection, and notifying via SNS is the configuration that best matches the requirements.
C is close but lacks anomaly detection and correlation analysis, remaining a simple threshold-based approach.
A goes beyond the “provide alerts” requirement by performing automatic remediation with Grafana, which is excessive.
B streams to QuickSight via S3, which has low real-time performance and is inferior for the immediacy of operational alerts.
Create a composite alarm – Amazon CloudWatch
Q5AWS Certified Generative Ai Developer Professional
Q5. A company runs a generative AI (GenAI) application that responds to customer inquiries in real time using Amazon Bedrock.
During peak traffic periods, API calls to the foundation model (FM) intermittently fail.
The company needs an observability solution that handles transient errors while giving detailed insight into FM performance.
This solution must prevent cascading failures during throttling and must be able to identify the source of latency through distributed tracing across service boundaries.
In addition, it must be able to analyze performance issues in correlation with specific FM characteristics.
Which solution meets these requirements?
Show answer
Correct answer: B. Configure the AWS SDK with standard retry mode and exponential backoff with jitter. Use AWS X-Ray tracing with annotations to identify and filter service components.
The requirements are fourfold: resilience to transient errors, prevention of cascading failures, distributed tracing across service boundaries, and correlation with FM characteristics.The AWS SDK’s standard retry mode provides exponential backoff with jitter, which avoids concentrated simultaneous retries and prevents cascading failures; and adding annotations such as the model ID in AWS X-Ray lets you analyze latency factors by FM characteristic.
The fixed-delay retry in A tends to synchronize retries and does not provide distributed tracing.
C uses only caching and logging, which cannot prevent cascading failures and offers no cross-service tracing.
CloudTrail in D is for audit logging and is not distributed tracing intended for request latency analysis.
Retry behavior – AWS SDKs and Tools Reference Guide
Q6AWS Certified Generative Ai Developer Professional
Q6. A medical device manufacturer wants to ingest reports about medical procedures that use its devices into an AI assistant.
To protect patient privacy, patients’ personally identifiable information (PII) must be disclosed only to the operating surgeon and must be masked from engineers.
Also, the AI assistant may reference only medical reports that are less than three years old.
Each report is stored in an Amazon S3 bucket as soon as it is published, and the company has already configured Amazon Bedrock Knowledge Bases.
It uses Amazon Cognito for user authentication.
Which solution meets these requirements?
Show answer
Correct answer: C. Configure an S3 lifecycle configuration to delete reports older than three years. Schedule an AWS Lambda function to run a daily sync of the bucket with the knowledge base. When users interact with the AI assistant, apply a selected guardrail configuration based on the user’s Cognito user group, masking PII from responses as needed.
The crux of this question is giving different visibility of the same data by role.The basis for the correct answer is that, rather than removing PII at ingestion, you dynamically apply a guardrail configuration based on the Cognito group at inference time, returning full responses to surgeons and masked responses to engineers.
An S3 lifecycle automatically deletes documents older than three years, and the daily sync keeps the knowledge base current.
A permanently strips PII at ingestion, which violates the surgeon’s viewing requirement.
B fixes masking at ingestion and cannot provide role-based control.
D duplicates the knowledge base, increasing cost and the risk of data inconsistency.
Amazon Bedrock Guardrails
Q7AWS Certified Generative Ai Developer Professional
Q7. A media company plans to launch a new platform where thousands of users per hour can post image and text content.
The platform uses Amazon Bedrock to generate creative works based on the submitted content.
The company needs a mechanism that prevents the processing and generation of inappropriate content and ensures that the generated output contains no personally identifiable information (PII).
The mechanism must also integrate with the existing Amazon S3 storage workflow.
Which solution meets these requirements while minimizing the burden of infrastructure management?
Show answer
Correct answer: D. Create an AWS Step Functions workflow that filters content using the built-in Amazon Bedrock guardrails. Preprocess content with Amazon Comprehend PII detection. Use Amazon Rekognition image moderation.
The requirement is to block inappropriate content, prevent PII exposure, and integrate with the S3 workflow, all while minimizing infrastructure management.Combining managed Bedrock guardrails, Comprehend PII detection, and Rekognition image moderation with Step Functions avoids building custom models and minimizes operational burden.
A has many redundant monitoring alarms and does not directly enforce content safety.
B requires building and maintaining a custom model with SageMaker, which is a heavy burden.
C performs moderation at authentication time, and Textract is not intended for moderation, so it is inappropriate.
Moderating content – Amazon Rekognition
Q8AWS Certified Generative Ai Developer Professional
Q8. A financial services company is developing an AI assistant for customer support using Amazon Bedrock.
The AI assistant must not discuss investment advice topics with users, and it is required to block harmful content, mask personally identifiable information (PII), and maintain an audit trail for compliance reporting.
It must also apply content filtering to both user inputs and model responses according to the sensitivity of the content.
The company is looking for an Amazon Bedrock guardrails configuration that enforces policy effectively while reducing false positives, and it wants a mechanism that can apply different handling strategies to each of several types of sensitive content.
Which solution meets these requirements?
Show answer
Correct answer: C. Configure a guardrail and set content filters to “Medium” for harmful content. Configure a denied topic for investment advice, including a clear definition and sample phrases to block. Configure a sensitive information filter that masks PII in responses and blocks financial information in inputs. Enable evaluation of both inputs and outputs using a custom blocked message for auditing.
To enforce policy strongly while reducing false positives, it is recommended to set different actions per content type within a single guardrail.Setting the filter to “Medium” rather than “High” avoids over-blocking legitimate customer interactions while still preventing harmful content, and you can use different handling by context—masking PII in responses and blocking financial information in inputs.
Adding a definition and sample phrases to the denied topic improves detection accuracy.
A blocks all PII uniformly, which causes frequent false positives.
B is unnecessarily complex and is not how guardrails are meant to be used.
D chains guardrails with Step Functions redundantly, which guardrails can natively handle.
Components of a guardrail – Amazon Bedrock
Q9AWS Certified Generative Ai Developer Professional
Q9. A company is building a Retrieval-Augmented Generation (RAG) system using Amazon Bedrock.
The system uses Amazon Bedrock Knowledge Bases backed by an Amazon S3 bucket as a data source for breaking-news video content, retrieving transcripts, archived reports, and related documents.
Even though it uses state-of-the-art embedding models and a high-performance retrieval configuration, users complain that responses are slow and return results of low relevance.
Investigation reveals that vector search is over-evaluating documents spanning long time periods across a wide variety of content.
The company has concluded that additional fine-tuning of the foundation model will not help, and it wants to improve retrieval accuracy through more precise constraints while keeping changes to the existing architecture to a minimum.
Which solution meets these requirements?
Show answer
Correct answer: C. Index the metadata of S3 objects to enable metadata-aware filtering within Amazon Bedrock Knowledge Bases.
The root cause of the problem is that the search scope is too broad.Amazon Bedrock Knowledge Bases supports metadata-aware filtering, and by indexing S3 object metadata (such as content type, publication date, and source) to narrow the search scope, you can reduce the number of documents evaluated and improve both latency and relevance.
This is the approach that requires the least architectural change.
A is re-training the embeddings, which has already been judged ineffective.
Migrating to OpenSearch in B and to Amazon Q Business in D both increase operational burden and implementation effort and deviate from the existing configuration.
Amazon Bedrock Knowledge Bases
Q10AWS Certified Generative Ai Developer Professional
Q10. A media company is adopting Amazon Bedrock to establish robust governance over AI-generated content.
The company needs to manage several hundred prompt templates, and multiple teams use these templates to generate content across multiple AWS Regions.
The required solution must provide an approval workflow that includes notifications for pending reviews, version control, a detailed audit trail that records prompt operations, and consistent prompt parameterization to ensure quality standards.
Which solution meets these requirements?
Show answer
Correct answer: B. Use Amazon Bedrock Prompt Management to implement version control. Configure AWS CloudTrail for audit logging. Use AWS Identity and Access Management (IAM) policies to control approval permissions. Create parameterized prompt templates by specifying variables.
Amazon Bedrock Prompt Management is a purpose-built feature for governing and standardizing prompts at scale across teams and Regions.The basis for the correct answer is that it provides native version control and approval workflows, lets you control approval permissions with IAM policies, and integrates with CloudTrail to leave an immutable audit trail.
Parameterized templates let you enforce consistent quality standards.
A requires substantial custom development to coordinate approvals.
C relies on general-purpose services and manual version control, which is error-prone as it scales.
D uses a service combination not designed for governing generative AI prompts at scale and is unnecessarily complex.
Prompt management in Amazon Bedrock
