AIF-C01: AWS Certified AI Practitioner practice questions, page 5 of 22, with answer review and explanations.
Question 21
Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?
Integration with Amazon S3 for object storage
Support for geospatial indexing and queries
Scalable index management and nearest neighbor search capability
Ability to perform real-time analysis on streaming data
Question 22
Which option is a use case for generative AI models?
Improving network security by using intrusion detection systems
Creating photorealistic images from text descriptions for digital marketing
Enhancing database performance by using optimized indexing
Analyzing financial data to forecast stock market trends
Question 23
A company wants to build a generative AI application by using Amazon Bedrock and needs to choose a foundation model (FM). The company wants to know how much information can fit into one prompt. Which consideration will inform the company's decision?
Temperature
Context window
Batch size
Model size
Question 24
A company wants to make a chatbot to help customers. The chatbot will help solve technical problems without human intervention. The company chose a foundation model (FM) for the chatbot. The chatbot needs to produce responses that adhere to company tone. Which solution meets these requirements?
Set a low limit on the number of tokens the FM can produce.
Use batch inferencing to process detailed responses.
Experiment and refine the prompt until the FM produces the desired responses.
Define a higher number for the temperature parameter.
Question 25
A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company wants to classify the sentiment of text passages as positive or negative. Which prompt engineering strategy meets these requirements?
Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
Provide the new text passage to be classified without any additional context or examples.
Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.