πŸ”

MLS-C01 β€” questions

Page 14 of 19 Β· 369 total questions.

Topic 1 Β· Question 261

A company wants to conduct targeted marketing to sell solar panels to homeowners. The company wants to use machine learning (ML) technologies to identify which houses already have solar panels. The company has collected 8,000 satellite images as training data and will use Amazon SageMaker Ground Truth to label the data. The company has a small internal team that is working on the project. The internal team has no ML expertise and no ML experience. Which solution will meet these requirements with the LEAST amount of effort from the internal team?

  • ASet up a private workforce that consists of the internal team. Use the private workforce and the SageMaker Ground Truth active learning feature to label the data. Use Amazon Rekognition Custom Labels for model training and hosting. (correct answer)
  • BSet up a private workforce that consists of the internal team. Use the private workforce to label the data. Use Amazon Rekognition Custom Labels for model training and hosting.
  • CSet up a private workforce that consists of the internal team. Use the private workforce and the SageMaker Ground Truth active learning feature to label the data. Use the SageMaker Object Detection algorithm to train a model. Use SageMaker batch transform for inference.
  • DSet up a public workforce. Use the public workforce to label the data. Use the SageMaker Object Detection algorithm to train a model. Use SageMaker batch transform for inference.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Set up a private workforce that consists of the internal team. Use the private workforce and the SageMaker Ground Truth active learning feature to label the data. Use Amazon Rekognition Custom Labels for model trainin...

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. Amazon Rekognition adds image and video analysis with pre-trained models.

Topic 1 Β· Question 262

A company hosts a machine learning (ML) dataset repository on Amazon S3. A data scientist is preparing the repository to train a model. The data scientist needs to redact personally identifiable information (PH) from the dataset. Which solution will meet these requirements with the LEAST development effort?

  • AUse Amazon SageMaker Data Wrangler with a custom transformation to identify and redact the PII.
  • BCreate a custom AWS Lambda function to read the files, identify the PII. and redact the PII
  • CUse AWS Glue DataBrew to identity and redact the PII (correct answer)
  • DUse an AWS Glue development endpoint to implement the PII redaction from within a notebook
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use AWS Glue DataBrew to identity and redact the PII

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data. This option needs the least custom development effort.

Topic 1 Β· Question 263

A company is deploying a new machine learning (ML) model in a production environment. The company is concerned that the ML model will drift over time, so the company creates a script to aggregate all inputs and predictions into a single file at the end of each day. The company stores the file as an object in an Amazon S3 bucket. The total size of the daily file is 100 GB. The daily file size will increase over time. Four times a year, the company samples the data from the previous 90 days to check the ML model for drift. After the 90-day period, the company must keep the files for compliance reasons. The company needs to use S3 storage classes to minimize costs. The company wants to maintain the same storage durability of the data. Which solution will meet these requirements?

  • AStore the daily objects in the S3 Standard-InfrequentAccess (S3 Standard-IA) storage class. Configure an S3 Lifecycle rule to move the objects to S3 Glacier Flexible Retrieval after 90 days.
  • BStore the daily objects in the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class. Configure an S3 Lifecycle rule to move the objects to S3 Glacier Flexible Retrieval after 90 days.
  • CStore the daily objects in the S3 Standard-InfrequentAccess (S3 Standard-IA) storage class. Configure an S3 Lifecycle rule to move the objects to S3 Glacier Deep Archive after 90 days. (correct answer)
  • DStore the daily objects in the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class. Configure an S3 Lifecycle rule to move the objects to S3 Glacier Deep Archive after 90 days.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Store the daily objects in the S3 Standard-InfrequentAccess (S3 Standard-IA) storage class. Configure an S3 Lifecycle rule to move the objects to S3 Glacier Deep Archive after 90 days.

Explanation

S3 Glacier Deep Archive is the lowest-cost storage for long-term archival with retrieval in hours. Amazon S3 Glacier offers low-cost archival storage for infrequently accessed data. S3 Standard-IA reduces cost for infrequently accessed data that still needs high availability. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 264

