πŸ”

AIF-C01 β€” questions

Page 11 of 22 Β· 422 total questions.

Topic 1 Β· Question 205

A company needs to select a generative AI model to build an application. The application must provide responses to users in real time. Which model characteristic should the company consider to meet these requirements?

  • AModel complexity
  • BInnovation speed
  • CInference speed (correct answer)
  • DTraining time
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Inference speed This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 206

Which term refers to the instructions given to foundation models (FMs) so that the FMs provide a more accurate response to a question?

  • APrompt (correct answer)
  • BDirection
  • CDialog
  • DTranslation
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Prompt.

Topic 1 Β· Question 207

A retail company wants to build an ML model to recommend products to customers. The company wants to build the model based on responsible practices. Which practice should the company apply when collecting data to decrease model bias?

  • AUse data from only customers who match the demographics of the company's overall customer base.
  • BCollect data from customers who have a past purchase history.
  • CEnsure that the data is balanced and collected from a diverse group. (correct answer)
  • DEnsure that the data is from a publicly available dataset.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Ensure that the data is balanced and collected from a diverse group.

Topic 1 Β· Question 208

A company is developing an ML model to predict customer churn. Which evaluation metric will assess the model's performance on a binary classification task such as predicting churn?

  • AF1 score (correct answer)
  • BMean squared error (MSE)
  • CR-squared
  • DTime used to train the model
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: F1 score.

Topic 1 Β· Question 209

An AI practitioner is evaluating the performance of an Amazon SageMaker model. The AI practitioner must choose a performance metric. The metric must show the ratio of the number of correctly classified items to the total number of correctly and incorrectly classified items. Which metric meets these requirements?

  • AAccuracy (correct answer)
  • BPrecision
  • CF1 score
  • DRecall
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Accuracy.

Topic 1 Β· Question 210

An ecommerce company receives multiple gigabytes of customer data daily. The company uses the data to train an ML model to forecast future product demand. The company needs a solution to perform inferences once each day. Which inference type meets these requirements?

  • ABatch inference (correct answer)
  • BAsynchronous inference
  • CReal-time inference
  • DServerless inference
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Batch inference

Explanation

AWS Batch schedules and runs batch computing jobs at any scale without managing clusters.

Topic 1 Β· Question 211

A company has developed a generative AI model for customer segmentation. The model has been deployed in the company's production environment for a long time. The company recently noticed some inconsistency in the model's responses. The company wants to evaluate model bias and drift. Which AWS service or feature meets these requirements?

  • AAmazon SageMaker Model Monitor (correct answer)
  • BAmazon SageMaker Clarify
  • CAmazon SageMaker Model Cards
  • DAmazon SageMaker Feature Store
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Amazon SageMaker Model Monitor

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Topic 1 Β· Question 212

A company has signed up for Amazon Bedrock access to build applications. The company wants to restrict employee access to specific models available on Amazon Bedrock. Which solution meets these requirements?

  • AUse AWS Identity and Access Management (IAM) policies to restrict model access. (correct answer)
  • BUse AWS Security Token Service (AWS STS) to generate temporary credentials for model use.
  • CUse AWS Identity and Access Management (IAM) service roles to restrict model subscription.
  • DUse Amazon Inspector to monitor model access.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use AWS Identity and Access Management (IAM) policies to restrict model access.

Explanation

AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies.

Topic 1 Β· Question 213

Which ML technique uses training data that is labeled with the correct output values?

  • ASupervised learning (correct answer)
  • BUnsupervised learning
  • CReinforcement learning
  • DTransfer learning
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Supervised learning.

Topic 1 Β· Question 214

Which large language model (LLM) parameter controls the number of possible next words or tokens considered at each step of the text generation process?

  • AMaximum tokens
  • BTop K (correct answer)
  • CTemperature
  • DBatch size
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Top K.

Topic 1 Β· Question 215

A company is making a chatbot. The chatbot uses Amazon Lex and Amazon OpenSearch Service. The chatbot uses the company's private data to answer questions. The company needs to convert the data into a vector representation before storing the data in a database. Which type of foundation model (FM) meets these requirements?

  • AText completion model
  • BInstruction following model
  • CText embeddings model (correct answer)
  • DImage generation model
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Text embeddings model.

