AIP-C01 practice question 9 of 15
A medical company uses Amazon Bedrock to power a clinical documentation summarization system. The system produces inconsistent summaries when…
Full set: 127 questionsThe most robust and systematic solution is to treat prompt engineering as a software development lifecycle process. Implementing version control (e.g., Git) provides a historical record. A dedicated test suite with complex clinical documents ensures the system is evaluated against the problematic cases, not just simple ones. Using quantifiable metrics (e.g., ROUGE, BLEU, or domain-specific accuracy scores) and an automated framework allows for objective, repeatable comparison between prompt versions. This directly addresses the need to diagnose inconsistencies, compare performance against metrics, and maintain version history.
A. Manually testing with simple documents will not solve the problem, which occurs with complex documents. This approach lacks rigor and automated, quantifiable metrics.
C. A/B testing in production is for validating user experience, not for systematically diagnosing and fixing underlying prompt performance issues against established, objective metrics.
D. While a possible approach, it is overly complex for the core task. A standard MLOps/PromptOps framework (as in B) is a more direct and standard way to manage, test, and version prompts.
1. AWS Machine Learning Blog. (2023, November 17). Prompt engineering for foundation models on Amazon Bedrock. AWS. Retrieved from https://aws.amazon.com/blogs/machine-learning/prompt-engineering-for-foundation-models-on-amazon-bedrock/ (Discusses the iterative nature of prompt engineering, implying a need for testing and versioning).
2. Cobbe, K., et al. (2021). Training Verifiers to Solve Math Word Problems. arXiv:2110.14168 [cs.LG]. https://doi.org/10.48550/arXiv.2110.14168 (Section 4, "Results," demonstrates the use of test sets and metrics to evaluate model/prompt performance, a standard academic practice).
3. Stanford University. (n.d.). CS224N: NLP with Deep Learning | Winter 2021. Lecture 15. Retrieved from https://web.stanford.edu/class/cs224n/ (Courseware often covers model evaluation, emphasizing the need for robust test sets and metrics to ensure performance).
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 2A company is developing a customer communication platform that uses an AI assistant power…
- 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…