A company wants to enhance audits for its machine learning (ML) systems. The auditing system must be able to perform metadata analysis on the features that the ML models use. The audit solution must generate a report that analyzes the metadata. The solution also must be able to set the data sensitivity and authorship of features. Which solution will meet these requirements with the LEAST development effort?

  • AUse Amazon SageMaker Feature Store to select the features. Create a data flow to perform feature-level metadata analysis. Create an Amazon DynamoDB table to store feature-level metadata. Use Amazon QuickSight to analyze the metadata.
  • BUse Amazon SageMaker Feature Store to set feature groups for the current features that the ML models use. Assign the required metadata for each feature. Use SageMaker Studio to analyze the metadata.
  • CUse Amazon SageMaker Features Store to apply custom algorithms to analyze the feature-level metadata that the company requires. Create an Amazon DynamoDB table to store feature-level metadata. Use Amazon QuickSight to analyze the metadata.
  • DUse Amazon SageMaker Feature Store to set feature groups for the current features that the ML models use. Assign the required metadata for each feature. Use Amazon QuickSight to analyze the metadata. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Amazon SageMaker Feature Store to set feature groups for the current features that the ML models use. Assign the required metadata for each feature. Use Amazon QuickSight to analyze the metadata.

Explanation

Amazon QuickSight is a serverless business-intelligence and dashboard service. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. This option needs the least custom development effort.

Topic 1 Β· Question 265

A machine learning (ML) specialist uploads a dataset to an Amazon S3 bucket that is protected by server-side encryption with AWS KMS keys (SSE-KMS). The ML specialist needs to ensure that an Amazon SageMaker notebook instance can read the dataset that is in Amazon S3. Which solution will meet these requirements?

  • ADefine security groups to allow all HTTP inbound and outbound traffic. Assign the security groups to the SageMaker notebook instance.
  • BConfigure the SageMaker notebook instance to have access to the VPC. Grant permission in the AWS Key Management Service (AWS KMS) key policy to the notebook’s VPC.
  • CAssign an IAM role that provides S3 read access for the dataset to the SageMaker notebook. Grant permission in the KMS key policy to the IAM role. (correct answer)
  • DAssign the same KMS key that encrypts the data in Amazon S3 to the SageMaker notebook instance.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Assign an IAM role that provides S3 read access for the dataset to the SageMaker notebook. Grant permission in the KMS key policy to the IAM role.

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. An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials.

Topic 1 Β· Question 266

A company has a podcast platform that has thousands of users. The company implemented an algorithm to detect low podcast engagement based on a 10-minute running window of user events such as listening to, pausing, and closing the podcast. A machine learning (ML) specialist is designing the ingestion process for these events. The ML specialist needs to transform the data to prepare the data for inference. How should the ML specialist design the transformation step to meet these requirements with the LEAST operational effort?

  • AUse an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster to ingest event data. Use Amazon Kinesis Data Analytics to transform the most recent 10 minutes of data before inference.
  • BUse Amazon Kinesis Data Streams to ingest event data. Store the data in Amazon S3 by using Amazon Kinesis Data Firehose. Use AWS Lambda to transform the most recent 10 minutes of data before inference.
  • CUse Amazon Kinesis Data Streams to ingest event data. Use Amazon Kinesis Data Analytics to transform the most recent 10 minutes of data before inference. (correct answer)
  • DUse an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster to ingest event data. Use AWS Lambda to transform the most recent 10 minutes of data before inference.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon Kinesis Data Streams to ingest event data. Use Amazon Kinesis Data Analytics to transform the most recent 10 minutes of data before inference.

Explanation

Kinesis Data Streams ingests and processes high-volume real-time streaming data. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 267

A machine learning (ML) specialist is training a multilayer perceptron (MLP) on a dataset with multiple classes. The target class of interest is unique compared to the other classes in the dataset, but it does not achieve an acceptable recall metric. The ML specialist varies the number and size of the MLP's hidden layers, but the results do not improve significantly. Which solution will improve recall in the LEAST amount of time?

  • AAdd class weights to the MLP's loss function, and then retrain. (correct answer)
  • BGather more data by using Amazon Mechanical Turk, and then retrain.
  • CTrain a k-means algorithm instead of an MLP.
  • DTrain an anomaly detection model instead of an MLP.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add class weights to the MLP's loss function, and then retrain.

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

