πŸ”

MLS-C01 β€” questions

Page 10 of 19 Β· 369 total questions.

Topic 1 Β· Question 181

A real-estate company is launching a new product that predicts the prices of new houses. The historical data for the properties and prices is stored in .csv format in an Amazon S3 bucket. The data has a header, some categorical fields, and some missing values. The company's data scientists have used Python with a common open-source library to fill the missing values with zeros. The data scientists have dropped all of the categorical fields and have trained a model by using the open-source linear regression algorithm with the default parameters. The accuracy of the predictions with the current model is below 50%. The company wants to improve the model performance and launch the new product as soon as possible. Which solution will meet these requirements with the LEAST operational overhead?

  • ACreate a service-linked role for Amazon Elastic Container Service (Amazon ECS) with access to the S3 bucket. Create an ECS cluster that is based on an AWS Deep Learning Containers image. Write the code to perform the feature engineering. Train a logistic regression model for predicting the price, pointing to the bucket with the dataset. Wait for the training job to complete. Perform the inferences.
  • BCreate an Amazon SageMaker notebook with a new IAM role that is associated with the notebook. Pull the dataset from the S3 bucket. Explore different combinations of feature engineering transformations, regression algorithms, and hyperparameters. Compare all the results in the notebook, and deploy the most accurate configuration in an endpoint for predictions.
  • CCreate an IAM role with access to Amazon S3, Amazon SageMaker, and AWS Lambda. Create a training job with the SageMaker built-in XGBoost model pointing to the bucket with the dataset. Specify the price as the target feature. Wait for the job to complete. Load the model artifact to a Lambda function for inference on prices of new houses.
  • DCreate an IAM role for Amazon SageMaker with access to the S3 bucket. Create a SageMaker AutoML job with SageMaker Autopilot pointing to the bucket with the dataset. Specify the price as the target attribute. Wait for the job to complete. Deploy the best model for predictions. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an IAM role for Amazon SageMaker with access to the S3 bucket. Create a SageMaker AutoML job with SageMaker Autopilot pointing to the bucket with the dataset. Specify the price as the target attribute. Wait for...

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 182 Β· Select all that apply

A data scientist is reviewing customer comments about a company's products. The data scientist needs to present an initial exploratory analysis by using charts and a word cloud. The data scientist must use feature engineering techniques to prepare this analysis before starting a natural language processing (NLP) model. Which combination of feature engineering techniques should the data scientist use to meet these requirements? (Choose two.)

  • ANamed entity recognition
  • BCoreference
  • CStemming (correct answer)
  • DTerm frequency-inverse document frequency (TF-IDF) (correct answer)
  • ESentiment analysis
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: Stemming Option D: Term frequency-inverse document frequency (TF-IDF).

Topic 1 Β· Question 183

A data scientist is evaluating a GluonTS on Amazon SageMaker DeepAR model. The evaluation metrics on the test set indicate that the coverage score is 0.489 and 0.889 at the 0.5 and 0.9 quantiles, respectively. What can the data scientist reasonably conclude about the distributional forecast related to the test set?

  • AThe coverage scores indicate that the distributional forecast is poorly calibrated. These scores should be approximately equal to each other at all quantiles.
  • BThe coverage scores indicate that the distributional forecast is poorly calibrated. These scores should peak at the median and be lower at the tails.
  • CThe coverage scores indicate that the distributional forecast is correctly calibrated. These scores should always fall below the quantile itself.
  • DThe coverage scores indicate that the distributional forecast is correctly calibrated. These scores should be approximately equal to the quantile itself. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: The coverage scores indicate that the distributional forecast is correctly calibrated. These scores should be approximately equal to the quantile itself.

Explanation

Amazon Forecast produces time-series forecasts using machine learning.

Topic 1 Β· Question 184

