AWS Certified AI Practitioner AIF-C01 Practice Test

AWS Certified AI Practitioner AIF-C01 Practice Test practice questions, page 12 of 20, with answer review and explanations.

Question 56

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 57

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 58

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 59

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.

Question 60

A security company is using Amazon Bedrock to run foundation models (FMs). The company wants to ensure that only authorized users invoke the models. The company needs to identify any unauthorized access attempts to set appropriate AWS Identity and Access Management (IAM) policies and roles for future iterations of the FMs. Which AWS service should the company use to identify unauthorized users that are trying to access Amazon Bedrock?

  1. AWS Audit Manager
  2. AWS CloudTrail
  3. Amazon Fraud Detector
  4. AWS Trusted Advisor