πŸ”

MLA-C01 β€” questions

Page 4 of 12 Β· 226 total questions.

Topic 1 Β· Question 61

A company has historical data that shows whether customers needed long-term support from company staff. The company needs to develop an ML model to predict whether new customers will require long-term support. Which modeling approach should the company use to meet this requirement?

  • AAnomaly detection
  • BLinear regression
  • CLogistic regression (correct answer)
  • DSemantic segmentation
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Logistic regression.

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

An ML engineer has developed a binary classification model outside of Amazon SageMaker. The ML engineer needs to make the model accessible to a SageMaker Canvas user for additional tuning. The model artifacts are stored in an Amazon S3 bucket. The ML engineer and the Canvas user are part of the same SageMaker domain. Which combination of requirements must be met so that the ML engineer can share the model with the Canvas user? (Choose two.)

  • AThe ML engineer and the Canvas user must be in separate SageMaker domains.
  • BThe Canvas user must have permissions to access the S3 bucket where the model artifacts are stored. (correct answer)
  • CThe model must be registered in the SageMaker Model Registry. (correct answer)
  • DThe ML engineer must host the model on AWS Marketplace.
  • EThe ML engineer must deploy the model to a SageMaker endpoint.
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: The Canvas user must have permissions to access the S3 bucket where the model artifacts are stored. Option C: The model must be registered in the SageMaker Model Registry.

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.

Topic 1 Β· Question 63

A company is building a deep learning model on Amazon SageMaker. The company uses a large amount of data as the training dataset. The company needs to optimize the model's hyperparameters to minimize the loss function on the validation dataset. Which hyperparameter tuning strategy will accomplish this goal with the LEAST computation time?

  • AHyperband (correct answer)
  • BGrid search
  • CBayesian optimization
  • DRandom search
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Hyperband.

Topic 1 Β· Question 64

A company is planning to use Amazon Redshift ML in its primary AWS account. The source data is in an Amazon S3 bucket in a secondary account. An ML engineer needs to set up an ML pipeline in the primary account to access the S3 bucket in the secondary account. The solution must not require public IPv4 addresses. Which solution will meet these requirements?

  • AProvision a Redshift cluster and Amazon SageMaker Studio in a VPC with no public access enabled in the primary account. Create a VPC peering connection between the accounts. Update the VPC route tables to remove the route to 0.0.0.0/0.
  • BProvision a Redshift cluster and Amazon SageMaker Studio in a VPC with no public access enabled in the primary account. Create an AWS Direct Connect connection and a transit gateway. Associate the VPCs from both accounts with the transit gateway. Update the VPC route tables to remove the route to 0.0.0.0/0.
  • CProvision a Redshift cluster and Amazon SageMaker Studio in a VPC in the primary account. Create an AWS Site-to-Site VPN connection with two encrypted IPsec tunnels between the accounts. Set up interface VPC endpoints for Amazon S3.
  • DProvision a Redshift cluster and Amazon SageMaker Studio in a VPC in the primary account. Create an S3 gateway endpoint. Update the S3 bucket policy to allow IAM principals from the primary account. Set up interface VPC endpoints for SageMaker and Amazon Redshift. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Provision a Redshift cluster and Amazon SageMaker Studio in a VPC in the primary account. Create an S3 gateway endpoint. Update the S3 bucket policy to allow IAM principals from the primary account. Set up interface V...

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 Β· Question 65

A company is using an AWS Lambda function to monitor the metrics from an ML model. An ML engineer needs to implement a solution to send an email message when the metrics breach a threshold. Which solution will meet this requirement?

  • ALog the metrics from the Lambda function to AWS CloudTrail. Configure a CloudTrail trail to send the email message.
  • BLog the metrics from the Lambda function to Amazon CloudFront. Configure an Amazon CloudWatch alarm to send the email message.
  • CLog the metrics from the Lambda function to Amazon CloudWatch. Configure a CloudWatch alarm to send the email message. (correct answer)
  • DLog the metrics from the Lambda function to Amazon CloudWatch. Configure an Amazon CloudFront rule to send the email message.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Log the metrics from the Lambda function to Amazon CloudWatch. Configure a CloudWatch alarm to send the email message.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 66