An energy company has wind turbines, weather stations, and solar panels that generate telemetry data. The company wants to perform predictive maintenance on these devices. The devices are in various locations and have unstable internet connectivity. A team of data scientists is using the telemetry data to perform machine learning (ML) to conduct anomaly detection and predict maintenance before the devices start to deteriorate. The team needs a scalable, secure, high-velocity data ingestion mechanism. The team has decided to use Amazon S3 as the data storage location. Which approach meets these requirements?

  • AIngest the data by using an HTTP API call to a web server that is hosted on Amazon EC2. Set up EC2 instances in an Auto Scaling configuration behind an Elastic Load Balancer to load the data into Amazon S3.
  • BIngest the data over Message Queuing Telemetry Transport (MQTT) to AWS IoT Core. Set up a rule in AWS IoT Core to use Amazon Kinesis Data Firehose to send data to an Amazon Kinesis data stream that is configured to write to an S3 bucket.
  • CIngest the data over Message Queuing Telemetry Transport (MQTT) to AWS IoT Core. Set up a rule in AWS IoT Core to direct all MQTT data to an Amazon Kinesis Data Firehose delivery stream that is configured to write to an S3 bucket. (correct answer)
  • DIngest the data over Message Queuing Telemetry Transport (MQTT) to Amazon Kinesis data stream that is configured to write to an S3 bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Ingest the data over Message Queuing Telemetry Transport (MQTT) to AWS IoT Core. Set up a rule in AWS IoT Core to direct all MQTT data to an Amazon Kinesis Data Firehose delivery stream that is configured to write to...

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 185

A retail company collects customer comments about its products from social media, the company website, and customer call logs. A team of data scientists and engineers wants to find common topics and determine which products the customers are referring to in their comments. The team is using natural language processing (NLP) to build a model to help with this classification. Each product can be classified into multiple categories that the company defines. These categories are related but are not mutually exclusive. For example, if there is mention of "Sample Yogurt" in the document of customer comments, then "Sample Yogurt" should be classified as "yogurt," "snack," and "dairy product." The team is using Amazon Comprehend to train the model and must complete the project as soon as possible. Which functionality of Amazon Comprehend should the team use to meet these requirements?

  • ACustom classification with multi-class mode
  • BCustom classification with multi-label mode (correct answer)
  • CCustom entity recognition
  • DBuilt-in models
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Custom classification with multi-label mode.

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

A data engineer is using AWS Glue to create optimized, secure datasets in Amazon S3. The data science team wants the ability to access the ETL scripts directly from Amazon SageMaker notebooks within a VPC. After this setup is complete, the data science team wants the ability to run the AWS Glue job and invoke the SageMaker training job. Which combination of steps should the data engineer take to meet these requirements? (Choose three.)

  • ACreate a SageMaker development endpoint in the data science team's VPC.
  • BCreate an AWS Glue development endpoint in the data science team's VPC. (correct answer)
  • CCreate SageMaker notebooks by using the AWS Glue development endpoint. (correct answer)
  • DCreate SageMaker notebooks by using the SageMaker console.
  • EAttach a decryption policy to the SageMaker notebooks.
  • FCreate an IAM policy and an IAM role for the SageMaker notebooks. (correct answer)
Reveal answer & explanation
Correct answer: B, C, F

The correct answer is B, C, F. Option B: Create an AWS Glue development endpoint in the data science team's VPC. Option C: Create SageMaker notebooks by using the AWS Glue development endpoint. Option F: Create an IAM policy and an IAM role for the SageMaker notebooks.

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

Topic 1 Β· Question 187