A machine learning (ML) specialist uploads 5 TB of data to an Amazon SageMaker Studio environment. The ML specialist performs initial data cleansing. Before the ML specialist begins to train a model, the ML specialist needs to create and view an analysis report that details potential bias in the uploaded data. Which combination of actions will meet these requirements with the LEAST operational overhead? (Choose two.)

  • AUse SageMaker Clarify to automatically detect data bias (correct answer)
  • BTurn on the bias detection option in SageMaker Ground Truth to automatically analyze data features.
  • CUse SageMaker Model Monitor to generate a bias drift report.
  • DConfigure SageMaker Data Wrangler to generate a bias report. (correct answer)
  • EUse SageMaker Experiments to perform a data check
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Use SageMaker Clarify to automatically detect data bias Option D: Configure SageMaker Data Wrangler to generate a bias report.

Explanation

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 269

A network security vendor needs to ingest telemetry data from thousands of endpoints that run all over the world. The data is transmitted every 30 seconds in the form of records that contain 50 fields. Each record is up to 1 KB in size. The security vendor uses Amazon Kinesis Data Streams to ingest the data. The vendor requires hourly summaries of the records that Kinesis Data Streams ingests. The vendor will use Amazon Athena to query the records and to generate the summaries. The Athena queries will target 7 to 12 of the available data fields. Which solution will meet these requirements with the LEAST amount of customization to transform and store the ingested data?

  • AUse AWS Lambda to read and aggregate the data hourly. Transform the data and store it in Amazon S3 by using Amazon Kinesis Data Firehose.
  • BUse Amazon Kinesis Data Firehose to read and aggregate the data hourly. Transform the data and store it in Amazon S3 by using a short-lived Amazon EMR cluster.
  • CUse Amazon Kinesis Data Analytics to read and aggregate the data hourly. Transform the data and store it in Amazon S3 by using Amazon Kinesis Data Firehose. (correct answer)
  • DUse Amazon Kinesis Data Firehose to read and aggregate the data hourly. Transform the data and store it in Amazon S3 by using AWS Lambda.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon Kinesis Data Analytics to read and aggregate the data hourly. Transform the data and store it in Amazon S3 by using Amazon Kinesis Data Firehose.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Kinesis Data Firehose delivers streaming data to destinations like S3/Redshift with no servers to manage. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 270

A machine learning (ML) specialist is training a linear regression model. The specialist notices that the model is overfitting. The specialist applies an L1 regularization parameter and runs the model again. This change results in all features having zero weights. What should the ML specialist do to improve the model results?

  • AIncrease the L1 regularization parameter. Do not change any other training parameters.
  • BDecrease the L1 regularization parameter. Do not change any other training parameters. (correct answer)
  • CIntroduce a large L2 regularization parameter. Do not change the current L1 regularization value.
  • DIntroduce a small L2 regularization parameter. Do not change the current L1 regularization value.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Decrease the L1 regularization parameter. Do not change any other training parameters.

Topic 1 Β· Question 271

A medical device company is building a machine learning (ML) model to predict the likelihood of device recall based on customer data that the company collects from a plain text survey. One of the survey questions asks which medications the customer is taking. The data for this field contains the names of medications that customers enter manually. Customers misspell some of the medication names. The column that contains the medication name data gives a categorical feature with high cardinality but redundancy. What is the MOST effective way to encode this categorical feature into a numeric feature?

  • ASpell check the column. Use Amazon SageMaker one-hot encoding on the column to transform a categorical feature to a numerical feature.
  • BFix the spelling in the column by using char-RNN. Use Amazon SageMaker Data Wrangler one-hot encoding to transform a categorical feature to a numerical feature.
  • CUse Amazon SageMaker Data Wrangler similarity encoding on the column to create embeddings of vectors of real numbers. (correct answer)
  • DUse Amazon SageMaker Data Wrangler ordinal encoding on the column to encode categories into an integer between 0 and the total number of categories in the column.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon SageMaker Data Wrangler similarity encoding on the column to create embeddings of vectors of real numbers.

Explanation

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

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

