πŸ”

MLS-C01 β€” questions

Page 18 of 19 Β· 369 total questions.

Topic 1 Β· Question 341

A car company has dealership locations in multiple cities. The company uses a machine learning (ML) recommendation system to market cars to its customers. An ML engineer trained the ML recommendation model on a dataset that includes multiple attributes about each car. The dataset includes attributes such as car brand, car type, fuel efficiency, and price. The ML engineer uses Amazon SageMaker Data Wrangler to analyze and visualize data. The ML engineer needs to identify the distribution of car prices for a specific type of car. Which type of visualization should the ML engineer use to meet these requirements?

  • AUse the SageMaker Data Wrangler scatter plot visualization to inspect the relationship between the car price and type of car.
  • BUse the SageMaker Data Wrangler quick model visualization to quickly evaluate the data and produce importance scores for the car price and type of car.
  • CUse the SageMaker Data Wrangler anomaly detection visualization to Identify outliers for the specific features.
  • DUse the SageMaker Data Wrangler histogram visualization to inspect the range of values for the specific feature. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use the SageMaker Data Wrangler histogram visualization to inspect the range of values for the specific feature.

Explanation

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

Topic 1 Β· Question 342

A media company is building a computer vision model to analyze images that are on social media. The model consists of CNNs that the company trained by using images that the company stores in Amazon S3. The company used an Amazon SageMaker training job in File mode with a single Amazon EC2 On-Demand Instance. Every day, the company updates the model by using about 10,000 images that the company has collected in the last 24 hours. The company configures training with only one epoch. The company wants to speed up training and lower costs without the need to make any code changes. Which solution will meet these requirements?

  • AInstead of File mode, configure the SageMaker training job to use Pipe mode. Ingest the data from a pipe.
  • BInstead of File mode, configure the SageMaker training job to use FastFile mode with no other changes.
  • CInstead of On-Demand Instances, configure the SageMaker training job to use Spot Instances. Make no other changes,
  • DInstead of On-Demand Instances, configure the SageMaker training job to use Spot Instances, implement model checkpoints. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Instead of On-Demand Instances, configure the SageMaker training job to use Spot Instances, implement model checkpoints.

Explanation

Spot Instances use spare capacity at a large discount, ideal for fault-tolerant or interruptible workloads. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. AWS Config tracks resource configuration changes and evaluates compliance. This option needs the least custom development effort.

Topic 1 Β· Question 343

A telecommunications company has deployed a machine learning model using Amazon SageMaker. The model identifies customers who are likely to cancel their contract when calling customer service. These customers are then directed to a specialist service team. The model has been trained on historical data from multiple years relating to customer contracts and customer service interactions in a single geographic region. The company is planning to launch a new global product that will use this model. Management is concerned that the model might incorrectly direct a large number of calls from customers in regions without historical data to the specialist service team. Which approach would MOST effectively address this issue?

  • AEnable Amazon SageMaker Model Monitor data capture on the model endpoint. Create a monitoring baseline on the training dataset. Schedule monitoring jobs. Use Amazon CloudWatch to alert the data scientists when the numerical distance of regional customer data fails the baseline drift check. Reevaluate the training set with the larger data source and retrain the model. (correct answer)
  • BEnable Amazon SageMaker Debugger on the model endpoint. Create a custom rule to measure the variance from the baseline training dataset. Use Amazon CloudWatch to alert the data scientists when the rule is invoked. Reevaluate the training set with the larger data source and retrain the model.
  • CCapture all customer calls routed to the specialist service team in Amazon S3. Schedule a monitoring job to capture all the true positives and true negatives, correlate them to the training dataset, and calculate the accuracy. Use Amazon CloudWatch to alert the data scientists when the accuracy decreases. Reevaluate the training set with the additional data from the specialist service team and retrain the model.
  • DEnable Amazon CloudWatch on the model endpoint. Capture metrics using Amazon CloudWatch Logs and send them to Amazon S3. Analyze the monitored results against the training data baseline. When the variance from the baseline exceeds the regional customer variance, reevaluate the training set and retrain the model.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enable Amazon SageMaker Model Monitor data capture on the model endpoint. Create a monitoring baseline on the training dataset. Schedule monitoring jobs. Use Amazon CloudWatch to alert the data scientists when the num...

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health.

Topic 1 Β· Question 344

A machine learning (ML) engineer is creating a binary classification model. The ML engineer will use the model in a highly sensitive environment. There is no cost associated with missing a positive label. However, the cost of making a false positive inference is extremely high. What is the most important metric to optimize the model for in this scenario?

  • AAccuracy
  • BPrecision (correct answer)
  • CRecall
  • DF1
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Precision.