A data engineer needs to provide a team of data scientists with the appropriate dataset to run machine learning training jobs. The data will be stored in Amazon S3. The data engineer is obtaining the data from an Amazon Redshift database and is using join queries to extract a single tabular dataset. A portion of the schema is as follows: TransactionTimestamp (Timestamp) CardName (Varchar) CardNo (Varchar) The data engineer must provide the data so that any row with a CardNo value of NULL is removed. Also, the TransactionTimestamp column must be separated into a TransactionDate column and a TransactionTime column. Finally, the CardName column must be renamed to NameOnCard. The data will be extracted on a monthly basis and will be loaded into an S3 bucket. The solution must minimize the effort that is needed to set up infrastructure for the ingestion and transformation. The solution also must be automated and must minimize the load on the Amazon Redshift cluster. Which solution meets these requirements?

  • ASet up an Amazon EMR cluster. Create an Apache Spark job to read the data from the Amazon Redshift cluster and transform the data. Load the data into the S3 bucket. Schedule the job to run monthly.
  • BSet up an Amazon EC2 instance with a SQL client tool, such as SQL Workbench/J, to query the data from the Amazon Redshift cluster directly Export the resulting dataset into a file. Upload the file into the S3 bucket. Perform these tasks monthly.
  • CSet up an AWS Glue job that has the Amazon Redshift cluster as the source and the S3 bucket as the destination. Use the built-in transforms Filter, Map, and RenameField to perform the required transformations. Schedule the job to run monthly. (correct answer)
  • DUse Amazon Redshift Spectrum to run a query that writes the data directly to the S3 bucket. Create an AWS Lambda function to run the query monthly.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Set up an AWS Glue job that has the Amazon Redshift cluster as the source and the S3 bucket as the destination. Use the built-in transforms Filter, Map, and RenameField to perform the required transformations. Schedul...

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. AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 188

A machine learning (ML) specialist wants to bring a custom training algorithm to Amazon SageMaker. The ML specialist implements the algorithm in a Docker container that is supported by SageMaker. How should the ML specialist package the Docker container so that SageMaker can launch the training correctly?

  • ASpecify the server argument in the ENTRYPOINT instruction in the Dockerfile.
  • BSpecify the training program in the ENTRYPOINT instruction in the Dockerfile. (correct answer)
  • CInclude the path to the training data in the docker build command when packaging the container.
  • DUse a COPY instruction in the Dockerfile to copy the training program to the /opt/ml/train directory.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Specify the training program in the ENTRYPOINT instruction in the Dockerfile.

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

An ecommerce company wants to use machine learning (ML) to monitor fraudulent transactions on its website. The company is using Amazon SageMaker to research, train, deploy, and monitor the ML models. The historical transactions data is in a .csv file that is stored in Amazon S3. The data contains features such as the user's IP address, navigation time, average time on each page, and the number of clicks for each session. There is no label in the data to indicate if a transaction is anomalous. Which models should the company use in combination to detect anomalous transactions? (Choose two.)

  • AIP Insights (correct answer)
  • BK-nearest neighbors (k-NN)
  • CLinear learner with a logistic function
  • DRandom Cut Forest (RCF) (correct answer)
  • EXGBoost
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: IP Insights Option D: Random Cut Forest (RCF).

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

A healthcare company is using an Amazon SageMaker notebook instance to develop machine learning (ML) models. The company's data scientists will need to be able to access datasets stored in Amazon S3 to train the models. Due to regulatory requirements, access to the data from instances and services used for training must not be transmitted over the internet. Which combination of steps should an ML specialist take to provide this access? (Choose two.)

  • AConfigure the SageMaker notebook instance to be launched with a VPC attached and internet access disabled. (correct answer)
  • BCreate and configure a VPN tunnel between SageMaker and Amazon S3.
  • CCreate and configure an S3 VPC endpoint Attach it to the VPC. (correct answer)
  • DCreate an S3 bucket policy that allows traffic from the VPC and denies traffic from the internet.
  • EDeploy AWS Transit Gateway Attach the S3 bucket and the SageMaker instance to the gateway.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Configure the SageMaker notebook instance to be launched with a VPC attached and internet access disabled. Option C: Create and configure an S3 VPC endpoint Attach it to the VPC.

Explanation

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

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