A machine learning (ML) engineer has created a feature repository in Amazon SageMaker Feature Store for the company. The company has AWS accounts for development, integration, and production. The company hosts a feature store in the development account. The company uses Amazon S3 buckets to store feature values offline. The company wants to share features and to allow the integration account and the production account to reuse the features that are in the feature repository. Which combination of steps will meet these requirements? (Choose two.)

  • ACreate an IAM role in the development account that the integration account and production account can assume. Attach IAM policies to the role that allow access to the feature repository and the S3 buckets. (correct answer)
  • BShare the feature repository that is associated the S3 buckets from the development account to the integration account and the production account by using AWS Resource Access Manager (AWS RAM). (correct answer)
  • CUse AWS Security Token Service (AWS STS) from the integration account and the production account to retrieve credentials for the development account.
  • DSet up S3 replication between the development S3 buckets and the integration and production S3 buckets.
  • ECreate an AWS PrivateLink endpoint in the development account for SageMaker.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Create an IAM role in the development account that the integration account and production account can assume. Attach IAM policies to the role that allow access to the feature repository and the S3 buckets. Option B: Share the feature repository that is associated the S3 buckets from the development account to the integration account and the production account by using AWS Resource Access Manager (AWS RAM).

Explanation

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

A data scientist for a medical diagnostic testing company has developed a machine learning (ML) model to identify patients who have a specific disease. The dataset that the scientist used to train the model is imbalanced. The dataset contains a large number of healthy patients and only a small number of patients who have the disease. The model should consider that patients who are incorrectly identified as positive for the disease will increase costs for the company. Which metric will MOST accurately evaluate the performance of this model?

  • ARecall
  • BF1 score
  • CAccuracy
  • DPrecision (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Precision.

Topic 1 Β· Question 274

A wildlife research company has a set of images of lions and cheetahs. The company created a dataset of the images. The company labeled each image with a binary label that indicates whether an image contains a lion or cheetah. The company wants to train a model to identify whether new images contain a lion or cheetah. Which Amazon SageMaker algorithm will meet this requirement?

  • AXGBoost
  • BImage Classification - TensorFlow (correct answer)
  • CObject Detection - TensorFlow
  • DSemantic segmentation - MXNet
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Image Classification - TensorFlow.

Topic 1 Β· Question 275

A company is building a new supervised classification model in an AWS environment. The company's data science team notices that the dataset has a large quantity of variables. All the variables are numeric. The model accuracy for training and validation is low. The model's processing time is affected by high latency. The data science team needs to increase the accuracy of the model and decrease the processing time. What should the data science team do to meet these requirements?

  • ACreate new features and interaction variables.
  • BUse a principal component analysis (PCA) model. (correct answer)
  • CApply normalization on the feature set.
  • DUse a multiple correspondence analysis (MCA) model.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use a principal component analysis (PCA) model.

Topic 1 Β· Question 276

A company is planning a marketing campaign to promote a new product to existing customers. The company has data for past promotions that are similar. The company decides to try an experiment to send a more expensive marketing package to a smaller number of customers. The company wants to target the marketing campaign to customers who are most likely to buy the new product. The experiment requires that at least 90% of the customers who are likely to purchase the new product receive the marketing materials. The company trains a model by using the linear learner algorithm in Amazon SageMaker. The model has a recall score of 80% and a precision of 75%. How should the company retrain the model to meet these requirements?

  • ASet the target_recall hyperparameter to 90%. Set the binary_classifier_model_selection_criteria hyperparameter to recall_at_target_precision. (correct answer)
  • BSet the target_precision hyperparameter to 90%. Set the binary_classifier_model_selection_criteria hyperparameter to precision_at_target_recall.
  • CUse 90% of the historical data for training. Set the number of epochs to 20.
  • DSet the normalize_label hyperparameter to true. Set the number of classes to 2.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Set the target_recall hyperparameter to 90%. Set the binary_classifier_model_selection_criteria hyperparameter to recall_at_target_precision.

Topic 1 Β· Question 277

An exercise analytics company wants to predict running speeds for its customers by using a dataset that contains multiple health-related features for each customer. Some of the features originate from sensors that provide extremely noisy values. The company is training a regression model by using the built-in Amazon SageMaker linear learner algorithm to predict the running speeds. While the company is training the model, a data scientist observes that the training loss decreases to almost zero, but validation loss increases. Which technique should the data scientist use to optimally fit the model?

  • AAdd L1 regularization to the linear learner regression model. (correct answer)
  • BPerform a principal component analysis (PCA) on the dataset. Use the linear learner regression model.
  • CPerform feature engineering by including quadratic and cubic terms. Train the linear learner regression model.
  • DAdd L2 regularization to the linear learner regression model.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add L1 regularization to the linear learner regression model.

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

A company's machine learning (ML) specialist is building a computer vision model to classify 10 different traffic signs. The company has stored 100 images of each class in Amazon S3, and the company has another 10,000 unlabeled images. All the images come from dash cameras and are a size of 224 pixels Γ— 224 pixels. After several training runs, the model is overfitting on the training data. Which actions should the ML specialist take to address this problem? (Choose two.)

  • AUse Amazon SageMaker Ground Truth to label the unlabeled images. (correct answer)
  • BUse image preprocessing to transform the images into grayscale images.
  • CUse data augmentation to rotate and translate the labeled images. (correct answer)
  • DReplace the activation of the last layer with a sigmoid.
  • EUse the Amazon SageMaker k-nearest neighbors (k-NN) algorithm to label the unlabeled images.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Use Amazon SageMaker Ground Truth to label the unlabeled images. Option C: Use data augmentation to rotate and translate the labeled images.

Explanation

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

Topic 1 Β· Question 279

A data science team is working with a tabular dataset that the team stores in Amazon S3. The team wants to experiment with different feature transformations such as categorical feature encoding. Then the team wants to visualize the resulting distribution of the dataset. After the team finds an appropriate set of feature transformations, the team wants to automate the workflow for feature transformations. Which solution will meet these requirements with the MOST operational efficiency?

  • AUse Amazon SageMaker Data Wrangler preconfigured transformations to explore feature transformations. Use SageMaker Data Wrangler templates for visualization. Export the feature processing workflow to a SageMaker pipeline for automation. (correct answer)
  • BUse an Amazon SageMaker notebook instance to experiment with different feature transformations. Save the transformations to Amazon S3. Use Amazon QuickSight for visualization. Package the feature processing steps into an AWS Lambda function for automation.
  • CUse AWS Glue Studio with custom code to experiment with different feature transformations. Save the transformations to Amazon S3. Use Amazon QuickSight for visualization. Package the feature processing steps into an AWS Lambda function for automation.
  • DUse Amazon SageMaker Data Wrangler preconfigured transformations to experiment with different feature transformations. Save the transformations to Amazon S3. Use Amazon QuickSight for visualization. Package each feature transformation step into a separate AWS Lambda function. Use AWS Step Functions for workflow automation.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Amazon SageMaker Data Wrangler preconfigured transformations to explore feature transformations. Use SageMaker Data Wrangler templates for visualization. Export the feature processing workflow to a SageMaker pipel...

Explanation

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 280

A company plans to build a custom natural language processing (NLP) model to classify and prioritize user feedback. The company hosts the data and all machine learning (ML) infrastructure in the AWS Cloud. The ML team works from the company's office, which has an IPsec VPN connection to one VPC in the AWS Cloud. The company has set both the enableDnsHostnames attribute and the enableDnsSupport attribute of the VPC to true. The company's DNS resolvers point to the VPC DNS. The company does not allow the ML team to access Amazon SageMaker notebooks through connections that use the public internet. The connection must stay within a private network and within the AWS internal network. Which solution will meet these requirements with the LEAST development effort?

  • ACreate a VPC interface endpoint for the SageMaker notebook in the VPC. Access the notebook through a VPN connection and the VPC endpoint. (correct answer)
  • BCreate a bastion host by using Amazon EC2 in a public subnet within the VPC. Log in to the bastion host through a VPN connection. Access the SageMaker notebook from the bastion host.
  • CCreate a bastion host by using Amazon EC2 in a private subnet within the VPC with a NAT gateway. Log in to the bastion host through a VPN connection. Access the SageMaker notebook from the bastion host.
  • DCreate a NAT gateway in the VPC. Access the SageMaker notebook HTTPS endpoint through a VPN connection and the NAT gateway.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a VPC interface endpoint for the SageMaker notebook in the VPC. Access the notebook through a VPN connection and the VPC endpoint.

Explanation

A VPC endpoint provides private connectivity to AWS services without traversing the public internet. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Showing questions 261–280 of 369 Β· Page 14 of 19