Topic 1 Β· Question 345

An ecommerce company discovers that the search tool for the company's website is not presenting the top search results to customers. The company needs to resolve the issue so the search tool will present results that customers are most likely to want to purchase. Which solution will meet this requirement with the LEAST operational effort?

  • AUse the Amazon SageMaker BlazingText algorithm to add context to search results through query expansion.
  • BUse the Amazon SageMaker XGBoost algorithm to improve candidate ranking.
  • CUse Amazon CloudSearch and sort results by the search relevance score. (correct answer)
  • DUse Amazon CloudSearch and sort results by the geographic location.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon CloudSearch and sort results by the search relevance score.

Topic 1 Β· Question 346

A machine learning (ML) specialist collected daily product usage data for a group of customers. The ML specialist appended customer metadata such as age and gender from an external data source. The ML specialist wants to understand product usage patterns for each day of the week for customers in specific age groups. The ML specialist creates two categorical features named dayofweek and binned_age, respectively. Which approach should the ML specialist use discover the relationship between the two new categorical features?

  • ACreate a scatterplot for day_of_week and binned_age.
  • BCreate crosstabs for day_of_week and binned_age. (correct answer)
  • CCreate word clouds for day_of_week and binned_age.
  • DCreate a boxplot for day_of_week and binned_age.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create crosstabs for day_of_week and binned_age.

Topic 1 Β· Question 347

A company needs to develop a model that uses a machine learning (ML) model for risk analysis. An ML engineer needs to evaluate the contribution each feature of a training dataset makes to the prediction of the target variable before the ML engineer selects features. How should the ML engineer predict the contribution of each feature?

  • AUse the Amazon SageMaker Data Wrangler multicollinearity measurement features and the principal component analysis (PCA) algorithm to calculate the variance of the dataset along multiple directions in the feature space.
  • BUse an Amazon SageMaker Data Wrangler quick model visualization to find feature importance scores that are between 0.5 and 1. (correct answer)
  • CUse the Amazon SageMaker Data Wrangler bias report to identify potential biases in the data related to feature engineering.
  • DUse an Amazon SageMaker Data Wrangler data flow to create and modify a data preparation pipeline. Manually add the feature scores.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use an Amazon SageMaker Data Wrangler quick model visualization to find feature importance scores that are between 0.5 and 1.

Explanation

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

Topic 1 Β· Question 348

A company is building a predictive maintenance system using real-time data from devices on remote sites. There is no AWS Direct Connect connection or VPN connection between the sites and the company's VPC. The data needs to be ingested in real time from the devices into Amazon S3. Transformation is needed to convert the raw data into clean .csv data to be fed into the machine learning (ML) model. The transformation needs to happen during the ingestion process. When transformation fails, the records need to be stored in a specific location in Amazon S3 for human review. The raw data before transformation also needs to be stored in Amazon S3. How should an ML specialist architect the solution to meet these requirements with the LEAST effort?

  • AUse Amazon Data Firehose with Amazon S3 as the destination. Configure Firehose to invoke an AWS Lambda function for data transformation. Enable source record backup on Firehose. (correct answer)
  • BUse Amazon Managed Streaming for Apache Kafka. Set up workers in Amazon Elastic Container Service (Amazon ECS) to move data from Kafka brokers to Amazon S3 while transforming it. Configure workers to store raw and unsuccessfully transformed data in different S3 buckets.
  • CUse Amazon Data Firehose with Amazon S3 as the destination. Configure Firehose to invoke an Apache Spark job in AWS Glue for data transformation. Enable source record backup and configure the error prefix.
  • DUse Amazon Kinesis Data Streams in front of Amazon Data Firehose. Use Kinesis Data Streams with AWS Lambda to store raw data in Amazon S3. Configure Firehose to invoke a Lambda function for data transformation with Amazon S3 as the destination.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Amazon Data Firehose with Amazon S3 as the destination. Configure Firehose to invoke an AWS Lambda function for data transformation. Enable source record backup on Firehose.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon S3 provides durable, scalable object storage that is fully managed. AWS Backup centrally automates and manages backups across AWS services.

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

A company wants to use machine learning (ML) to improve its customer churn prediction model. The company stores data in an Amazon Redshift data warehouse. A data science team wants to use Amazon Redshift machine learning (Amazon Redshift ML) to build a model and run predictions for new data directly within the data warehouse. Which combination of steps should the company take to use Amazon Redshift ML to meet these requirements? (Choose three.)

  • ADefine the feature variables and target variable for the churn prediction model. (correct answer)
  • BUse the SOL EXPLAIN_MODEL function to run predictions.
  • CWrite a CREATE MODEL SQL statement to create a model. (correct answer)
  • DUse Amazon Redshift Spectrum to train the model.
  • EManually export the training data to Amazon S3.
  • FUse the SQL prediction function to run predictions. (correct answer)