A machine learning (ML) specialist at a retail company is forecasting sales for one of the company's stores. The ML specialist is using data from the past 10 years. The company has provided a dataset that includes the total amount of money in sales each day for the store. Approximately 5% of the days are missing sales data. The ML specialist builds a simple forecasting model with the dataset and discovers that the model performs poorly. The performance is poor around the time of seasonal events, when the model consistently predicts sales figures that are too low or too high. Which actions should the ML specialist take to try to improve the model's performance? (Choose two.)

  • AAdd information about the store's sales periods to the dataset. (correct answer)
  • BAggregate sales figures from stores in the same proximity.
  • CApply smoothing to correct for seasonal variation. (correct answer)
  • DChange the forecast frequency from daily to weekly.
  • EReplace missing values in the dataset by using linear interpolation.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Add information about the store's sales periods to the dataset. Option C: Apply smoothing to correct for seasonal variation.

Topic 1 Β· Question 192

A newspaper publisher has a table of customer data that consists of several numerical and categorical features, such as age and education history, as well as subscription status. The company wants to build a targeted marketing model for predicting the subscription status based on the table data. Which Amazon SageMaker built-in algorithm should be used to model the targeted marketing?

  • ARandom Cut Forest (RCF)
  • BXGBoost (correct answer)
  • CNeural Topic Model (NTM)
  • DDeepAR forecasting
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: XGBoost.

Topic 1 Β· Question 193

A company will use Amazon SageMaker to train and host a machine learning model for a marketing campaign. The data must be encrypted at rest. Most of the data is sensitive customer data. The company wants AWS to maintain the root of trust for the encryption keys and wants key usage to be logged. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse AWS Security Token Service (AWS STS) to create temporary tokens to encrypt the storage volumes for all SageMaker instances and to encrypt the model artifacts and data in Amazon S3.
  • BUse customer managed keys in AWS Key Management Service (AWS KMS) to encrypt the storage volumes for all SageMaker instances and to encrypt the model artifacts and data in Amazon S3. (correct answer)
  • CUse encryption keys stored in AWS CloudHSM to encrypt the storage volumes for all SageMaker instances and to encrypt the model artifacts and data in Amazon S3.
  • DUse SageMaker built-in transient keys to encrypt the storage volumes for all SageMaker instances. Enable default encryption ffnew Amazon Elastic Block Store (Amazon EBS) volumes.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use customer managed keys in AWS Key Management Service (AWS KMS) to encrypt the storage volumes for all SageMaker instances and to encrypt the model artifacts and data in Amazon S3.

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 KMS manages encryption keys and integrates with most AWS services for encryption at rest.

Topic 1 Β· Question 194

A data scientist is working on a model to predict a company's required inventory stock levels. All historical data is stored in .csv files in the company's data lake on Amazon S3. The dataset consists of approximately 500 GB of data The data scientist wants to use SQL to explore the data before training the model. The company wants to minimize costs. Which option meets these requirements with the LEAST operational overhead?

  • ACreate an Amazon EMR cluster. Create external tables in the Apache Hive metastore, referencing the data that is stored in the S3 bucket. Explore the data from the Hive console.
  • BUse AWS Glue to crawl the S3 bucket and create tables in the AWS Glue Data Catalog. Use Amazon Athena to explore the data. (correct answer)
  • CCreate an Amazon Redshift cluster. Use the COPY command to ingest the data from Amazon S3. Explore the data from the Amazon Redshift query editor GUI.
  • DCreate an Amazon Redshift cluster. Create external tables in an external schema, referencing the S3 bucket that contains the data. Explore the data from the Amazon Redshift query editor GUI.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use AWS Glue to crawl the S3 bucket and create tables in the AWS Glue Data Catalog. Use Amazon Athena to explore the data.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Athena runs serverless SQL queries directly on data in Amazon S3 with no infrastructure to manage. AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 195