A company has used Amazon SageMaker to deploy a predictive ML model in production. The company is using SageMaker Model Monitor on the model. After a model update, an ML engineer notices data quality issues in the Model Monitor checks. What should the ML engineer do to mitigate the data quality issues that Model Monitor has identified?

  • AAdjust the model's parameters and hyperparameters.
  • BInitiate a manual Model Monitor job that uses the most recent production data.
  • CCreate a new baseline from the latest dataset. Update Model Monitor to use the new baseline for evaluations. (correct answer)
  • DInclude additional data in the existing training set for the model. Retrain and redeploy the model.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a new baseline from the latest dataset. Update Model Monitor to use the new baseline for evaluations.

Topic 1 Β· Question 67

A company has an ML model that generates text descriptions based on images that customers upload to the company's website. The images can be up to 50 MB in total size. An ML engineer decides to store the images in an Amazon S3 bucket. The ML engineer must implement a processing solution that can scale to accommodate changes in demand. Which solution will meet these requirements with the LEAST operational overhead?

  • ACreate an Amazon SageMaker batch transform job to process all the images in the S3 bucket.
  • BCreate an Amazon SageMaker Asynchronous Inference endpoint and a scaling policy. Run a script to make an inference request for each image. (correct answer)
  • CCreate an Amazon Elastic Kubernetes Service (Amazon EKS) cluster that uses Karpenter for auto scaling. Host the model on the EKS cluster. Run a script to make an inference request for each image.
  • DCreate an AWS Batch job that uses an Amazon Elastic Container Service (Amazon ECS) cluster. Specify a list of images to process for each AWS Batch job.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create an Amazon SageMaker Asynchronous Inference endpoint and a scaling policy. Run a script to make an inference request for each image.

Explanation

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

Topic 1 Β· Question 68

An ML engineer needs to use AWS services to identify and extract meaningful unique keywords from documents. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse the Natural Language Toolkit (NLTK) library on Amazon EC2 instances for text pre-processing. Use the Latent Dirichlet Allocation (LDA) algorithm to identify and extract relevant keywords.
  • BUse Amazon SageMaker and the BlazingText algorithm. Apply custom pre-processing steps for stemming and removal of stop words. Calculate term frequency-inverse document frequency (TF-IDF) scores to identify and extract relevant keywords.
  • CStore the documents in an Amazon S3 bucket. Create AWS Lambda functions to process the documents and to run Python scripts for stemming and removal of stop words. Use bigram and trigram techniques to identify and extract relevant keywords.
  • DUse Amazon Comprehend custom entity recognition and key phrase extraction to identify and extract relevant keywords. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Amazon Comprehend custom entity recognition and key phrase extraction to identify and extract relevant keywords.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover. Amazon Comprehend extracts insights and entities from text using NLP.

Topic 1 Β· Question 69

A company needs to give its ML engineers appropriate access to training data. The ML engineers must access training data from only their own business group. The ML engineers must not be allowed to access training data from other business groups. The company uses a single AWS account and stores all the training data in Amazon S3 buckets. All ML model training occurs in Amazon SageMaker. Which solution will provide the ML engineers with the appropriate access?

  • AEnable S3 bucket versioning.
  • BConfigure S3 Object Lock settings for each user.
  • CAdd cross-origin resource sharing (CORS) policies to the S3 buckets.
  • DCreate IAM policies. Attach the policies to IAM users or IAM roles. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create IAM policies. Attach the policies to IAM users or IAM roles.

Explanation

An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials. AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies.

Topic 1 Β· Question 70

A company needs to host a custom ML model to perform forecast analysis. The forecast analysis will occur with predictable and sustained load during the same 2-hour period every day. Multiple invocations during the analysis period will require quick responses. The company needs AWS to manage the underlying infrastructure and any auto scaling activities. Which solution will meet these requirements?

  • ASchedule an Amazon SageMaker batch transform job by using AWS Lambda.
  • BConfigure an Auto Scaling group of Amazon EC2 instances to use scheduled scaling.
  • CUse Amazon SageMaker Serverless Inference with provisioned concurrency. (correct answer)
  • DRun the model on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on Amazon EC2 with pod auto scaling.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon SageMaker Serverless Inference with provisioned concurrency.

