πŸ”

AIF-C01 β€” questions

Page 4 of 22 Β· 422 total questions.

Topic 1 Β· Question 61

An AI practitioner is using an Amazon Bedrock base model to summarize session chats from the customer service department. The AI practitioner wants to store invocation logs to monitor model input and output data. Which strategy should the AI practitioner use?

  • AConfigure AWS CloudTrail as the logs destination for the model.
  • BEnable invocation logging in Amazon Bedrock. (correct answer)
  • CConfigure AWS Audit Manager as the logs destination for the model.
  • DConfigure model invocation logging in Amazon EventBridge.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable invocation logging in Amazon Bedrock.

Explanation

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

Topic 1 Β· Question 62

A company is building an ML model to analyze archived data. The company must perform inference on large datasets that are multiple GBs in size. The company does not need to access the model predictions immediately. Which Amazon SageMaker inference option will meet these requirements?

  • ABatch transform (correct answer)
  • BReal-time inference
  • CServerless inference
  • DAsynchronous inference
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Batch transform

Explanation

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

Topic 1 Β· Question 63

Which term describes the numerical representations of real-world objects and concepts that AI and natural language processing (NLP) models use to improve understanding of textual information?

  • AEmbeddings (correct answer)
  • BTokens
  • CModels
  • DBinaries
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Embeddings.

Topic 1 Β· Question 64

A research company implemented a chatbot by using a foundation model (FM) from Amazon Bedrock. The chatbot searches for answers to questions from a large database of research papers. After multiple prompt engineering attempts, the company notices that the FM is performing poorly because of the complex scientific terms in the research papers. How can the company improve the performance of the chatbot?

  • AUse few-shot prompting to define how the FM can answer the questions.
  • BUse domain adaptation fine-tuning to adapt the FM to complex scientific terms. (correct answer)
  • CChange the FM inference parameters.
  • DClean the research paper data to remove complex scientific terms.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.

Topic 1 Β· Question 65

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company needs the LLM to produce more consistent responses to the same input prompt. Which adjustment to an inference parameter should the company make to meet these requirements?

  • ADecrease the temperature value. (correct answer)
  • BIncrease the temperature value.
  • CDecrease the length of output tokens.
  • DIncrease the maximum generation length.
Reveal answer & explanation
Correct answer: A

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

Topic 1 Β· Question 66

A company wants to develop a large language model (LLM) application by using Amazon Bedrock and customer data that is uploaded to Amazon S3. The company's security policy states that each team can access data for only the team's own customers. Which solution will meet these requirements?

  • ACreate an Amazon Bedrock custom service role for each team that has access to only the team's customer data. (correct answer)
  • BCreate a custom service role that has Amazon S3 access. Ask teams to specify the customer name on each Amazon Bedrock request.
  • CRedact personal data in Amazon S3. Update the S3 bucket policy to allow team access to customer data.
  • DCreate one Amazon Bedrock role that has full Amazon S3 access. Create IAM roles for each team that have access to only each team's customer folders.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an Amazon Bedrock custom service role for each team that has access to only the team's customer data.

Explanation

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

Topic 1 Β· Question 67

A medical company deployed a disease detection model on Amazon Bedrock. To comply with privacy policies, the company wants to prevent the model from including personal patient information in its responses. The company also wants to receive notification when policy violations occur. Which solution meets these requirements?

  • AUse Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.
  • BConfigure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.
  • CUse Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations. (correct answer)
  • DImplement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.

Explanation

Amazon Bedrock provides access to foundation models through a managed API. Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health.

Topic 1 Β· Question 68

A company manually reviews all submitted resumes in PDF format. As the company grows, the company expects the volume of resumes to exceed the company's review capacity. The company needs an automated system to convert the PDF resumes into plain text format for additional processing. Which AWS service meets this requirement?

  • AAmazon Textract (correct answer)
  • BAmazon Personalize
  • CAmazon Lex
  • DAmazon Transcribe
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Amazon Textract

Explanation

Amazon Textract extracts text and data from scanned documents.

Topic 1 Β· Question 69

An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the model response depending on who is asking the question. The education provider will give the model the age range of the user who has asked the question. Which solution meets these requirements with the LEAST implementation effort?

  • AFine-tune the model by using additional training data that is representative of the various age ranges that the application will support.
  • BAdd a role description to the prompt context that instructs the model of the age range that the response should target. (correct answer)
  • CUse chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.
  • DSummarize the response text depending on the age of the user so that younger users receive shorter responses.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add a role description to the prompt context that instructs the model of the age range that the response should target.

Topic 1 Β· Question 70

Which strategy evaluates the accuracy of a foundation model (FM) that is used in image classification tasks?

  • ACalculate the total cost of resources used by the model.
  • BMeasure the model's accuracy against a predefined benchmark dataset. (correct answer)
  • CCount the number of layers in the neural network.
  • DAssess the color accuracy of images processed by the model.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Measure the model's accuracy against a predefined benchmark dataset.

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

