AIF-C01: AWS Certified AI Practitioner

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?

  1. Integration with Amazon S3 for object storage
  2. Support for geospatial indexing and queries
  3. Scalable index management and nearest neighbor search capability
  4. Ability to perform real-time analysis on streaming data

Question 22

Which option is a use case for generative AI models?

  1. Improving network security by using intrusion detection systems
  2. Creating photorealistic images from text descriptions for digital marketing
  3. Enhancing database performance by using optimized indexing
  4. 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?

  1. Temperature
  2. Context window
  3. Batch size
  4. 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?

  1. Set a low limit on the number of tokens the FM can produce.
  2. Use batch inferencing to process detailed responses.
  3. Experiment and refine the prompt until the FM produces the desired responses.
  4. 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?

  1. Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
  2. Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
  3. Provide the new text passage to be classified without any additional context or examples.
  4. Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.