πŸ”

AIF-C01 β€” questions

Page 2 of 22 Β· 422 total questions.

Topic 1 Β· Question 21

Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?

  • AIntegration with Amazon S3 for object storage
  • BSupport for geospatial indexing and queries
  • CScalable index management and nearest neighbor search capability (correct answer)
  • DAbility to perform real-time analysis on streaming data
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Scalable index management and nearest neighbor search capability.

Topic 1 Β· Question 22

Which option is a use case for generative AI models?

  • AImproving network security by using intrusion detection systems
  • BCreating photorealistic images from text descriptions for digital marketing (correct answer)
  • CEnhancing database performance by using optimized indexing
  • DAnalyzing financial data to forecast stock market trends
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Creating photorealistic images from text descriptions for digital marketing.

Topic 1 Β· 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?

  • ATemperature
  • BContext window (correct answer)
  • CBatch size
  • DModel size
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Context window.

Topic 1 Β· 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?

  • ASet a low limit on the number of tokens the FM can produce.
  • BUse batch inferencing to process detailed responses.
  • CExperiment and refine the prompt until the FM produces the desired responses. (correct answer)
  • DDefine a higher number for the temperature parameter.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Experiment and refine the prompt until the FM produces the desired responses.

Topic 1 Β· 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?

  • AProvide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified. (correct answer)
  • BProvide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
  • CProvide the new text passage to be classified without any additional context or examples.
  • DProvide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.

Topic 1 Β· Question 26

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?

  • AAWS Audit Manager
  • BAWS CloudTrail (correct answer)
  • CAmazon Fraud Detector
  • DAWS Trusted Advisor
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: AWS CloudTrail

Explanation

AWS CloudTrail records API activity for auditing and governance.

Topic 1 Β· Question 27

A company has developed an ML model for image classification. The company wants to deploy the model to production so that a web application can use the model. The company needs to implement a solution to host the model and serve predictions without managing any of the underlying infrastructure. Which solution will meet these requirements?

  • AUse Amazon SageMaker Serverless Inference to deploy the model. (correct answer)
  • BUse Amazon CloudFront to deploy the model.
  • CUse Amazon API Gateway to host the model and serve predictions.
  • DUse AWS Batch to host the model and serve predictions.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Amazon SageMaker Serverless Inference to deploy the model.

Explanation

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

Topic 1 Β· Question 28

An AI company periodically evaluates its systems and processes with the help of independent software vendors (ISVs). The company needs to receive email message notifications when an ISV's compliance reports become available. Which AWS service can the company use to meet this requirement?

  • AAWS Audit Manager
  • BAWS Artifact (correct answer)
  • CAWS Trusted Advisor
  • DAWS Data Exchange
Reveal answer & explanation
Correct answer: B

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

Topic 1 Β· Question 29

A company wants to use a large language model (LLM) to develop a conversational agent. The company needs to prevent the LLM from being manipulated with common prompt engineering techniques to perform undesirable actions or expose sensitive information. Which action will reduce these risks?

  • ACreate a prompt template that teaches the LLM to detect attack patterns. (correct answer)
  • BIncrease the temperature parameter on invocation requests to the LLM.
  • CAvoid using LLMs that are not listed in Amazon SageMaker.
  • DDecrease the number of input tokens on invocations of the LLM.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a prompt template that teaches the LLM to detect attack patterns.

Topic 1 Β· Question 30

A company is using the Generative AI Security Scoping Matrix to assess security responsibilities for its solutions. The company has identified four different solution scopes based on the matrix. Which solution scope gives the company the MOST ownership of security responsibilities?

  • AUsing a third-party enterprise application that has embedded generative AI features.
  • BBuilding an application by using an existing third-party generative AI foundation model (FM).
  • CRefining an existing third-party generative AI foundation model (FM) by fine-tuning the model by using data specific to the business.
  • DBuilding and training a generative AI model from scratch by using specific data that a customer owns. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Building and training a generative AI model from scratch by using specific data that a customer owns.

Topic 1 Β· Question 31