An accounting firm wants to implement a large language model (LLM) to automate document processing. The firm must proceed responsibly to avoid potential harms. What should the firm do when developing and deploying the LLM? (Choose two.)

  • AInclude fairness metrics for model evaluation. (correct answer)
  • BAdjust the temperature parameter of the model.
  • CModify the training data to mitigate bias. (correct answer)
  • DAvoid overfitting on the training data.
  • EApply prompt engineering techniques.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Include fairness metrics for model evaluation. Option C: Modify the training data to mitigate bias.

Topic 1 Β· Question 72

A company is building an ML model. The company collected new data and analyzed the data by creating a correlation matrix, calculating statistics, and visualizing the data. Which stage of the ML pipeline is the company currently in?

  • AData pre-processing
  • BFeature engineering
  • CExploratory data analysis (correct answer)
  • DHyperparameter tuning
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Exploratory data analysis.

Topic 1 Β· Question 73

A company has documents that are missing some words because of a database error. The company wants to build an ML model that can suggest potential words to fill in the missing text. Which type of model meets this requirement?

  • ATopic modeling
  • BClustering models
  • CPrescriptive ML models
  • DBERT-based models (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: BERT-based models.

Topic 1 Β· Question 74

A company wants to display the total sales for its top-selling products across various retail locations in the past 12 months. Which AWS solution should the company use to automate the generation of graphs?

  • AAmazon Q in Amazon EC2
  • BAmazon Q Developer
  • CAmazon Q in Amazon QuickSight (correct answer)
  • DAmazon Q in AWS Chatbot
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Amazon Q in Amazon QuickSight

Explanation

Amazon QuickSight is a serverless business-intelligence and dashboard service.

Topic 1 Β· Question 75

A company is building a chatbot to improve user experience. The company is using a large language model (LLM) from Amazon Bedrock for intent detection. The company wants to use few-shot learning to improve intent detection accuracy. Which additional data does the company need to meet these requirements?

  • APairs of chatbot responses and correct user intents
  • BPairs of user messages and correct chatbot responses
  • CPairs of user messages and correct user intents (correct answer)
  • DPairs of user intents and correct chatbot responses
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Pairs of user messages and correct user intents.

Topic 1 Β· Question 76

A company is using few-shot prompting on a base model that is hosted on Amazon Bedrock. The model currently uses 10 examples in the prompt. The model is invoked once daily and is performing well. The company wants to lower the monthly cost. Which solution will meet these requirements?

  • ACustomize the model by using fine-tuning.
  • BDecrease the number of tokens in the prompt. (correct answer)
  • CIncrease the number of tokens in the prompt.
  • DUse Provisioned Throughput.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Decrease the number of tokens in the prompt.

Topic 1 Β· Question 77

An AI practitioner is using a large language model (LLM) to create content for marketing campaigns. The generated content sounds plausible and factual but is incorrect. Which problem is the LLM having?

  • AData leakage
  • BHallucination (correct answer)
  • COverfitting
  • DUnderfitting
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Hallucination.

Topic 1 Β· Question 78

An AI practitioner trained a custom model on Amazon Bedrock by using a training dataset that contains confidential data. The AI practitioner wants to ensure that the custom model does not generate inference responses based on confidential data. How should the AI practitioner prevent responses based on confidential data?

  • ADelete the custom model. Remove the confidential data from the training dataset. Retrain the custom model. (correct answer)
  • BMask the confidential data in the inference responses by using dynamic data masking.
  • CEncrypt the confidential data in the inference responses by using Amazon SageMaker.
  • DEncrypt the confidential data in the custom model by using AWS Key Management Service (AWS KMS).
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Delete the custom model. Remove the confidential data from the training dataset. Retrain the custom model.

Topic 1 Β· Question 79

A company has built a solution by using generative AI. The solution uses large language models (LLMs) to translate training manuals from English into other languages. The company wants to evaluate the accuracy of the solution by examining the text generated for the manuals. Which model evaluation strategy meets these requirements?

  • ABilingual Evaluation Understudy (BLEU) (correct answer)
  • BRoot mean squared error (RMSE)
  • CRecall-Oriented Understudy for Gisting Evaluation (ROUGE)
  • DF1 score
Reveal answer & explanation
Correct answer: A

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

Topic 1 Β· Question 80

A large retailer receives thousands of customer support inquiries about products every day. The customer support inquiries need to be processed and responded to quickly. The company wants to implement Agents for Amazon Bedrock. What are the key benefits of using Amazon Bedrock agents that could help this retailer?

  • AGeneration of custom foundation models (FMs) to predict customer needs
  • BAutomation of repetitive tasks and orchestration of complex workflows (correct answer)
  • CAutomatically calling multiple foundation models (FMs) and consolidating the results
  • DSelecting the foundation model (FM) based on predefined criteria and metrics
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Automation of repetitive tasks and orchestration of complex workflows.

Showing questions 61–80 of 422 Β· Page 4 of 22