A geospatial analysis company processes thousands of new satellite images each day to produce vessel detection data for commercial shipping. The company stores the training data in Amazon S3. The training data incrementally increases in size with new images each day. The company has configured an Amazon SageMaker training job to use a single ml.p2.xlarge instance with File input mode to train the built-in Object Detection algorithm. The training process was successful last month but is now failing because of a lack of storage. Aside from the addition of training data, nothing has changed in the model training process. A machine learning (ML) specialist needs to change the training configuration to fix the problem. The solution must optimize performance and must minimize the cost of training. Which solution will meet these requirements?

  • AModify the training configuration to use two ml.p2.xlarge instances.
  • BModify the training configuration to use Pipe input mode. (correct answer)
  • CModify the training configuration to use a single ml.p3.2xlarge instance.
  • DModify the training configuration to use Amazon Elastic File System (Amazon EFS) instead of Amazon S3 to store the input training data.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Modify the training configuration to use Pipe input mode.

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 196

A company is using Amazon SageMaker to build a machine learning (ML) model to predict customer churn based on customer call transcripts. Audio files from customer calls are located in an on-premises VoIP system that has petabytes of recorded calls. The on-premises infrastructure has high-velocity networking and connects to the company's AWS infrastructure through a VPN connection over a 100 Mbps connection. The company has an algorithm for transcribing customer calls that requires GPUs for inference. The company wants to store these transcriptions in an Amazon S3 bucket in the AWS Cloud for model development. Which solution should an ML specialist use to deliver the transcriptions to the S3 bucket as quickly as possible?

  • AOrder and use an AWS Snowball Edge Compute Optimized device with an NVIDIA Tesla module to run the transcription algorithm. Use AWS DataSync to send the resulting transcriptions to the transcription S3 bucket. (correct answer)
  • BOrder and use an AWS Snowcone device with Amazon EC2 Inf1 instances to run the transcription algorithm. Use AWS DataSync to send the resulting transcriptions to the transcription S3 bucket.
  • COrder and use AWS Outposts to run the transcription algorithm on GPU-based Amazon EC2 instances. Store the resulting transcriptions in the transcription S3 bucket.
  • DUse AWS DataSync to ingest the audio files to Amazon S3. Create an AWS Lambda function to run the transcription algorithm on the audio files when they are uploaded to Amazon S3. Configure the function to write the resulting transcriptions to the transcription S3 bucket.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Order and use an AWS Snowball Edge Compute Optimized device with an NVIDIA Tesla module to run the transcription algorithm. Use AWS DataSync to send the resulting transcriptions to the transcription S3 bucket.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. AWS DataSync automates and accelerates online data transfer to AWS with minimal effort. AWS Snowball physically ships data to AWS, ideal when bandwidth is limited or data is very large.

Topic 1 Β· Question 197

A company has a podcast platform that has thousands of users. The company has implemented an anomaly detection algorithm to detect low podcast engagement based on a 10-minute running window of user events such as listening, pausing, and exiting the podcast. A machine learning (ML) specialist is designing the data ingestion of these events with the knowledge that the event payload needs some small transformations before inference. How should the ML specialist design the data ingestion to meet these requirements with the LEAST operational overhead?

  • AIngest event data by using a GraphQLAPI in AWS AppSync. Store the data in an Amazon DynamoDB table. Use DynamoDB Streams to call an AWS Lambda function to transform the most recent 10 minutes of data before inference.
  • BIngest event data by using Amazon Kinesis Data Streams. Store the data in Amazon S3 by using Amazon Kinesis Data Firehose. Use AWS Glue to transform the most recent 10 minutes of data before inference.
  • CIngest event data by using Amazon Kinesis Data Streams. Use an Amazon Kinesis Data Analytics for Apache Flink application to transform the most recent 10 minutes of data before inference. (correct answer)
  • DIngest event data by using Amazon Managed Streaming for Apache Kafka (Amazon MSK). Use an AWS Lambda function to transform the most recent 10 minutes of data before inference.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Ingest event data by using Amazon Kinesis Data Streams. Use an Amazon Kinesis Data Analytics for Apache Flink application 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 198