Topic 1 Β· Question 216

A company wants to use a large language model (LLM) to generate product descriptions. The company wants to give the model example descriptions that follow a format. Which prompt engineering technique will generate descriptions that match the format?

  • AZero-shot prompting
  • BChain-of-thought prompting
  • COne-shot prompting
  • DFew-shot prompting (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Few-shot prompting.

Topic 1 Β· Question 217

A bank is fine-tuning a large language model (LLM) on Amazon Bedrock to assist customers with questions about their loans. The bank wants to ensure that the model does not reveal any private customer data. Which solution meets these requirements?

  • AUse Amazon Bedrock Guardrails.
  • BRemove personally identifiable information (PII) from the customer data before fine-tuning the LLM. (correct answer)
  • CIncrease the Top-K parameter of the LLM.
  • DStore customer data in Amazon S3. Encrypt the data before fine-tuning the LLM.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Remove personally identifiable information (PII) from the customer data before fine-tuning the LLM.

Topic 1 Β· Question 218

A grocery store wants to create a chatbot to help customers find products in the store. The chatbot must check the inventory in real time and provide the product location in the store. Which prompt engineering technique should the store use to build the chatbot?

  • AZero-shot prompting
  • BFew-shot prompting
  • CLeast-to-most prompting
  • DReasoning and acting (ReAct) prompting (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Reasoning and acting (ReAct) prompting This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 219

A company uses a third-party model on Amazon Bedrock to analyze confidential documents. The company is concerned about data privacy. Which statement describes how Amazon Bedrock protects data privacy?

  • AUser inputs and model outputs are anonymized and shared with third-party model providers.
  • BUser inputs and model outputs are not shared with any third-party model providers. (correct answer)
  • CUser inputs are kept confidential, but model outputs are shared with third-party model providers.
  • DUser inputs and model outputs are redacted before the inputs and outputs are shared with third-party model providers.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: User inputs and model outputs are not shared with any third-party model providers.

Topic 1 Β· Question 220

An animation company wants to provide subtitles for its content. Which AWS service meets this requirement?

  • AAmazon Comprehend
  • BAmazon Polly
  • CAmazon Transcribe (correct answer)
  • DAmazon Translate
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Amazon Transcribe

Explanation

Amazon Transcribe converts speech to text.

Topic 1 Β· Question 221

An ecommerce company wants to group customers based on their purchase history and preferences to personalize the user experience of the company's application. Which ML technique should the company use?

  • AClassification
  • BClustering (correct answer)
  • CRegression
  • DContent generation
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Clustering.

Topic 1 Β· Question 222

A company wants to control employee access to publicly available foundation models (FMs). Which solution meets these requirements?

  • AAnalyze cost and usage reports in AWS Cost Explorer.
  • BDownload AWS security and compliance documents from AWS Artifact.
  • CConfigure Amazon SageMaker JumpStart to restrict discoverable FMs. (correct answer)
  • DBuild a hybrid search solution by using Amazon OpenSearch Service.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure Amazon SageMaker JumpStart to restrict discoverable FMs.

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 223

A company has set up a translation tool to help its customer service team handle issues from customers around the world. The company wants to evaluate the performance of the translation tool. The company sets up a parallel data process that compares the responses from the tool to responses from actual humans. Both sets of responses are generated on the same set of documents. Which strategy should the company use to evaluate the translation tool?

  • AUse the Bilingual Evaluation Understudy (BLEU) score to estimate the absolute translation quality of the two methods.
  • BUse the Bilingual Evaluation Understudy (BLEU) score to estimate the relative translation quality of the two methods. (correct answer)
  • CUse the BERTScore to estimate the absolute translation quality of the two methods.
  • DUse the BERTScore to estimate the relative translation quality of the two methods.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use the Bilingual Evaluation Understudy (BLEU) score to estimate the relative translation quality of the two methods.

Topic 1 Β· Question 224

An AI practitioner wants to generate more diverse and more creative outputs from a large language model (LLM). How should the AI practitioner adjust the inference parameter?

  • AIncrease the temperature value. (correct answer)
  • BDecrease the Top K value.
  • CIncrease the response length.
  • DDecrease the prompt length.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Increase the temperature value.

Showing questions 201–220 of 422 Β· Page 11 of 22