AIP-C01 practice question 2 of 15
A company is developing a customer communication platform that uses an AI assistant powered by an Amazon Bedrock foundation model (FM). The AI…
Full set: 127 questionsThis solution effectively meets all requirements. Using parallel processing for the different Amazon Comprehend API calls (toxicity, prompt safety, PII) is crucial for minimizing latency, as all filters must run before the FM is invoked. It correctly maps the requirements to the specific Comprehend features: toxicity detection for offensive content, prompt safety classification for inappropriate advice, and PII detection with entity redaction to protect customer privacy. Configuring thresholds and alarms are standard best practices for operationalizing such a filtering system.
A. This option fails the privacy requirement because it specifies PII detection without redaction, which would identify but not protect the sensitive information.
B. Building a custom classification model is high effort and unnecessary when standard Comprehend features meet the needs. Applying PII detection conditionally is inefficient.
C. A multi-stage, serial process would increase latency, violating the requirement for acceptable response times, as each filter would have to wait for the previous one to complete.
1. AWS Documentation. (2024). Amazon Comprehend Developer Guide. See "Detecting personally identifiable information (PII)". (Describes the DetectPiiEntities operation and the ability to redact PII).
2. AWS Documentation. (2024). Amazon Comprehend Developer Guide. See "Prompt safety classification". (Explains this feature is designed to classify prompts to help prevent the generation of unsafe content).
3. AWS Machine Learning Blog. (2024, February 29). Implement content moderation in generative AI applications with Amazon Comprehend and Amazon Bedrock. (Provides an architecture that uses Comprehend for content moderation, including toxicity and PII detection, as a pre-processing step before calling the Bedrock FM).
4. AWS Documentation. (2024). Amazon Comprehend Developer Guide. See "Content moderation". (Details the toxicity detection feature, which classifies content into different toxicity categories).
Keep practicing
Take the free AIP-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AIP-C01 practice questions
- Question 1A company is designing a canary deployment strategy for a payment processing API. The sys…
- Question 3An ecommerce company is developing a generative AI application that uses Amazon Bedrock w…
- Question 4A global healthcare company is deploying a GenAI application on Amazon Bedrock to produce…
- Question 5A medical company is creating a generative AI (GenAI) system by using Amazon Bedrock. The…
- Question 6A company is developing three specialized NLP models that support a customer service appl…
- Question 7A financial services company is developing a customer service AI assistant by using Amazo…