A company wants to predict the classification of documents that are created from an application. New documents are saved to an Amazon S3 bucket every 3 seconds. The company has developed three versions of a machine learning (ML) model within Amazon SageMaker to classify document text. The company wants to deploy these three versions to predict the classification of each document. Which approach will meet these requirements with the LEAST operational overhead?

  • AConfigure an S3 event notification that invokes an AWS Lambda function when new documents are created. Configure the Lambda function to create three SageMaker batch transform jobs, one batch transform job for each model for each document.
  • BDeploy all the models to a single SageMaker endpoint. Treat each model as a production variant. Configure an S3 event notification that invokes an AWS Lambda function when new documents are created. Configure the Lambda function to call each production variant and return the results of each model. (correct answer)
  • CDeploy each model to its own SageMaker endpoint Configure an S3 event notification that invokes an AWS Lambda function when new documents are created. Configure the Lambda function to call each endpoint and return the results of each model.
  • DDeploy each model to its own SageMaker endpoint. Create three AWS Lambda functions. Configure each Lambda function to call a different endpoint and return the results. Configure three S3 event notifications to invoke the Lambda functions when new documents are created.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Deploy all the models to a single SageMaker endpoint. Treat each model as a production variant. Configure an S3 event notification that invokes an AWS Lambda function when new documents are created. Configure the Lamb...

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. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

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

A manufacturing company needs to identify returned smartphones that have been damaged by moisture. The company has an automated process that produces 2,000 diagnostic values for each phone. The database contains more than five million phone evaluations. The evaluation process is consistent, and there are no missing values in the data. A machine learning (ML) specialist has trained an Amazon SageMaker linear learner ML model to classify phones as moisture damaged or not moisture damaged by using all available features. The model's F1 score is 0.6. Which changes in model training would MOST likely improve the model's F1 score? (Choose two.)

  • AContinue to use the SageMaker linear learner algorithm. Reduce the number of features with the SageMaker principal component analysis (PCA) algorithm. (correct answer)
  • BContinue to use the SageMaker linear learner algorithm. Reduce the number of features with the scikit-learn multi-dimensional scaling (MDS) algorithm.
  • CContinue to use the SageMaker linear learner algorithm. Set the predictor type to regressor.
  • DUse the SageMaker k-means algorithm with k of less than 1,000 to train the model.
  • EUse the SageMaker k-nearest neighbors (k-NN) algorithm. Set a dimension reduction target of less than 1,000 to train the model. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: Continue to use the SageMaker linear learner algorithm. Reduce the number of features with the SageMaker principal component analysis (PCA) algorithm. Option E: Use the SageMaker k-nearest neighbors (k-NN) algorithm. Set a dimension reduction target of less than 1,000 to train the model.

Explanation

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

Topic 1 Β· Question 200

A company is building a machine learning (ML) model to classify images of plants. An ML specialist has trained the model using the Amazon SageMaker built-in Image Classification algorithm. The model is hosted using a SageMaker endpoint on an ml.m5.xlarge instance for real-time inference. When used by researchers in the field, the inference has greater latency than is acceptable. The latency gets worse when multiple researchers perform inference at the same time on their devices. Using Amazon CloudWatch metrics, the ML specialist notices that the ModelLatency metric shows a high value and is responsible for most of the response latency. The ML specialist needs to fix the performance issue so that researchers can experience less latency when performing inference from their devices. Which action should the ML specialist take to meet this requirement?

  • AChange the endpoint instance to an ml.t3 burstable instance with the same vCPU number as the ml.m5.xlarge instance has.
  • BAttach an Amazon Elastic Inference ml.eia2.medium accelerator to the endpoint instance. (correct answer)
  • CEnable Amazon SageMaker Autopilot to automatically tune performance of the model.
  • DChange the endpoint instance to use a memory optimized ML instance.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Attach an Amazon Elastic Inference ml.eia2.medium accelerator to the endpoint instance. This option meets the real-time / low-latency performance requirement.

Showing questions 181–200 of 369 Β· Page 10 of 19