πŸ”

AIF-C01 β€” questions

Page 10 of 22 Β· 422 total questions.

Topic 1 Β· Question 182

Which option is a benefit of using infrastructure as code (IaC) in machine learning operations (MLOps)?

  • AIaC eliminates the need for hyperparameter tuning.
  • BIaC always provisions powerful compute instances, contributing to the training of more accurate models.
  • CIaC streamlines the deployment of scalable and consistent ML workloads in cloud environments. (correct answer)
  • DIaC minimizes overall expenses by deploying only low-cost instances.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: IaC streamlines the deployment of scalable and consistent ML workloads in cloud environments.

Topic 1 Β· Question 183

A company wants to fine-tune a foundation model (FM) to answer questions for a specific domain. The company wants to use instruction-based fine-tuning. How should the company prepare the training data?

  • AGather company internal documents and industry-specific materials. Merge the documents and materials into a single file.
  • BCollect external company reviews from various online sources. Manually label each review as either positive or negative.
  • CCreate pairs of questions and answers that specifically address topics related to the company's industry domain. (correct answer)
  • DCreate few-shot prompts to instruct the model to answer only domain knowledge.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create pairs of questions and answers that specifically address topics related to the company's industry domain.

Topic 1 Β· Question 184

Which ML technique ensures data compliance and privacy when training AI models on AWS?

  • AReinforcement learning
  • BTransfer learning
  • CFederated learning (correct answer)
  • DUnsupervised learning
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Federated learning.

Topic 1 Β· Question 186

A manufacturing company has an application that ingests consumer complaints from publicly available sources. The application uses complex hard-coded logic to process the complaints. The company wants to scale this logic across markets and product lines. Which advantage do generative AI models offer for this scenario?

  • APredictability of outputs
  • BAdaptability (correct answer)
  • CLess sensitivity to changes in inputs
  • DExplainability
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Adaptability.

Topic 1 Β· Question 187

A financial company wants to flag all credit card activity as possibly fraudulent or non-fraudulent based on transaction data. Which type of ML model meets these requirements?

  • ARegression
  • BDiffusion
  • CBinary classification (correct answer)
  • DMulti-class classification
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Binary classification.

Topic 1 Β· Question 189

