Amazon

AIP-C01 practice question 5

AWS Certified Generative AI Developer - Professional (AIP-C01) · free question 5 of 20

Question

A company is developing an internal generative AI (GenAI) assistant that uses Amazon Bedrock to summarize corporate documents for multiple business units. The GenAI assistant must generate responses in a consistent format that includes a document summary, classification of business risks, and terms that are flagged for review. The GenAI assistant must adapt the tone of responses for each user's business unit, such as legal, human resources, or finance. The GenAI assistant must block hate speech, inappropriate topics, and sensitive information such as personal health information. The company needs a solution to centrally manage prompt variants across business units and teams. The company wants to minimize ongoing orchestration efforts and maintenance for post-processing logic. The company also wants to have the ability to adjust content moderation criteria for the GenAI assistant over time. Which solution will meet these requirements with the LEAST maintenance overhead?
  • A. Use Amazon Bedrock Prompt Management to configure reusable templates and business unit-specific prompt variants. Apply Amazon Bedrock guardrails that have category filters and sensitive term lists to block prohibited content. Correct
  • B. Use Amazon Bedrock Prompt Management to define base templates. Enforce business unit-specific tone by using system prompt variables. Configure Amazon Bedrock guardrails to apply audience-based threshold tuning. Manage the guardrails by using an internal administration API.
  • C. Use Amazon Bedrock with business unit-based instruction injection in API calls. Store response formatting rules in Amazon DynamoDB. Use AWS Step functions to validate responses. Use Amazon Comprehend to apply content filters after the GenAI assistant generates responses.
  • D. Use Amazon Bedrock with custom prompt templates that are stored in Amazon DynamoDB. Create one AWS Lambda function to select business unit-specific prompts. Create a second Lambda function to call Amazon Comprehend to filter prohibited content from responses.

Explanation

Option A is correct because it leverages Amazon Bedrock Prompt Management for centrally managing reusable templates and specific prompt variants per business unit, reducing maintenance overhead. Additionally, using Amazon Bedrock guardrails with category filters and sensitive term lists directly addresses the need to block prohibited content without requiring additional post-processing logic or external management APIs.

Need the theory? Learn it free in the AIP-C01 course on Godlike Academy

Practice the whole free set

Answer all 20 free AIP-C01 questions with instant feedback, or unlock all 97 questions with Learn and Exam modes.