Explanation

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

Topic 1 Β· Question 71

A company's ML engineer has deployed an ML model for sentiment analysis to an Amazon SageMaker endpoint. The ML engineer needs to explain to company stakeholders how the model makes predictions. Which solution will provide an explanation for the model's predictions?

  • AUse SageMaker Model Monitor on the deployed model.
  • BUse SageMaker Clarify on the deployed model. (correct answer)
  • CShow the distribution of inferences from A/Π’ testing in Amazon CloudWatch.
  • DAdd a shadow endpoint. Analyze prediction differences on samples.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use SageMaker Clarify on the deployed model.

Explanation

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

Topic 1 Β· Question 72

An ML engineer is using Amazon SageMaker to train a deep learning model that requires distributed training. After some training attempts, the ML engineer observes that the instances are not performing as expected. The ML engineer identifies communication overhead between the training instances. What should the ML engineer do to MINIMIZE the communication overhead between the instances?

  • APlace the instances in the same VPC subnet. Store the data in a different AWS Region from where the instances are deployed.
  • BPlace the instances in the same VPC subnet but in different Availability Zones. Store the data in a different AWS Region from where the instances are deployed.
  • CPlace the instances in the same VPC subnet. Store the data in the same AWS Region and Availability Zone where the instances are deployed. (correct answer)
  • DPlace the instances in the same VPC subnet. Store the data in the same AWS Region but in a different Availability Zone from where the instances are deployed.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Place the instances in the same VPC subnet. Store the data in the same AWS Region and Availability Zone where the instances are deployed.

Topic 1 Β· Question 73

A company is running ML models on premises by using custom Python scripts and proprietary datasets. The company is using PyTorch. The model building requires unique domain knowledge. The company needs to move the models to AWS. Which solution will meet these requirements with the LEAST effort?

  • AUse SageMaker built-in algorithms to train the proprietary datasets.
  • BUse SageMaker script mode and premade images for ML frameworks. (correct answer)
  • CBuild a container on AWS that includes custom packages and a choice of ML frameworks.
  • DPurchase similar production models through AWS Marketplace.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use SageMaker script mode and premade images for ML frameworks.

Explanation

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

Topic 1 Β· Question 74

A company is using Amazon SageMaker and millions of files to train an ML model. Each file is several megabytes in size. The files are stored in an Amazon S3 bucket. The company needs to improve training performance. Which solution will meet these requirements in the LEAST amount of time?

  • ATransfer the data to a new S3 bucket that provides S3 Express One Zone storage. Adjust the training job to use the new S3 bucket.
  • BCreate an Amazon FSx for Lustre file system. Link the file system to the existing S3 bucket. Adjust the training job to read from the file system. (correct answer)
  • CCreate an Amazon Elastic File System (Amazon EFS) file system. Transfer the existing data to the file system. Adjust the training job to read from the file system.
  • DCreate an Amazon ElastiCache (Redis OSS) cluster. Link the Redis OSS cluster to the existing S3 bucket. Stream the data from the Redis OSS cluster directly to the training job.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create an Amazon FSx for Lustre file system. Link the file system to the existing S3 bucket. Adjust the training job to read from the file system.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon FSx for Lustre delivers high-performance file storage for compute-intensive workloads. Amazon FSx provides fully managed third-party file systems.

Topic 1 Β· Question 75

A company wants to develop an ML model by using tabular data from its customers. The data contains meaningful ordered features with sensitive information that should not be discarded. An ML engineer must ensure that the sensitive data is masked before another team starts to build the model. Which solution will meet these requirements?

  • AUse Amazon Made to categorize the sensitive data.
  • BPrepare the data by using AWS Glue DataBrew. (correct answer)
  • CRun an AWS Batch job to change the sensitive data to random values.
  • DRun an Amazon EMR job to change the sensitive data to random values.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Prepare the data by using AWS Glue DataBrew.

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 76

