πŸ”

AIF-C01 β€” questions

Page 5 of 22 Β· 422 total questions.

Topic 1 Β· Question 81

Which option is a benefit of ongoing pre-training when fine-tuning a foundation model (FM)?

  • AHelps decrease the model's complexity
  • BImproves model performance over time (correct answer)
  • CDecreases the training time requirement
  • DOptimizes model inference time
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Improves model performance over time.

Topic 1 Β· Question 82

What are tokens in the context of generative AI models?

  • ATokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units. (correct answer)
  • BTokens are the mathematical representations of words or concepts used in generative AI models.
  • CTokens are the pre-trained weights of a generative AI model that are fine-tuned for specific tasks.
  • DTokens are the specific prompts or instructions given to a generative AI model to generate output.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover.

Topic 1 Β· Question 83

A company wants to assess the costs that are associated with using a large language model (LLM) to generate inferences. The company wants to use Amazon Bedrock to build generative AI applications. Which factor will drive the inference costs?

  • ANumber of tokens consumed (correct answer)
  • BTemperature value
  • CAmount of data used to train the LLM
  • DTotal training time
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Number of tokens consumed.

Topic 1 Β· Question 84

A company is using Amazon SageMaker Studio notebooks to build and train ML models. The company stores the data in an Amazon S3 bucket. The company needs to manage the flow of data from Amazon S3 to SageMaker Studio notebooks. Which solution will meet this requirement?

  • AUse Amazon Inspector to monitor SageMaker Studio.
  • BUse Amazon Macie to monitor SageMaker Studio.
  • CConfigure SageMaker to use a VPC with an S3 endpoint. (correct answer)
  • DConfigure SageMaker to use S3 Glacier Deep Archive.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure SageMaker to use a VPC with an S3 endpoint.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. 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 85

A company has a foundation model (FM) that was customized by using Amazon Bedrock to answer customer queries about products. The company wants to validate the model's responses to new types of queries. The company needs to upload a new dataset that Amazon Bedrock can use for validation. Which AWS service meets these requirements?

  • AAmazon S3 (correct answer)
  • BAmazon Elastic Block Store (Amazon EBS)
  • CAmazon Elastic File System (Amazon EFS)
  • DAWS Snowcone
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Amazon S3

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed.

Topic 1 Β· Question 86