Reveal answer & explanation
Correct answer: A, C, F

The correct answer is A, C, F. Option A: Define the feature variables and target variable for the churn prediction model. Option C: Write a CREATE MODEL SQL statement to create a model. Option F: Use the SQL prediction function to run predictions.

Topic 1 Β· Question 350

A company’s machine learning (ML) team needs to build a system that can detect whether people in a collection of images are wearing the company’s logo. The company has a set of labeled training data. Which algorithm should the ML team use to meet this requirement?

  • APrincipal component analysis (PCA)
  • BRecurrent neural network (RNN)
  • CК-nearest neighbors (k-NN)
  • DConvolutional neural network (CNN) (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Convolutional neural network (CNN).

Topic 1 Β· Question 351

A data scientist uses Amazon SageMaker Data Wrangler to obtain a feature summary from a dataset that the data scientist imported from Amazon S3. The data scientist notices that the prediction power for a dataset feature has a score of 1. What is the cause of the score?

  • ATarget leakage occurred in the imported dataset. (correct answer)
  • BThe data scientist did not fine-tune the training and validation split.
  • CThe SageMaker Data Wrangler algorithm that the data scientist used did not find an optimal model fit for each feature to calculate the prediction power.
  • DThe data scientist did not process the features enough to accurately calculate prediction power.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Target leakage occurred in the imported dataset.

Topic 1 Β· Question 352

A data scientist is conducting exploratory data analysis (EDA) on a dataset that contains information about product suppliers. The dataset records the country where each product supplier is located as a two-letter text code. For example, the code for New Zealand is "NZ." The data scientist needs to transform the country codes for model training. The data scientist must choose the solution that will result in the smallest increase in dimensionality. The solution must not result in any information loss. Which solution will meet these requirements?

  • AAdd a new column of data that includes the full country name.
  • BEncode the country codes into numeric variables by using similarity encoding. (correct answer)
  • CMap the country codes to continent names.
  • DEncode the country codes into numeric variables by using one-hot encoding.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Encode the country codes into numeric variables by using similarity encoding.

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

A data scientist is building a new model for an ecommerce company. The model will predict how many minutes it will take to deliver a package. During model training, the data scientist needs to evaluate model performance. Which metrics should the data scientist use to meet this requirement? (Choose two.)

  • AInferenceLatency
  • BMean squared error (MSE) (correct answer)
  • CRoot mean squared error (RMSE) (correct answer)
  • DPrecision
  • EAccuracy
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Mean squared error (MSE) Option C: Root mean squared error (RMSE).

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

A machine learning (ML) specialist is developing a model for a company. The model will classify and predict sequences of objects that are displayed in a video. The ML specialist decides to use a hybrid architecture that consists of a convolutional neural network (CNN) followed by a classifier three-layer recurrent neural network (RNN). The company developed a similar model previously but trained the model to classify a different set of objects. The ML specialist wants to save time by using the previously trained model and adapting the model for the current use case and set of objects. Which combination of steps will accomplish this goal with the LEAST amount of effort? (Choose two.)

  • AReinitialize the weights of the entire CNN. Retrain the CNN on the classification task by using the new set of objects.
  • BReinitialize the weights of the entire network. Retrain the entire network on the prediction task by using the new set of objects.
  • CReinitialize the weights of the entire RNN. Retrain the entire model on the prediction task by using the new set of objects.
  • DReinitialize the weights of the last fully connected layer of the CNN. Retrain the CNN on the classification task by using the new set of objects. (correct answer)
  • EReinitialize the weights of the last layer of the RNN. Retrain the entire model on the prediction task by using the new set of objects. (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: Reinitialize the weights of the last fully connected layer of the CNN. Retrain the CNN on the classification task by using the new set of objects. Option E: Reinitialize the weights of the last layer of the RNN. Retrain the entire model on the prediction task by using the new set of objects.

Topic 1 Β· Question 355

A company distributes an online multiple-choice survey to several thousand people. Respondents to the survey can select multiple options for each question. A machine learning (ML) engineer needs to comprehensively represent every response from all respondents in a dataset. The ML engineer will use the dataset to train a logistic regression model. Which solution will meet these requirements?

  • APerform one-hot encoding on every possible option for each question of the survey. (correct answer)
  • BPerform binning on all the answers each respondent selected for each question.
  • CUse Amazon Mechanical Turk to create categorical labels for each set of possible responses.
  • DUse Amazon Textract to create numeric features for each set of possible responses.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Perform one-hot encoding on every possible option for each question of the survey.

Topic 1 Β· Question 356

A manufacturing company stores production volume data in a PostgreSQL database. The company needs an end-to-end solution that will give business analysts the ability to prepare data for processing and to predict future production volume based the previous year's production volume. The solution must not require the company to have coding knowledge. Which solution will meet these requirements with the LEAST effort?

  • AUse AWS Database Migration Service (AWS DMS) to transfer the data from the PostgreSQL database to an Amazon S3 bucket. Create an Amazon EMR duster to read the S3 bucket and perform the data preparation. Use Amazon SageMaker Studio for the prediction modeling.
  • BUse AWS Glue DataBrew to read the data that is in the PostgreSQL database and to perform the data preparation. Use Amazon SageMaker Canvas for the prediction modeling. (correct answer)
  • CUse AWS Database Migration Service (AWS DMS) to transfer the data from the PostgreSQL database to an Amazon S3 bucket. Use AWS Glue to read the data in the S3 bucket and to perform the data preparation. Use Amazon SageMaker Canvas for the prediction modeling.
  • DUse AWS Glue DataBrew to read the data that is in the PostgreSQL database and to perform the data preparation. Use Amazon SageMaker Studio for the prediction modeling.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use AWS Glue DataBrew to read the data that is in the PostgreSQL database and to perform the data preparation. Use Amazon SageMaker Canvas for the prediction modeling.

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Topic 1 Β· Question 357

A data scientist needs to create a model for predictive maintenance. The model will be based on historical data to identify rare anomalies in the data. The historical data is stored in an Amazon S3 bucket. The data scientist needs to use Amazon SageMaker Data Wrangler to ingest the data. The data scientist also needs to perform exploratory data analysis (EDA) to understand the statistical properties of the data. Which solution will meet these requirements with the LEAST amount of compute resources?

  • AImport the data by using the None option.
  • BImport the data by using the Stratified option.
  • CImport the data by using the First K option. Infer the value of K from domain knowledge. (correct answer)
  • DImport the data by using the Randomized option. Infer the random size from domain knowledge.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Import the data by using the First K option. Infer the value of K from domain knowledge.

Topic 1 Β· Question 358

An ecommerce company has observed that customers who use the company's website rarely view items that the website recommends to customers. The company wants to recommend items to customers that customers are more likely to want to purchase. Which solution will meet this requirement in the SHORTEST amount of time?

  • AHost the company's website on Amazon EC2 Accelerated Computing instances to increase the website response speed.
  • BHost the company's website on Amazon EC2 GPU-based instances to increase the speed of the website's search tool.
  • CIntegrate Amazon Personalize into the company's website to provide customers with personalized recommendations. (correct answer)
  • DUse Amazon SageMaker to train a Neural Collaborative Filtering (NCF) model to make product recommendations.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Integrate Amazon Personalize into the company's website to provide customers with personalized recommendations.

Explanation

Amazon EBS provides block storage attached to a single EC2 instance. Amazon Personalize builds real-time recommendation systems.

Topic 1 Β· Question 359

A machine learning (ML) engineer is preparing a dataset for a classification model. The ML engineer notices that some continuous numeric features have a significantly greater value than most other features. A business expert explains that the features are independently informative and that the dataset is representative of the target distribution. After training, the model's inferences accuracy is lower than expected. Which preprocessing technique will result in the GREATEST increase of the model's inference accuracy?

  • ANormalize the problematic features. (correct answer)
  • BBootstrap the problematic features.
  • CRemove the problematic features.
  • DExtrapolate synthetic features.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Normalize the problematic features.

Topic 1 Β· Question 360

A manufacturing company produces 100 types of steel rods. The rod types have varying material grades and dimensions. The company has sales data for the steel rods for the past 50 years. A data scientist needs to build a machine learning (ML) model to predict future sales of the steel rods. Which solution will meet this requirement in the MOST operationally efficient way?

  • AUse the Amazon SageMaker DeepAR forecasting algorithm to build a single model for all the products. (correct answer)
  • BUse the Amazon SageMaker DeepAR forecasting algorithm to build separate models for each product.
  • CUse Amazon SageMaker Autopilot to build a single model for all the products.
  • DUse Amazon SageMaker Autopilot to build separate models for each product.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use the Amazon SageMaker DeepAR forecasting algorithm to build a single model for all the products.

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. Amazon Forecast produces time-series forecasts using machine learning.

Showing questions 341–360 of 369 Β· Page 18 of 19