A hospital wants to use a generative AI solution with speech-to-text functionality to help improve employee skills in dictating clinical notes. Which AWS service meets these requirements?

  • AAmazon Q Developer
  • BAmazon Polly
  • CAmazon Rekognition
  • DAWS HealthScribe (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: AWS HealthScribe.

Topic 1 Β· Question 190

Which type of AI model makes numeric predictions?

  • ADiffusion
  • BRegression (correct answer)
  • CTransformer
  • DMulti-modal
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Regression.

Topic 1 Β· Question 192

What is the purpose of vector embeddings in a large language model (LLM)?

  • ASplitting text into manageable pieces of data
  • BGrouping a set of characters to be treated as a single unit
  • CProviding the ability to mathematically compare texts (correct answer)
  • DProviding the count of every word in the input
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Providing the ability to mathematically compare texts.

Topic 1 Β· Question 193 Β· Select all that apply

A company wants to fine-tune a foundation model (FM) by using AWS services. The company needs to ensure that its data stays private, safe, and secure in the source AWS Region where the data is stored. Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

  • AHost the model on premises by using AWS Outposts.
  • BUse the Amazon Bedrock API. (correct answer)
  • CUse AWS PrivateLink and a VPC. (correct answer)
  • DHost the Amazon Bedrock API on premises.
  • EUse Amazon CloudWatch logs and metrics.
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Use the Amazon Bedrock API. Option C: Use AWS PrivateLink and a VPC.

Explanation

AWS PrivateLink exposes services privately inside the VPC without internet exposure. Amazon Bedrock provides access to foundation models through a managed API. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 194

A financial company uses AWS to host its generative AI models. The company must generate reports to show adherence to international regulations for handling sensitive customer data. Which AWS service meets these requirements?

  • AAmazon Macie
  • BAWS Artifact (correct answer)
  • CAWS Secrets Manager
  • DAWS Config
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: AWS Artifact.

Topic 1 Β· Question 195

A medical company wants to modernize its onsite information processing application. The company wants to use generative AI to respond to medical questions from patients. Which AWS service should the company use to ensure responsible AI for the application?

  • AGuardrails for Amazon Bedrock (correct answer)
  • BAmazon Inspector
  • CAmazon Rekognition
  • DAWS Trusted Advisor
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Guardrails for Amazon Bedrock

Explanation

Amazon Bedrock provides access to foundation models through a managed API.

Topic 1 Β· Question 196

Which metric is used to evaluate the performance of foundation models (FMs) for text summarization tasks?

  • AF1 score
  • BBilingual Evaluation Understudy (BLEU) score (correct answer)
  • CAccuracy
  • DMean squared error (MSE)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Bilingual Evaluation Understudy (BLEU) score.

Topic 1 Β· Question 197

What is the benefit of fine-tuning a foundation model (FM)?

  • AFine-tuning reduces the FM's size and complexity and enables slower inference.
  • BFine-tuning uses specific training data to retrain the FM from scratch to adapt to a specific use case.
  • CFine-tuning keeps the FM's knowledge up to date by pre-training the FM on more recent data.
  • DFine-tuning improves the performance of the FM on a specific task by further training the FM on new labeled data. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Fine-tuning improves the performance of the FM on a specific task by further training the FM on new labeled data.

Topic 1 Β· Question 198

A company wants to improve its chatbot's responses to match the company's desired tone. The company has 100 examples of high-quality conversations between customer service agents and customers. The company wants to use this data to incorporate company tone into the chatbot's responses. Which solution meets these requirements?

  • AUse Amazon Personalize to generate responses.
  • BCreate an Amazon SageMaker HyperPod pre-training job.
  • CHost the model by using Amazon SageMaker. Use TensorRT for large language model (LLM) deployment.
  • DCreate an Amazon Bedrock fine-tuning job. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an Amazon Bedrock fine-tuning job.

Explanation

Amazon Bedrock provides access to foundation models through a managed API.

Topic 1 Β· Question 199

An ecommerce company is using a chatbot to automate the customer order submission process. The chatbot is powered by AI and is available to customers directly from the company's website 24 hours a day, 7 days a week. Which option is an AI system input vulnerability that the company needs to resolve before the chatbot is made available?

  • AData leakage
  • BPrompt injection (correct answer)
  • CLarge language model (LLM) hallucinations
  • DConcept drift
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Prompt injection.

Topic 1 Β· Question 200

A social media company wants to prevent users from posting discriminatory content on the company's application. The company wants to use Amazon Bedrock as part of the solution. How can the company use Amazon Bedrock to meet these requirements?

  • AGive users the ability to interact based on user preferences.
  • BBlock interactions related to predefined topics. (correct answer)
  • CRestrict user conversations to predefined topics.
  • DProvide a variety of responses to select from for user engagement.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Block interactions related to predefined topics.

Topic 1 Β· Question 201

An education company waftion. The application will give users the ability to enter text or provide a picture of a question. The application will respond with a written answer and an explanation of the written answer. Which model type meets these requirements?

  • AComputer vision model
  • BLarge multi-modal language model (correct answer)
  • CDiffusion model
  • DText-to-speech model
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Large multi-modal language model.

Topic 1 Β· Question 202

In which stage of the generative AI model lifecycle are tests performed to examine the model's accuracy?

  • ADeployment
  • BData selection
  • CFine-tuning
  • DEvaluation (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Evaluation.

Topic 1 Β· Question 203

Which statement correctly describes embeddings in generative AI?

  • AEmbeddings represent data as high-dimensional vectors that capture semantic relationships. (correct answer)
  • BEmbeddings is a technique that searches data to find the most helpful information to answer natural language questions.
  • CEmbeddings reduce the hardware requirements of a model by using a less precise data type for the weights and activations.
  • DEmbeddings provide the ability to store and retrieve data for generative AI applications.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Embeddings represent data as high-dimensional vectors that capture semantic relationships.

Topic 1 Β· Question 204

A company wants to add generative AI functionality to its application by integrating a large language model (LLM). The responses from the LLM must be as deterministic and as stable as possible. Which solution meets these requirements?

  • AConfigure the application to automatically set the temperature parameter to 0 when submitting the prompt to the LLM. (correct answer)
  • BConfigure the application to automatically add "make your response deterministic" at the end of the prompt before submitting the prompt to the LLM.
  • CConfigure the application to automatically add "make your response deterministic" at the beginning of the prompt before submitting the prompt to the LLM.
  • DConfigure the application to automatically set the temperature parameter to 1 when submitting the prompt to the LLM.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure the application to automatically set the temperature parameter to 0 when submitting the prompt to the LLM.

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

Showing questions 181–200 of 422 Β· Page 10 of 22