An ML engineer needs to deploy ML models to get inferences from large datasets in an asynchronous manner. The ML engineer also needs to implement scheduled monitoring of the data quality of the models. The ML engineer must receive alerts when changes in data quality occur. Which solution will meet these requirements?

  • ADeploy the models by using scheduled AWS Glue jobs. Use Amazon CloudWatch alarms to monitor the data quality and to send alerts.
  • BDeploy the models by using scheduled AWS Batch jobs. Use AWS CloudTrail to monitor the data quality and to send alerts.
  • CDeploy the models by using Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. Use Amazon EventBridge to monitor the data quality and to send alerts.
  • DDeploy the models by using Amazon SageMaker batch transform. Use SageMaker Model Monitor to monitor the data quality and to send alerts. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Deploy the models by using Amazon SageMaker batch transform. Use SageMaker Model Monitor to monitor the data quality and to send alerts.

Explanation

AWS Batch schedules and runs batch computing jobs at any scale without managing clusters. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. This option decouples the components so they scale independently and absorb load spikes.

Topic 1 Β· Question 77

An ML engineer normalized training data by using min-max normalization in AWS Glue DataBrew. The ML engineer must normalize the production inference data in the same way as the training data before passing the production inference data to the model for predictions. Which solution will meet this requirement?

  • AApply statistics from a well-known dataset to normalize the production samples.
  • BKeep the min-max normalization statistics from the training set. Use these values to normalize the production samples. (correct answer)
  • CCalculate a new set of min-max normalization statistics from a batch of production samples. Use these values to normalize all the production samples.
  • DCalculate a new set of min-max normalization statistics from each production sample. Use these values to normalize all the production samples.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Keep the min-max normalization statistics from the training set. Use these values to normalize the production samples.

Topic 1 Β· Question 78

A company is planning to use Amazon SageMaker to make classification ratings that are based on images. The company has 6 Π’Π’ of training data that is stored on an Amazon FSx for NetApp ONTAP system virtual machine (SVM). The SVM is in the same VPC as SageMaker. An ML engineer must make the training data accessible for ML models that are in the SageMaker environment. Which solution will meet these requirements?

  • AMount the FSx for ONTAP file system as a volume to the SageMaker Instance. (correct answer)
  • BCreate an Amazon S3 bucket. Use Mountpoint for Amazon S3 to link the S3 bucket to the FSx for ONTAP file system.
  • CCreate a catalog connection from SageMaker Data Wrangler to the FSx for ONTAP file system.
  • DCreate a direct connection from SageMaker Data Wrangler to the FSx for ONTAP file system.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Mount the FSx for ONTAP file system as a volume to the SageMaker Instance.

Explanation

Amazon FSx provides fully managed third-party file systems. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Topic 1 Β· Question 79

A company regularly receives new training data from the vendor of an ML model. The vendor delivers cleaned and prepared data to the company's Amazon S3 bucket every 3-4 days. The company has an Amazon SageMaker pipeline to retrain the model. An ML engineer needs to implement a solution to run the pipeline when new data is uploaded to the S3 bucket. Which solution will meet these requirements with the LEAST operational effort?

  • ACreate an S3 Lifecycle rule to transfer the data to the SageMaker training instance and to initiate training.
  • BCreate an AWS Lambda function that scans the S3 bucket. Program the Lambda function to initiate the pipeline when new data is uploaded.
  • CCreate an Amazon EventBridge rule that has an event pattern that matches the S3 upload. Configure the pipeline as the target of the rule. (correct answer)
  • DUse Amazon Managed Workflows for Apache Airflow (Amazon MWAA) to orchestrate the pipeline when new data is uploaded.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create an Amazon EventBridge rule that has an event pattern that matches the S3 upload. Configure the pipeline as the target of the rule.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon EventBridge routes events between services with rules, enabling event-driven, decoupled architectures. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 80

An ML engineer is developing a fraud detection model by using the Amazon SageMaker XGBoost algorithm. The model classifies transactions as either fraudulent or legitimate. During testing, the model excels at identifying fraud in the training dataset. However, the model is inefficient at identifying fraud in new and unseen transactions. What should the ML engineer do to improve the fraud detection for new transactions?

  • AIncrease the learning rate.
  • BRemove some irrelevant features from the training dataset.
  • CIncrease the value of the max_depth hyperparameter.
  • DDecrease the value of the max_depth hyperparameter. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Decrease the value of the max_depth hyperparameter.

Showing questions 61–80 of 226 Β· Page 4 of 12