An AI practitioner has a database of animal photos. The AI practitioner wants to automatically identify and categorize the animals in the photos without manual human effort. Which strategy meets these requirements?

  • AObject detection (correct answer)
  • BAnomaly detection
  • CNamed entity recognition
  • DInpainting
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Object detection.

Topic 1 Β· Question 32

A company wants to create an application by using Amazon Bedrock. The company has a limited budget and prefers flexibility without long-term commitment. Which Amazon Bedrock pricing model meets these requirements?

  • AOn-Demand (correct answer)
  • BModel customization
  • CProvisioned Throughput
  • DSpot Instance
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: On-Demand.

Topic 1 Β· Question 33

Which AWS service or feature can help an AI development team quickly deploy and consume a foundation model (FM) within the team's VPC?

  • AAmazon Personalize
  • BAmazon SageMaker JumpStart (correct answer)
  • CPartyRock, an Amazon Bedrock Playground
  • DAmazon SageMaker endpoints
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Amazon SageMaker JumpStart

Explanation

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

Topic 1 Β· Question 34

How can companies use large language models (LLMs) securely on Amazon Bedrock?

  • ADesign clear and specific prompts. Configure AWS Identity and Access Management (IAM) roles and policies by using least privilege access. (correct answer)
  • BEnable AWS Audit Manager for automatic model evaluation jobs.
  • CEnable Amazon Bedrock automatic model evaluation jobs.
  • DUse Amazon CloudWatch Logs to make models explainable and to monitor for bias.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Design clear and specific prompts. Configure AWS Identity and Access Management (IAM) roles and policies by using least privilege access.

Explanation

AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 35

A company has terabytes of data in a database that the company can use for business analysis. The company wants to build an AI-based application that can build a SQL query from input text that employees provide. The employees have minimal experience with technology. Which solution meets these requirements?

  • AGenerative pre-trained transformers (GPT) (correct answer)
  • BResidual neural network
  • CSupport vector machine
  • DWaveNet
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Generative pre-trained transformers (GPT).

Topic 1 Β· Question 36

A company built a deep learning model for object detection and deployed the model to production. Which AI process occurs when the model analyzes a new image to identify objects?

  • ATraining
  • BInference (correct answer)
  • CModel deployment
  • DBias correction
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Inference.

Topic 1 Β· Question 37

An AI practitioner is building a model to generate images of humans in various professions. The AI practitioner discovered that the input data is biased and that specific attributes affect the image generation and create bias in the model. Which technique will solve the problem?

  • AData augmentation for imbalanced classes (correct answer)
  • BModel monitoring for class distribution
  • CRetrieval Augmented Generation (RAG)
  • DWatermark detection for images
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Data augmentation for imbalanced classes.

Topic 1 Β· Question 38

A company is implementing the Amazon Titan foundation model (FM) by using Amazon Bedrock. The company needs to supplement the model by using relevant data from the company's private data sources. Which solution will meet this requirement?

  • AUse a different FM.
  • BChoose a lower temperature value.
  • CCreate an Amazon Bedrock knowledge base. (correct answer)
  • DEnable model invocation logging.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create an Amazon Bedrock knowledge base.

Explanation

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

Topic 1 Β· Question 39

A medical company is customizing a foundation model (FM) for diagnostic purposes. The company needs the model to be transparent and explainable to meet regulatory requirements. Which solution will meet these requirements?

  • AConfigure the security and compliance by using Amazon Inspector.
  • BGenerate simple metrics, reports, and examples by using Amazon SageMaker Clarify. (correct answer)
  • CEncrypt and secure training data by using Amazon Macie.
  • DGather more data. Use Amazon Rekognition to add custom labels to the data.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Generate simple metrics, reports, and examples by using Amazon SageMaker Clarify.

Explanation

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

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

A company wants to deploy a conversational chatbot to answer customer questions. The chatbot is based on a fine-tuned Amazon SageMaker JumpStart model. The application must comply with multiple regulatory frameworks. Which capabilities can the company show compliance for? (Choose two.)

  • AAuto scaling inference endpoints
  • BThreat detection (correct answer)
  • CData protection (correct answer)
  • DCost optimization
  • ELoosely coupled microservices
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Threat detection Option C: Data protection.

Showing questions 21–40 of 422 Β· Page 2 of 22