Which prompting attack directly exposes the configured behavior of a large language model (LLM)?

  • APrompted persona switches
  • BExploiting friendliness and trust
  • CIgnoring the prompt template
  • DExtracting the prompt template (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Extracting the prompt template.

Topic 1 Β· Question 87

A company wants to use Amazon Bedrock. The company needs to review which security aspects the company is responsible for when using Amazon Bedrock. Which security aspect will the company be responsible for?

  • APatching and updating the versions of Amazon Bedrock
  • BProtecting the infrastructure that hosts Amazon Bedrock
  • CSecuring the company's data in transit and at rest (correct answer)
  • DProvisioning Amazon Bedrock within the company network
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Securing the company's data in transit and at rest.

Topic 1 Β· Question 88

A social media company wants to use a large language model (LLM) to summarize messages. The company has chosen a few LLMs that are available on Amazon SageMaker JumpStart. The company wants to compare the generated output toxicity of these models. Which strategy gives the company the ability to evaluate the LLMs with the LEAST operational overhead?

  • ACrowd-sourced evaluation
  • BAutomatic model evaluation (correct answer)
  • CModel evaluation with human workers
  • DReinforcement learning from human feedback (RLHF)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Automatic model evaluation.

Topic 1 Β· Question 89

A company is testing the security of a foundation model (FM). During testing, the company wants to get around the safety features and make harmful content. Which security technique is this an example of?

  • AFuzzing training data to find vulnerabilities
  • BDenial of service (DoS)
  • CPenetration testing with authorization
  • DJailbreak (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Jailbreak.

Topic 1 Β· Question 90

A company needs to use Amazon SageMaker for model training and inference. The company must comply with regulatory requirements to run SageMaker jobs in an isolated environment without internet access. Which solution will meet these requirements?

  • ARun SageMaker training and inference by using SageMaker Experiments.
  • BRun SageMaker training and Inference by using network Isolation. (correct answer)
  • CEncrypt the data at rest by using encryption for SageMaker geospatial capabilities.
  • DAssociate appropriate AWS Identity and Access Management (IAM) roles with the SageMaker jobs.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Run SageMaker training and Inference by using network Isolation.

Explanation

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

Topic 1 Β· Question 91

An ML research team develops custom ML models. The model artifacts are shared with other teams for integration into products and services. The ML team retains the model training code and data. The ML team wants to build a mechanism that the ML team can use to audit models. Which solution should the ML team use when publishing the custom ML models?

  • ACreate documents with the relevant information. Store the documents in Amazon S3.
  • BUse AWS AI Service Cards for transparency and understanding models.
  • CCreate Amazon SageMaker Model Cards with intended uses and training and inference details. (correct answer)
  • DCreate model training scripts. Commit the model training scripts to a Git repository.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create Amazon SageMaker Model Cards with intended uses and training and inference details.

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 92

A software company builds tools for customers. The company wants to use AI to increase software development productivity. Which solution will meet these requirements?

  • AUse a binary classification model to generate code reviews.
  • BInstall code recommendation software in the company's developer tools. (correct answer)
  • CInstall a code forecasting tool to predict potential code issues.
  • DUse a natural language processing (NLP) tool to generate code.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Install code recommendation software in the company's developer tools.

Topic 1 Β· Question 93

A retail store wants to predict the demand for a specific product for the next few weeks by using the Amazon SageMaker DeepAR forecasting algorithm. Which type of data will meet this requirement?

  • AText data
  • BImage data
  • CTime series data (correct answer)
  • DBinary data
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Time series data.

Topic 1 Β· Question 94

A large retail bank wants to develop an ML system to help the risk management team decide on loan allocations for different demographics. What must the bank do to develop an unbiased ML model?

  • AReduce the size of the training dataset.
  • BEnsure that the ML model predictions are consistent with historical results.
  • CCreate a different ML model for each demographic group.
  • DMeasure class imbalance on the training dataset. Adapt the training process accordingly. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Measure class imbalance on the training dataset. Adapt the training process accordingly.

Topic 1 Β· Question 95

Which prompting technique can protect against prompt injection attacks?

  • AAdversarial prompting (correct answer)
  • BZero-shot prompting
  • CLeast-to-most prompting
  • DChain-of-thought prompting
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Adversarial prompting.

Topic 1 Β· Question 96

A company has fine-tuned a large language model (LLM) to answer questions for a help desk. The company wants to determine if the fine-tuning has enhanced the model's accuracy. Which metric should the company use for the evaluation?

  • APrecision
  • BTime to first token
  • CF1 score (correct answer)
  • DWord error rate
Reveal answer & explanation
Correct answer: C

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

Topic 1 Β· Question 97

A company is using Retrieval Augmented Generation (RAG) with Amazon Bedrock and Stable Diffusion to generate product images based on text descriptions. The results are often random and lack specific details. The company wants to increase the specificity of the generated images. Which solution meets these requirements?

  • AIncrease the number of generation steps.
  • BUse the MASK_IMAGE_BLACK mask source option.
  • CIncrease the classifier-free guidance (CFG) scale. (correct answer)
  • DIncrease the prompt strength.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Increase the classifier-free guidance (CFG) scale.

Topic 1 Β· Question 98

A company wants to implement a large language model (LLM) based chatbot to provide customer service agents with real-time contextual responses to customers' inquiries. The company will use the company's policies as the knowledge base. Which solution will meet these requirements MOST cost-effectively?

  • ARetrain the LLM on the company policy data.
  • BFine-tune the LLM on the company policy data.
  • CImplement Retrieval Augmented Generation (RAG) for in-context responses. (correct answer)
  • DUse pre-training and data augmentation on the company policy data.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Implement Retrieval Augmented Generation (RAG) for in-context responses. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 99

A company wants to create a new solution by using AWS Glue. The company has minimal programming experience with AWS Glue. Which AWS service can help the company use AWS Glue?

  • AAmazon Q Developer (correct answer)
  • BAWS Config
  • CAmazon Personalize
  • DAmazon Comprehend
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Amazon Q Developer.

Topic 1 Β· Question 100

A company is developing a mobile ML app that uses a phone's camera to diagnose and treat insect bites. The company wants to train an image classification model by using a diverse dataset of insect bite photos from different genders, ethnicities, and geographic locations around the world. Which principle of responsible AI does the company demonstrate in this scenario?

  • AFairness (correct answer)
  • BExplainability
  • CGovernance
  • DTransparency
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Fairness.

Showing questions 81–100 of 422 Β· Page 5 of 22