πŸ”

AIF-C01 β€” questions

Page 9 of 22 Β· 422 total questions.

Topic 1 Β· Question 162

What is tokenization used for in natural language processing (NLP)?

  • ATo encrypt text data
  • BTo compress text files
  • CTo break text into smaller units for processing (correct answer)
  • DTo translate text between languages
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: To break text into smaller units for processing.

Topic 1 Β· Question 163

Which option is a characteristic of transformer-based language models?

  • ATransformer-based language models use convolutional layers to apply filters across an input to capture local patterns through filtered views.
  • BTransformer-based language models can process only text data.
  • CTransformer-based language models use self-attention mechanisms to capture contextual relationships. (correct answer)
  • DTransformer-based language models process data sequences one element at a time in cyclic iterations.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Transformer-based language models use self-attention mechanisms to capture contextual relationships.

Topic 1 Β· Question 164

A financial company is using AI systems to obtain customer credit scores as part of the loan application process. The company wants to expand to a new market in a different geographic area. The company must ensure that it can operate in that geographic area. Which compliance laws should the company review?

  • ALocal health data protection laws
  • BLocal payment card data protection laws
  • CLocal education privacy laws
  • DLocal algorithm accountability laws (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Local algorithm accountability laws.

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

A company uses Amazon Bedrock for its generative AI application. The company wants to use Amazon Bedrock Guardrails to detect and filter harmful user inputs and model-generated outputs. Which content categories can the guardrails filter? (Choose two.)

  • AHate (correct answer)
  • BPolitics
  • CViolence (correct answer)
  • DGambling
  • EReligion
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Hate Option C: Violence.

Topic 1 Β· Question 166

Which scenario describes a potential risk and limitation of prompt engineering in the context of a generative AI model?

  • APrompt engineering does not ensure that the model always produces consistent and deterministic outputs, eliminating the need for validation.
  • BPrompt engineering could expose the model to vulnerabilities such as prompt injection attacks. (correct answer)
  • CProperly designed prompts reduce but do not eliminate the risk of data poisoning or model hijacking.
  • DPrompt engineering does not ensure that the model will consistently generate highly reliable outputs when working with real-world data.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Prompt engineering could expose the model to vulnerabilities such as prompt injection attacks.

Topic 1 Β· Question 167

A publishing company built a Retrieval Augmented Generation (RAG) based solution to give its users the ability to interact with published content. New content is published daily. The company wants to provide a near real-time experience to users. Which steps in the RAG pipeline should the company implement by using offline batch processing to meet these requirements? (Choose two.)

  • AGeneration of content embeddings (correct answer)
  • BGeneration of embeddings for user queries
  • CCreation of the search index
  • DRetrieval of relevant content
  • EResponse generation for the user
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Generation of content embeddings This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 168

Which technique breaks a complex task into smaller subtasks that are sent sequentially to a large language model (LLM)?

  • AOne-shot prompting
  • BPrompt chaining (correct answer)
  • CTree of thoughts
  • DRetrieval Augmented Generation (RAG)
Reveal answer & explanation
Correct answer: B

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

Topic 1 Β· Question 169

An AI practitioner needs to improve the accuracy of a natural language generation model. The model uses rapidly changing inventory data. Which technique will improve the model's accuracy?

  • ATransfer learning
  • BFederated learning
  • CRetrieval Augmented Generation (RAG) (correct answer)
  • DOne-shot prompting
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Retrieval Augmented Generation (RAG).

Topic 1 Β· Question 170

A company wants to collaborate with several research institutes to develop an AI model. The company needs standardized documentation of model version tracking and a record of model development. Which solution meets these requirements?

  • ATrack the model changes by using Git.
  • BTrack the model changes by using Amazon Fraud Detector.
  • CTrack the model changes by using Amazon SageMaker Model Cards. (correct answer)
  • DTrack the model changes by using Amazon Comprehend.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Track the model changes by using Amazon SageMaker Model Cards.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Topic 1 Β· Question 171

A company that uses multiple ML models wants to identify changes in original model quality so that the company can resolve any issues. Which AWS service or feature meets these requirements?

  • AAmazon SageMaker JumpStart
  • BAmazon SageMaker HyperPod
  • CAmazon SageMaker Data Wrangler
  • DAmazon SageMaker Model Monitor (correct answer)
Reveal answer & explanation
Correct answer: D

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

Explanation

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

Topic 1 Β· Question 172

What is the purpose of chunking in Retrieval Augmented Generation (RAG)?

  • ATo avoid database storage limitations for large text documents by storing parts or chunks of the text
  • BTo improve efficiency by avoiding the need to convert large text into vector embeddings
  • CTo improve the contextual relevancy of results retrieved from the vector index (correct answer)
  • DTo decrease the cost of storage by storing parts or chunks of the text
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: To improve the contextual relevancy of results retrieved from the vector index.

Topic 1 Β· Question 173

A company is developing an editorial assistant application that uses generative AI. During the pilot phase, usage is low and application performance is not a concern. The company cannot predict application usage after the application is fully deployed and wants to minimize application costs. Which solution will meet these requirements?

  • AUse GPU-powered Amazon EC2 instances.
  • BUse Amazon Bedrock with Provisioned Throughput.
  • CUse Amazon Bedrock with On-Demand Throughput. (correct answer)
  • DUse Amazon SageMaker JumpStart.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon Bedrock with On-Demand Throughput.

Explanation

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

Topic 1 Β· Question 174

A company deployed a Retrieval Augmented Generation (RAG) application on Amazon Bedrock that gathers financial news to distribute in daily newsletters. Users have recently reported politically influenced ideas in the newsletters. Which Amazon Bedrock guardrail can identify and filter this content?

  • AWord filters
  • BDenied topics (correct answer)
  • CSensitive information filters
  • DContent filters
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Denied topics.

Topic 1 Β· Question 175

A financial company is developing a fraud detection system that flags potential fraud cases in credit card transactions. Employees will evaluate the flagged fraud cases. The company wants to minimize the amount of time the employees spend reviewing flagged fraud cases that are not actually fraudulent. Which evaluation metric meets these requirements?

  • ARecall
  • BAccuracy
  • CPrecision (correct answer)
  • DLift chart
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Precision.

Topic 1 Β· Question 176

A company designed an AI-powered agent to answer customer inquiries based on product manuals. Which strategy can improve customer confidence levels in the AI-powered agent's responses?

  • AWriting the confidence level in the response
  • BIncluding referenced product manual links in the response (correct answer)
  • CDesigning an agent avatar that looks like a computer
  • DTraining the agent to respond in the company's language style
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Including referenced product manual links in the response.

Topic 1 Β· Question 177

A hospital developed an AI system to provide personalized treatment recommendations for patients. The AI system must provide the rationale behind the recommendations and make the insights accessible to doctors and patients. Which human-centered design principle does this scenario present?

  • AExplainability (correct answer)
  • BPrivacy and security
  • CFairness
  • DData governance
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Explainability.

Topic 1 Β· Question 178

Which statement presents an advantage of using Retrieval Augmented Generation (RAG) for natural language processing (NLP) tasks?

  • ARAG can use external knowledge sources to generate more accurate and informative responses. (correct answer)
  • BRAG is designed to improve the speed of language model training.
  • CRAG is primarily used for speech recognition tasks.
  • DRAG is a technique for data augmentation in computer vision tasks.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: RAG can use external knowledge sources to generate more accurate and informative responses.

Topic 1 Β· Question 179

A company has created a custom model by fine-tuning an existing large language model (LLM) from Amazon Bedrock. The company wants to deploy the model to production and use the model to handle a steady rate of requests each minute. Which solution meets these requirements MOST cost-effectively?

  • ADeploy the model by using an Amazon EC2 compute optimized instance.
  • BUse the model with on-demand throughput on Amazon Bedrock.
  • CStore the model in Amazon S3 and host the model by using AWS Lambda.
  • DPurchase Provisioned Throughput for the model on Amazon Bedrock. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Purchase Provisioned Throughput for the model on Amazon Bedrock.

Explanation

Amazon Bedrock provides access to foundation models through a managed API. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 180

Which technique involves training AI models on labeled datasets to adapt the models to specific industry terminology and requirements?

  • AData augmentation
  • BFine-tuning (correct answer)
  • CModel quantization
  • DContinuous pre-training
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Fine-tuning.

Topic 1 Β· Question 181

A company is creating an agent for its application by using Amazon Bedrock Agents. The agent is performing well, but the company wants to improve the agent’s accuracy by providing some specific examples. Which solution meets these requirements?

  • AModify the advanced prompts for the agent to include the examples. (correct answer)
  • BCreate a guardrail for the agent that includes the examples.
  • CUse Amazon SageMaker Ground Truth to label the examples.
  • DRun a script in AWS Lambda that adds the examples to the training dataset.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Modify the advanced prompts for the agent to include the examples.

Showing questions 161–180 of 422 Β· Page 9 of 22