Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

MLS-C01: AWS Certified Machine Learning Specialty

Unlock the power of AI/ML on AWS to build scalable, intelligent solutions.

4.9★★★★★(391 ratings)
13,323 studentsAdvanced
Design, implement, and deploy machine learning solutions that solve complex business problems using AWS SageMaker and specialized AI services. This certification validates your expertise in the entire ML lifecycle at scale. Prepare to lead ML projects from data engineering to model tuning and production deployment. Enhance your career by demonstrating specialized skills in one of the most in-demand fields of cloud computing.

What you'll learn

  • Data engineering for ML
  • Exploratory Data Analysis
  • Modeling & Training
  • Machine Learning Implementation
  • Model Ops & Deployment

MLS-C01

Lectures4
Questions183
Duration30 week
Students13,323

$20.00

Full Free Question Bank (183 Questions)

MLS-C01: AWS Certified Machine Learning Specialty (MLS-C01) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1Select 2

An agency collects census information within a country to determine healthcare and social program needs by province and city. The census form collects responses for approximately 500 questions from each citizen. Which combination of algorithms would provide the appropriate insights? (Choose two.)

AThe factorization machines (FM) algorithm
BThe Latent Dirichlet Allocation (LDA) algorithm
CThe principal component analysis (PCA) algorithm
DThe k-means algorithm
EThe Random Cut Forest (RCF) algorithm
Question #2Part 1Select 2

A sports broadcasting company is planning to introduce subtitles in multiple languages for a live broadcast. The commentary is in English. The company needs the transcriptions to appear on screen in French or Spanish, depending on the broadcasting country. The transcriptions must be able to capture domain-specific terminology, names, and locations based on the commentary context. The company needs a solution that can support options to provide tuning data. Which combination of AWS services and features will meet these requirements with the LEAST operational overhead? (Choose two.)

AAmazon Transcribe with custom vocabularies
BAmazon Transcribe with custom language models
CAmazon SageMaker Seq2Seq
DAmazon SageMaker with Hugging Face Speech2Text
EAmazon Translate
Question #3Part 1

A Machine Learning Specialist works for a credit card processing company and needs to predict which transactions may be fraudulent in near-real time. Specifically, the Specialist must train a model that returns the probability that a given transaction may fraudulent. How should the Specialist frame this business problem?

AStreaming classification
BBinary classification
CMulti-category classification
DRegression classification
Question #4Part 1

A developer at a retail company is creating a daily demand forecasting model. The company stores the historical hourly demand data in an Amazon S3 bucket. However, the historical data does not include demand data for some hours. The developer wants to verify that an autoregressive integrated moving average (ARIMA) approach will be a suitable model for the use case. How should the developer verify the suitability of an ARIMA approach?

AUse Amazon SageMaker Data Wrangler. Import the data from Amazon S3. Impute hourly
BUse Amazon SageMaker Autopilot. Create a new experiment that specifies the S3 data
CUse Amazon SageMaker Data Wrangler. Import the data from Amazon S3. Resample data
DUse Amazon SageMaker Autopilot. Create a new experiment that specifies the S3 data
Question #5Part 1Select 3

An ecommerce company is collecting structured data and unstructured data from its website, mobile apps, and IoT devices. The data is stored in several databases and Amazon S3 buckets. The company is implementing a scalable repository to store structured data and unstructured data. The company must implement a solution that provides a central data catalog, self-service access to the data, and granular data access policies and encryption to protect the data. Which combination of actions will meet these requirements with the LEAST amount of setup? (Choose three.)

AIdentify the existing data in the databases and S3 buckets. Link the data to AWS Lake
BIdentify the existing data in the databases and S3 buckets. Link the data to AWS Glue.
CRun AWS Glue crawlers on the linked data sources to create a central data catalog.
DApply granular access policies by using AWS Identity and Access Management (1AM).
EApply granular access policies and encryption by using AWS Lake Formation.
Question #6Part 1Select 3

An online retail company wants to develop a natural language processing (NLP) model to improve customer service. A machine learning (ML) specialist is setting up distributed training of a Bidirectional Encoder Representations from Transformers (BERT) model on Amazon SageMaker. SageMaker will use eight compute instances for the distributed training. The ML specialist wants to ensure the security of the data during the distributed training. The data is stored in an Amazon S3 bucket. Which combination of steps should the ML specialist take to protect the data during the distributed training? (Choose three.)

ARun distributed training jobs in a private VPC. Enable inter-container traffic encryption.
BRun distributed training jobs across multiple VPCs. Enable VPC peering.
CCreate an S3 VPC endpoint. Then configure network routes, endpoint policies, and S3
DGrant read-only access to SageMaker resources by using an IAM role.
ECreate a NAT gateway. Assign an Elastic IP address for the NAT gateway.
Question #7Part 1

A bank wants to launch a low-rate credit promotion campaign. The bank must identify which customers to target with the promotion and wants to make sure that each customer's full credit history is considered when an approval or denial decision is made. The bank's data science team used the XGBoost algorithm to train a classification model based on account transaction features. The data science team deployed the model by using the Amazon SageMaker model hosting service. The accuracy of the model is sufficient, but the data science team wants to be able to explain why the model denies the promotion to some customers. What should the data science team do to meet this requirement in the MOST operationally efficient manner?

ACreate a SageMaker notebook instance. Upload the model artifact to the notebook. Use the
BRetrain the model by using SageMaker Debugger. Configure Debugger to calculate and
CSet up and run an explainability job powered by SageMaker Clarify to analyze the individual
DUse SageMaker Model Monitor to create Shapley values that help explain model behavior.
Question #8Part 1

A company is using a legacy telephony platform and has several years remaining on its contract. The company wants to move to AWS and wants to implement the following machine learning features: • Call transcription in multiple languages • Categorization of calls based on the transcript • Detection of the main customer issues in the calls • Customer sentiment analysis for each line of the transcript, with positive or negative indication and scoring of that sentiment Which AWS solution will meet these requirements with the LEAST amount of custom model training?

AUse Amazon Transcribe to process audio calls to produce transcripts, categorize calls, and
BUse Amazon Transcribe to process audio calls to produce transcripts. Use Amazon
CUse Contact Lens for Amazon Connect to process audio calls to produce transcripts,
DUse Contact Lens for Amazon Connect to process audio calls to produce transcripts. Use
Question #9Part 1

A machine learning (ML) specialist has prepared and used a custom container image with Amazon SageMaker to train an image classification model. The ML specialist is performing hyperparameter optimization (HPO) with this custom container image to produce a higher quality image classifier. The ML specialist needs to determine whether HPO with the SageMaker built-in image classification algorithm will produce a better model than the model produced by HPO with the custom container image. All ML experiments and HPO jobs must be invoked from scripts inside SageMaker Studio notebooks. How can the ML specialist meet these requirements in the LEAST amount of time?

APrepare a custom HPO script that runs multiple training jobs in SageMaker Studio in local
BUse SageMaker Autopilot to tune the model of the custom container image. Use the
CUse SageMaker Experiments to run and manage multiple training jobs and tune the model of
DUse the automatic model tuning capability of SageMaker to tune the models of the custom
Question #10Part 1

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.
BStore the daily objects in the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage
CStore the daily objects in the S3 Standard-InfrequentAccess (S3 Standard-IA) storage class.
DStore the daily objects in the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage
Question #11Part 1Select 2

A data engineer is evaluating customer data in Amazon SageMaker Data Wrangler. The data engineer will use the customer data to create a new model to predict customer behavior. The engineer needs to increase the model performance by checking for multicollinearity in the dataset. Which steps can the data engineer take to accomplish this with the LEAST operational effort? (Choose two.)

AUse SageMaker Data Wrangler to refit and transform the dataset by applying one-hot
BUse SageMaker Data Wrangler diagnostic visualization. Use principal components analysis
CUse the SageMaker Data Wrangler Quick Model visualization to quickly evaluate the dataset
DUse the SageMaker Data Wrangler Min Max Scaler transform to normalize the data.
EUse SageMaker Data Wrangler diagnostic visualization. Use least absolute shrinkage and
Question #12Part 1

A data engineer wants to perform exploratory data analysis (EDA) on a petabyte of data. The data engineer does not want to manage compute resources and wants to pay only for queries that are run. The data engineer must write the analysis by using Python from a Jupyter notebook. Which solution will meet these requirements?

AUse Apache Spark from within Amazon Athena.
BUse Apache Spark from within Amazon SageMaker.
CUse Apache Spark from within an Amazon EMR cluster.
DUse Apache Spark through an integration with Amazon Redshift.
Question #13Part 1

A company wants to forecast the daily price of newly launched products based on 3 years of data for older product prices, sales, and rebates. The time-series data has irregular timestamps and is missing some values. Data scientist must build a dataset to replace the missing values. The data scientist needs a solution that resamples the data daily and exports the data for further modeling. Which solution will meet these requirements with the LEAST implementation effort?

AUse Amazon EMR Serverless with PySpark.
BUse AWS Glue DataBrew.
CUse Amazon SageMaker Studio Data Wrangler.
DUse Amazon SageMaker Studio Notebook with Pandas.
Question #14Part 1Select 3

A company that operates oil platforms uses drones to photograph locations on oil platforms that are difficult for humans to access to search for corrosion. Experienced engineers review the photos to determine the severity of corrosion. There can be several corroded areas in a single photo. The engineers determine whether the identified corrosion needs to be fixed immediately, scheduled for future maintenance, or requires no action. The corrosion appears in an average of 0.1% of all photos. A data science team needs to create a solution that automates the process of reviewing the photos and classifying the need for maintenance. Which combination of steps will meet these requirements? (Choose three.)

AUse an object detection algorithm to train a model to identify corrosion areas of a photo.
BUse Amazon Rekognition with label detection on the photos.
CUse a k-means clustering algorithm to train a model to classify the severity of corrosion in a
DUse an XGBoost algorithm to train a model to classify the severity of corrosion in a photo.
EPerform image augmentation on photos that contain corrosion.
Question #15Part 1

An agriculture company wants to improve crop yield forecasting for the upcoming season by using crop yields from the last three seasons. The company wants to compare the performance of its new scikit-learn model to the benchmark. A data scientist needs to package the code into a container that computes both the new model forecast and the benchmark. The data scientist wants AWS to be responsible for the operational maintenance of the container. Which solution will meet these requirements?

APackage the code as the training script for an Amazon SageMaker scikit-learn container.
BPackage the code into a custom-built container. Push the container to Amazon Elastic
CPackage the code into a custom-built container. Push the container to AWS Fargate.
DPackage the code by extending an Amazon SageMaker scikit-learn container.
Question #16Part 1

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
CRecall
DF1
Question #17Part 1

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
BUse Amazon Managed Streaming for Apache Kafka. Set up workers in Amazon Elastic
CUse Amazon Data Firehose with Amazon S3 as the destination. Configure Firehose to invoke
DUse Amazon Kinesis Data Streams in front of Amazon Data Firehose. Use Kinesis Data
Question #18Part 1

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
BUse the Amazon SageMaker DeepAR forecasting algorithm to build separate models for
CUse Amazon SageMaker Autopilot to build a single model for all the products.
DUse Amazon SageMaker Autopilot to build separate models for each product.
Question #19Part 1Select 2

A machine learning (ML) specialist is building a credit score model for a financial institution. The ML specialist has collected data for the previous 3 years of transactions and third-party metadata that is related to the transactions. After the ML specialist builds the initial model, the ML specialist discovers that the model has low accuracy for both the training data and the test data. The ML specialist needs to improve the accuracy of the model. Which solutions will meet this requirement? (Choose two.)

AIncrease the number of passes on the existing training data. Perform more hyperparameter
BIncrease the amount of regularization. Use fewer feature combinations.
CAdd new domain-specific features. Use more complex models.
DUse fewer feature combinations. Decrease the number of numeric attribute bins.
EDecrease the amount of training data examples. Reduce the number of passes on the
Question #20Part 1

A data scientist uses Amazon SageMaker Data Wrangler to analyze and visualize data. The data scientist wants to refine a training dataset by selecting predictor variables that are strongly predictive of the target variable. The target variable correlates with other predictor variables. The data scientist wants to understand the variance in the data along various directions in the feature space. Which solution will meet these requirements?

AUse the SageMaker Data Wrangler multicollinearity measurement features with a variance
BUse the SageMaker Data Wrangler Data Quality and Insights Report quick model
CUse the SageMaker Data Wrangler multicollinearity measurement features with the principal
DUse the SageMaker Data Wrangler Data Quality and Insights Report feature to review
Question #21Part 1

A Marketing Manager at a pet insurance company plans to launch a targeted marketing campaign on social media to acquire new customers. Currently, the company has the following data in Amazon Aurora: ✑ Profiles for all past and existing customers ✑ Profiles for all past and existing insured pets ✑ Policy-level information ✑ Premiums received ✑ Claims paid What steps should be taken to implement a machine learning model to identify potential new customers on social media?

AUse regression on customer profile data to understand key characteristics of consumer
BUse clustering on customer profile data to understand key characteristics of consumer
CUse a recommendation engine on customer profile data to understand key characteristics of
DUse a decision tree classifier engine on customer profile data to understand key
Question #22Part 1

A Machine Learning team uses Amazon SageMaker to train an Apache MXNet handwritten digit classifier model using a research dataset. The team wants to receive a notification when the model is overfitting. Auditors want to view the Amazon SageMaker log activity report to ensure there are no unauthorized API calls. What should the Machine Learning team do to address the requirements with the least amount of code and fewest steps?

AImplement an AWS Lambda function to log Amazon SageMaker API calls to Amazon S3.
BUse AWS CloudTrail to log Amazon SageMaker API calls to Amazon S3. Add code to push a
CImplement an AWS Lambda function to log Amazon SageMaker API calls to AWS CloudTrail.
DUse AWS CloudTrail to log Amazon SageMaker API calls to Amazon S3. Set up Amazon
Question #23Part 1

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
BUse an Amazon SageMaker Data Wrangler quick model visualization to find feature
CUse the Amazon SageMaker Data Wrangler bias report to identify potential biases in the data
DUse an Amazon SageMaker Data Wrangler data flow to create and modify a data preparation
Question #24Part 1

A digital media company wants to build a customer churn prediction model by using tabular data. The model should clearly indicate whether a customer will stop using the company's services. The company wants to clean the data because the data contains some empty fields, duplicate values, and rare values. Which solution will meet these requirements with the LEAST development effort?

AUse SageMaker Canvas to automatically clean the data and to prepare a categorical model.
BUse SageMaker Data Wrangler to clean the data. Use the built-in SageMaker XGBoost
CUse SageMaker Canvas automatic data cleaning and preparation tools. Use the built-in
DUse SageMaker Data Wrangler to clean the data. Use the SageMaker Autopilot to train a
Question #25Part 1

A company is building a predictive maintenance model based on machine learning (ML). The data is stored in a fully private Amazon S3 bucket that is encrypted at rest with AWS Key Management Service (AWS KMS) CMKs. An ML specialist must run data preprocessing by using an Amazon SageMaker Processing job that is triggered from code in an Amazon SageMaker notebook. The job should read data from Amazon S3, process it, and upload it back to the same S3 bucket. The preprocessing code is stored in a container image in Amazon Elastic Container Registry (Amazon ECR). The ML specialist needs to grant permissions to ensure a smooth data preprocessing workflow. Which set of actions should the ML specialist take to meet these requirements?

ACreate an IAM role that has permissions to create Amazon SageMaker Processing jobs, S3
BCreate an IAM role that has permissions to create Amazon SageMaker Processing jobs.
CCreate an IAM role that has permissions to create Amazon SageMaker Processing jobs and
DCreate an IAM role that has permissions to create Amazon SageMaker Processing jobs.
Question #26Part 1Select 2

A company has 2,000 retail stores. The company needs to develop a new model to predict demand based on holidays and weather conditions. The model must predict demand in each geographic area where the retail stores are located. Before deploying the newly developed model, the company wants to test the model for 2 to 3 days. The model needs to be robust enough to adapt to supply chain and retail store requirements. Which combination of steps should the company take to meet these requirements with the LEAST operational overhead? (Choose two.)

ADevelop the model by using the Amazon Forecast Prophet model.
BDevelop the model by using the Amazon Forecast holidays featurization and weather index.
CDeploy the model by using a canary strategy that uses Amazon SageMaker and AWS Step
DDeploy the model by using an A/B testing strategy that uses Amazon SageMaker Pipelines.
EDeploy the model by using an A/B testing strategy that uses Amazon SageMaker and AWS
Question #27Part 1

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.
DImport the data by using the Randomized option. Infer the random size from domain
Question #28Part 1

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
BIngest event data by using Amazon Kinesis Data Streams. Store the data in Amazon S3 by
CIngest event data by using Amazon Kinesis Data Streams. Use an Amazon Kinesis Data
DIngest event data by using Amazon Managed Streaming for Apache Kafka (Amazon MSK).
Question #29Part 1Select 3

When submitting Amazon SageMaker training jobs using one of the built-in algorithms, which common parameters MUST be specified? (Choose three.)

AThe training channel identifying the location of training data on an Amazon S3 bucket.
BThe validation channel identifying the location of validation data on an Amazon S3 bucket.
CThe IAM role that Amazon SageMaker can assume to perform tasks on behalf of the users.
DHyperparameters in a JSON array as documented for the algorithm used.
EThe Amazon EC2 instance class specifying whether training will be run using CPU or GPU.
Question #30Part 1Select 2

A gaming company has launched an online game where people can start playing for free, but they need to pay if they choose to use certain features. The company needs to build an automated system to predict whether or not a new user will become a paid user within 1 year. The company has gathered a labeled dataset from 1 million users. The training dataset consists of 1,000 positive samples (from users who ended up paying within 1 year) and 999,000 negative samples (from users who did not use any paid features). Each data sample consists of 200 features including user age, device, location, and play patterns. Using this dataset for training, the Data Science team trained a random forest model that converged with over 99% accuracy on the training set. However, the prediction results on a test dataset were not satisfactory Which of the following approaches should the Data Science team take to mitigate this issue? (Choose two.)

AAdd more deep trees to the random forest to enable the model to learn more features.
BInclude a copy of the samples in the test dataset in the training dataset.
CGenerate more positive samples by duplicating the positive samples and adding a small
DChange the cost function so that false negatives have a higher impact on the cost value than
EChange the cost function so that false positives have a higher impact on the cost value than
Question #31Part 1

A finance company has collected stock return data for 5,000 publicly traded companies. A financial analyst has a dataset that contains 2,000 attributes for each company. The financial analyst wants to use Amazon SageMaker to identify the top 15 attributes that are most valuable to predict future stock returns. Which solution will meet these requirements with the LEAST operational overhead?

AUse the linear leaner algorithm in SageMaker to train a linear regression model to predict the
BUse random forest regression in SageMaker to train a model to predict the stock returns.
CUse an Amazon SageMaker Data Wrangler quick model visualization to predict the stock
DUse Amazon SageMaker Autopilot to build a regression model to predict the stock returns.
Question #32Part 1

A data scientist needs to develop a model to detect fraud. The data scientist has less data for fraudulent transactions than for legitimate transactions. The data scientist needs to check for bias in the model before finalizing the model. The data scientist needs to develop the model quickly. Which solution will meet these requirements with the LEAST operational overhead?

AProcess and reduce bias by using the synthetic minority oversampling technique (SMOTE) in
BProcess and reduce bias by using the synthetic minority oversampling technique (SMOTE) in
CProcess and reduce bias by using the synthetic minority oversampling technique (SMOTE) in
DProcess and reduce bias by using an Amazon SageMaker Studio notebook. Use Amazon
Question #33Part 1

A business to business (B2B) ecommerce company wants to develop a fair and equitable risk mitigation strategy to reject potentially fraudulent transactions. The company wants to reject fraudulent transactions despite the possibility of losing some profitable transactions or customers. Which solution will meet these requirements with the LEAST operational effort?

AUse Amazon SageMaker to approve transactions only for products the company has sold in
BUse Amazon SageMaker to train a custom fraud detection model based on customer data.
CUse the Amazon Fraud Detector prediction API to approve or deny any activities that Fraud
DUse the Amazon Fraud Detector prediction API to identify potentially fraudulent activities so
Question #34Part 1

A data scientist uses Amazon SageMaker to perform hyperparameter tuning for a prototype machine leaming (ML) model. The data scientist's domain knowledge suggests that the hyperparameter is highly sensitive to changes. The optimal value, x, is in the 0.5 < x < 1.0 range. The data scientist's domain knowledge suggests that the optimal value is close to 1.0. The data scientist needs to find the optimal hyperparameter value with a minimum number of runs and with a high degree of consistent tuning conditions. Which hyperparameter scaling type should the data scientist use to meet these requirements?

AAuto scaling
BLinear scaling
CLogarithmic scaling
DReverse logarithmic scaling
Question #35Part 1

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.
BBootstrap the problematic features.
CRemove the problematic features.
DExtrapolate synthetic features.
Question #36Part 1

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
BHost the company's website on Amazon EC2 GPU-based instances to increase the speed of
CIntegrate Amazon Personalize into the company's website to provide customers with
DUse Amazon SageMaker to train a Neural Collaborative Filtering (NCF) model to make
Question #37Part 1Select 3

A company has hired a data scientist to create a loan risk model. The dataset contains loan amounts and variables such as loan type, region, and other demographic variables. The data scientist wants to use Amazon SageMaker to test bias regarding the loan amount distribution with respect to some of these categorical variables. Which pretraining bias metrics should the data scientist use to check the bias distribution? (Choose three.)

AClass imbalance
BConditional demographic disparity
CDifference in proportions of labels
DJensen-Shannon divergence
EKullback-Leibler divergence
Question #38Part 1

A media company wants to deploy a machine learning (ML) model that uses Amazon SageMaker to recommend new articles to the company’s readers. The company's readers are primarily located in a single city. The company notices that the heaviest reader traffic predictably occurs early in the morning, after lunch, and again after work hours. There is very little traffic at other times of day. The media company needs to minimize the time required to deliver recommendations to its readers. The expected amount of data that the API call will return for inference is less than 4 MB. Which solution will meet these requirements in the MOST cost-effective way?

AReal-time inference with auto scaling
BServerless inference with provisioned concurrency
CAsynchronous inference
DA batch transform task
Question #39Part 1

A mining company wants to use machine learning (ML) models to identify mineral images in real time. A data science team built an image recognition model that is based on convolutional neural network (CNN). The team trained the model on Amazon SageMaker by using GPU instances. The team will deploy the model to a SageMaker endpoint. The data science team already knows the workload traffic patterns. The team must determine instance type and configuration for the workloads. Which solution will meet these requirements with the LEAST development effort?

ARegister the model artifact and container to the SageMaker Model Registry. Use the
BRegister the model artifact and container to the SageMaker Model Registry. Use the
CDeploy the model to an endpoint by using GPU instances. Use AWS Lambda and Amazon
DDeploy the model to an endpoint by using CPU instances. Use AWS Lambda and Amazon
Question #40Part 1Select 2

A company wants to deliver digital car management services to its customers. The company plans to analyze data to predict the likelihood of users changing cars. The company has 10 TB of data that is stored in an Amazon Redshift cluster. The company's data engineering team is using Amazon SageMaker Studio for data analysis and model development. Only a subset of the data is relevant for developing the machine learning models. The data engineering team needs a secure and cost-effective way to export the data to a data repository in Amazon S3 for model development. Which solutions will meet these requirements? (Choose two.)

ALaunch multiple medium-sized instances in a distributed SageMaker Processing job. Use the
BLaunch multiple medium-sized notebook instances with a PySpark kernel in distributed
CUse AWS Secrets Manager to store the Amazon Redshift credentials. From a SageMaker
DUse AWS Secrets Manager to store the Amazon Redshift credentials. Launch a SageMaker
EUse SageMaker Data Wrangler to query and plot the relevant data and to export the relevant
Question #41Part 1Select 2

A company supplies wholesale clothing to thousands of retail stores. A data scientist must create a model that predicts the daily sales volume for each item for each store. The data scientist discovers that more than half of the stores have been in business for less than 6 months. Sales data is highly consistent from week to week. Daily data from the database has been aggregated weekly, and weeks with no sales are omitted from the current dataset. Five years (100 MB) of sales data is available in Amazon S3. Which factors will adversely impact the performance of the forecast model to be developed, and which actions should the data scientist take to mitigate them? (Choose two.)

ADetecting seasonality for the majority of stores will be an issue. Request categorical data to
BThe sales data does not have enough variance. Request external sales data from other
CSales data is aggregated by week. Request daily sales data from the source database to
DThe sales data is missing zero entries for item sales. Request that item sales data from the
EOnly 100 MB of sales data is available in Amazon S3. Request 10 years of sales data, which
Question #42Part 1Select 2

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)
CRoot mean squared error (RMSE)
DPrecision
EAccuracy
Question #43Part 1

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.
CMap the country codes to continent names.
DEncode the country codes into numeric variables by using one-hot encoding.
Question #44Part 1

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
BUse the Amazon SageMaker XGBoost algorithm to improve candidate ranking.
CUse Amazon CloudSearch and sort results by the search relevance score.
DUse Amazon CloudSearch and sort results by the geographic location.
Question #45Part 1

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
BEnable Amazon SageMaker Debugger on the model endpoint. Create a custom rule to
CCapture all customer calls routed to the specialist service team in Amazon S3. Schedule a
DEnable Amazon CloudWatch on the model endpoint. Capture metrics using Amazon
Question #46Part 1

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
BInstead of File mode, configure the SageMaker training job to use FastFile mode with no
CInstead of On-Demand Instances, configure the SageMaker training job to use Spot
DInstead of On-Demand Instances, configure the SageMaker training job to use Spot
Question #47Part 1

A Data Scientist is developing a binary classifier to predict whether a patient has a particular disease on a series of test results. The Data Scientist has data on 400 patients randomly selected from the population. The disease is seen in 3% of the population. Which cross-validation strategy should the Data Scientist adopt?

AA k-fold cross-validation strategy with k=5
BA stratified k-fold cross-validation strategy with k=5
CA k-fold cross-validation strategy with k=5 and 3 repeats
DAn 80/20 stratified split between training and validation
Question #48Part 1

A company is running a machine learning prediction service that generates 100 TB of predictions every day. A Machine Learning Specialist must generate a visualization of the daily precision-recall curve from the predictions, and forward a read-only version to the Business team. Which solution requires the LEAST coding effort?

ARun a daily Amazon EMR workflow to generate precision-recall data, and save the results in
BGenerate daily precision-recall data in Amazon QuickSight, and publish the results in a
CRun a daily Amazon EMR workflow to generate precision-recall data, and save the results in
DGenerate daily precision-recall data in Amazon ES, and publish the results in a dashboard
Question #49Part 1

A company wants to classify user behavior as either fraudulent or normal. Based on internal research, a Machine Learning Specialist would like to build a binary classifier based on two features: age of account and transaction month. The class distribution for these features is illustrated in the figure provided. Based on this information, which model would have the HIGHEST recall with respect to the fraudulent class?

ADecision tree
BLinear support vector machine (SVM)
CNaive Bayesian classifier
DSingle Perceptron with sigmoidal activation function
Question #50Part 1

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
BUse Amazon SageMaker Feature Store to set feature groups for the current features that the
CUse Amazon SageMaker Features Store to apply custom algorithms to analyze the
DUse Amazon SageMaker Feature Store to set feature groups for the current features that the
Question #51Part 1

A beauty supply store wants to understand some characteristics of visitors to the store. The store has security video recordings from the past several years. The store wants to generate a report of hourly visitors from the recordings. The report should group visitors by hair style and hair color. Which solution will meet these requirements with the LEAST amount of effort?

AUse an object detection algorithm to identify a visitor’s hair in video frames. Pass the
BUse an object detection algorithm to identify a visitor’s hair in video frames. Pass the
CUse a semantic segmentation algorithm to identify a visitor’s hair in video frames. Pass the
DUse a semantic segmentation algorithm to identify a visitor’s hair in video frames. Pass the
Question #52Part 1Select 2

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.
BAggregate sales figures from stores in the same proximity.
CApply smoothing to correct for seasonal variation.
DChange the forecast frequency from daily to weekly.
EReplace missing values in the dataset by using linear interpolation.
Question #53Part 1

A machine learning specialist needs to analyze comments on a news website with users across the globe. The specialist must find the most discussed topics in the comments that are in either English or Spanish. What steps could be used to accomplish this task? (Choose two.)

AUse an Amazon SageMaker BlazingText algorithm to find the topics independently from
BUse an Amazon SageMaker seq2seq algorithm to translate from Spanish to English, if
CUse Amazon Translate to translate from Spanish to English, if necessary. Use Amazon
DUse Amazon Translate to translate from Spanish to English, if necessary. Use Amazon Lex
EUse Amazon Translate to translate from Spanish to English, if necessary. Use Amazon
Question #54Part 1

A company wants to classify user behavior as either fraudulent or normal. Based on internal research, a machine learning specialist will build a binary classifier based on two features: age of account, denoted by x, and transaction month, denoted by y. The class distributions are illustrated in the provided figure. The positive class is portrayed in red, while the negative class is portrayed in black. Which model would have the HIGHEST accuracy?

ALinear support vector machine (SVM)
BDecision tree
CSupport vector machine (SVM) with a radial basis function kernel
DSingle perceptron with a Tanh activation function
Question #55Part 1

A company wants to classify user behavior as either fraudulent or normal. Based on internal research, a Machine Learning Specialist would like to build a binary classifier based on two features: age of account and transaction month. The class distribution for these features is illustrated in the figure provided. Based on this information, which model would have the HIGHEST accuracy?

ALong short-term memory (LSTM) model with scaled exponential linear unit (SELU)
BLogistic regression
CSupport vector machine (SVM) with non-linear kernel
DSingle perceptron with tanh activation function
Question #56Part 1Select 2

A data scientist is trying to improve the accuracy of a neural network classification model. The data scientist wants to run a large hyperparameter tuning job in Amazon SageMaker. However, previous smaller tuning jobs on the same model often ran for several weeks. The ML specialist wants to reduce the computation time required to run the tuning job. Which actions will MOST reduce the computation time for the hyperparameter tuning job? (Choose two.)

AUse the Hyperband tuning strategy.
BIncrease the number of hyperparameters.
CSet a lower value for the MaxNumberOfTrainingJobs parameter.
DUse the grid search tuning strategy.
ESet a lower value for the MaxParallelTrainingJobs parameter.
Question #57Part 1

A banking company provides financial products to customers around the world. A machine learning (ML) specialist collected transaction data from internal customers. The ML specialist split the dataset into training, testing, and validation datasets. The ML specialist analyzed the training dataset by using Amazon SageMaker Clarify. The analysis found that the training dataset contained fewer examples of customers in the 40 to 55 year-old age group compared to the other age groups. Which type of pretraining bias did the ML specialist observe in the training dataset?

ADifference in proportions of labels (DPL)
BClass imbalance (CI)
CConditional demographic disparity (CDD)
DKolmogorov-Smirnov (KS)
Question #58Part 1

A bank has collected customer data for 10 years in CSV format. The bank stores the data in an on-premises server. A data science team wants to use Amazon SageMaker to build and train a machine learning (ML) model to predict churn probability. The team will use the historical data. The data scientists want to perform data transformations quickly and to generate data insights before the team builds a model for production. Which solution will meet these requirements with the LEAST development effort?

AUpload the data into the SageMaker Data Wrangler console directly. Perform data
BUpload the data into an Amazon S3 bucket. Allow SageMaker to access the data that is in
CUpload the data into the SageMaker Data Wrangler console directly. Allow SageMaker and
DUpload the data into an Amazon S3 bucket. Allow SageMaker to access the data that is in
Question #59Part 1

A data scientist is implementing a deep learning neural network model for an object detection task on images. The data scientist wants to experiment with a large number of parallel hyperparameter tuning jobs to find hyperparameters that optimize compute time. The data scientist must ensure that jobs that underperform are stopped. The data scientist must allocate computational resources to well-performing hyperparameter configurations. The data scientist is using the hyperparameter tuning job to tune the stochastic gradient descent (SGD) learning rate, momentum, epoch, and mini-batch size. Which technique will meet these requirements with LEAST computational time?

AGrid search
BRandom search
CBayesian optimization
DHyperband
Question #60Part 1

A machine learning (ML) specialist at a manufacturing company uses Amazon SageMaker DeepAR to forecast input materials and energy requirements for the company. Most of the data in the training dataset is missing values for the target variable. The company stores the training dataset as JSON files. The ML specialist develop a solution by using Amazon SageMaker DeepAR to account for the missing values in the training dataset. Which approach will meet these requirements with the LEAST development effort?

AImpute the missing values by using the linear regression method. Use the entire dataset and
BReplace the missing values with not a number (NaN). Use the entire dataset and the
CImpute the missing values by using a forward fill. Use the entire dataset and the imputed
DImpute the missing values by using the mean value. Use the entire dataset and the imputed
Question #61Part 2

A growing company has a business-critical key performance indicator (KPI) for the uptime of a machine learning (ML) recommendation system. The company is using Amazon SageMaker hosting services to develop a recommendation model in a single Availability Zone within an AWS Region. A machine learning (ML) specialist must develop a solution to achieve high availability. The solution must have a recovery time objective (RTO) of 5 minutes. Which solution will meet these requirements with the LEAST effort?

ADeploy multiple instances for each endpoint in a VPC that spans at least two Regions.
BUse the SageMaker auto scaling feature for the hosted recommendation models.
CDeploy multiple instances for each production endpoint in a VPC that spans least two
DFrequently generate backups of the production recommendation model. Deploy the backups
Question #62Part 2

A company processes millions of orders every day. The company uses Amazon DynamoDB tables to store order information. When customers submit new orders, the new orders are immediately added to the DynamoDB tables. New orders arrive in the DynamoDB tables continuously. A data scientist must build a peak-time prediction solution. The data scientist must also create an Amazon QuickSight dashboard to display near real-time order insights. The data scientist needs to build a solution that will give QuickSight access to the data as soon as new order information arrives. Which solution will meet these requirements with the LEAST delay between when a new order is processed and when QuickSight can access the new order information?

AUse AWS Glue to export the data from Amazon DynamoDB to Amazon S3. Configure
BUse Amazon Kinesis Data Streams to export the data from Amazon DynamoDB to Amazon
CUse an API call from QuickSight to access the data that is in Amazon DynamoDB directly.
DUse Amazon Kinesis Data Firehose to export the data from Amazon DynamoDB to Amazon
Question #63Part 2Select 2

A machine learning specialist is developing a regression model to predict rental rates from rental listings. A variable named Wall_Color represents the most prominent exterior wall color of the property. The following is the sample data, excluding all other variables: The specialist chose a model that needs numerical input data. Which feature engineering approaches should the specialist use to allow the regression model to learn from the Wall_Color data? (Choose two.)

AApply integer transformation and set Red = 1, White = 5, and Green = 10.
BAdd new columns that store one-hot representation of colors.
CReplace the color name string by its length.
DCreate three columns to encode the color in RGB format.
EReplace each color name by its training set frequency.
Question #64Part 2

A telecommunications company is developing a mobile app for its customers. The company is using an Amazon SageMaker hosted endpoint for machine learning model inferences. Developers want to introduce a new version of the model for a limited number of users who subscribed to a preview feature of the app. After the new version of the model is tested as a preview, developers will evaluate its accuracy. If a new version of the model has better accuracy, developers need to be able to gradually release the new version for all users over a fixed period of time. How can the company implement the testing model with the LEAST amount of operational overhead?

AUpdate the ProductionVariant data type with the new version of the model by using the
BConfigure two SageMaker hosted endpoints that serve the different versions of the model.
CUpdate the DesiredWeightsAndCapacity data type with the new version of the model by
DConfigure two SageMaker hosted endpoints that serve the different versions of the model.
Question #65Part 2

A company is building a line-counting application for use in a quick-service restaurant. The company wants to use video cameras pointed at the line of customers at a given register to measure how many people are in line and deliver notifications to managers if the line grows too long. The restaurant locations have limited bandwidth for connections to external services and cannot accommodate multiple video streams without impacting other operations. Which solution should a machine learning specialist implement to meet these requirements?

AInstall cameras compatible with Amazon Kinesis Video Streams to stream the data to AWS
BDeploy AWS DeepLens cameras in the restaurant to capture video. Enable Amazon
CBuild a custom model in Amazon SageMaker to recognize the number of people in an image.
DBuild a custom model in Amazon SageMaker to recognize the number of people in an image.
Question #66Part 2

An e commerce company wants to launch a new cloud-based product recommendation feature for its web application. Due to data localization regulations, any sensitive data must not leave its on-premises data center, and the product recommendation model must be trained and tested using nonsensitive data only. Data transfer to the cloud must use IPsec. The web application is hosted on premises with a PostgreSQL database that contains all the data. The company wants the data to be uploaded securely to Amazon S3 each day for model retraining. How should a machine learning specialist meet these requirements?

ACreate an AWS Glue job to connect to the PostgreSQL DB instance. Ingest tables without
BCreate an AWS Glue job to connect to the PostgreSQL DB instance. Ingest all data through
CUse AWS Database Migration Service (AWS DMS) with table mapping to select PostgreSQL
DUse PostgreSQL logical replication to replicate all data to PostgreSQL in Amazon EC2
Question #67Part 2

A machine learning (ML) engineer is using Amazon SageMaker automatic model tuning (AMT) to optimize a model's hyperparameters. The ML engineer notices that the tuning jobs take a long time to run. The tuning jobs continue even when the jobs are not significantly improving against the objective metric. The ML engineer needs the training jobs to optimize the hyperparameters more quickly. How should the ML engineer configure the SageMaker AMT data types to meet these requirements?

ASet Strategy to the Bayesian value.
BSet RetryStrategy to a value of 1.
CSet ParameterRanges to the narrow range Inferred from previous hyperparameter jobs.
DSet TrainingJobEarlyStoppingType to the AUTO value.
Question #68Part 2

A cybersecurity company is collecting on-premises server logs, mobile app logs, and IoT sensor data. The company backs up the ingested data in an Amazon S3 bucket and sends the ingested data to Amazon OpenSearch Service for further analysis. Currently, the company has a custom ingestion pipeline that is running on Amazon EC2 instances. The company needs to implement a new serverless ingestion pipeline that can automatically scale to handle sudden changes in the data flow. Which solution will meet these requirements MOST cost-effectively?

ACreate two Amazon Data Firehose delivery streams to send data to the S3 bucket and
BCreate one Amazon Kinesis data stream. Create two Amazon Data Firehose delivery
CCreate one Amazon Data Firehose delivery stream to send data to OpenSearch Service.
DCreate one Amazon Kinesis data stream. Create one Amazon Data Firehose delivery stream
Question #69Part 2

A financial company sends special offers to customers through weekly email campaigns. A bulk email marketing system takes the list of email addresses as an input and sends the marketing campaign messages in batches. Few customers use the offers from the campaign messages. The company does not want to send irrelevant offers to customers. A machine learning (ML) team at the company is using Amazon SageMaker to build a model to recommend specific offers to each customer based on the customer's profile and the offers that the customer has accepted in the past. Which solution will meet these requirements with the MOST operational efficiency?

AUse the Factorization Machines algorithm to build a model that can generate personalized
BUse the Neural Collaborative Filtering algorithm to build a model that can generate
CUse the Neural Collaborative Filtering algorithm to build a model that can generate
DUse the Factorization Machines algorithm to build a model that can generate personalized
Question #70Part 2

A Machine Learning Specialist is designing a system for improving sales for a company. The objective is to use the large amount of information the company has on users' behavior and product preferences to predict which products users would like based on the users' similarity to other users. What should the Specialist do to meet this objective?

ABuild a content-based filtering recommendation engine with Apache Spark ML on Amazon
BBuild a collaborative filtering recommendation engine with Apache Spark ML on Amazon
CBuild a model-based filtering recommendation engine with Apache Spark ML on Amazon
DBuild a combinative filtering recommendation engine with Apache Spark ML on Amazon
Question #71Part 2

A company has video feeds and images of a subway train station. The company wants to create a deep learning model that will alert the station manager if any passenger crosses the yellow safety line when there is no train in the station. The alert will be based on the video feeds. The company wants the model to detect the yellow line, the passengers who cross the yellow line, and the trains in the video feeds. This task requires labeling. The video data must remain confidential. A data scientist creates a bounding box to label the sample data and uses an object detection model. However, the object detection model cannot clearly demarcate the yellow line, the passengers who cross the yellow line, and the trains. Which labeling approach will help the company improve this model?

AUse Amazon Rekognition Custom Labels to label the dataset and create a custom Amazon
BUse an Amazon SageMaker Ground Truth object detection labeling task. Use Amazon
CUse Amazon Rekognition Custom Labels to label the dataset and create a custom Amazon
DUse an Amazon SageMaker Ground Truth semantic segmentation labeling task. Use a
Question #72Part 2Select 3

An ecommerce company is automating the categorization of its products based on images. A data scientist has trained a computer vision model using the Amazon SageMaker image classification algorithm. The images for each product are classified according to specific product lines. The accuracy of the model is too low when categorizing new products. All of the product images have the same dimensions and are stored within an Amazon S3 bucket. The company wants to improve the model so it can be used for new products as soon as possible. Which steps would improve the accuracy of the solution? (Choose three.)

AUse the SageMaker semantic segmentation algorithm to train a new model to achieve
BUse the Amazon Rekognition DetectLabels API to classify the products in the dataset.
CAugment the images in the dataset. Use open source libraries to crop, resize, flip, rotate, and
DUse a SageMaker notebook to implement the normalization of pixels and scaling of the
EUse Amazon Rekognition Custom Labels to train a new model.
Question #73Part 2

A bank wants to launch a low-rate credit promotion. The bank is located in a town that recently experienced economic hardship. Only some of the bank's customers were affected by the crisis, so the bank's credit team must identify which customers to target with the promotion. However, the credit team wants to make sure that loyal customers' full credit history is considered when the decision is made. The bank's data science team developed a model that classifies account transactions and understands credit eligibility. The data science team used the XGBoost algorithm to train the model. The team used 7 years of bank transaction historical data for training and hyperparameter tuning over the course of several days. The accuracy of the model is sufficient, but the credit team is struggling to explain accurately why the model denies credit to some customers. The credit team has almost no skill in data science. What should the data science team do to address this issue in the MOST operationally efficient manner?

AUse Amazon SageMaker Studio to rebuild the model. Create a notebook that uses the
BUse Amazon SageMaker Studio to rebuild the model. Create a notebook that uses the
CCreate an Amazon SageMaker notebook instance. Use the notebook instance and the
DUse Amazon SageMaker Studio to rebuild the model. Create a notebook that uses the
Question #74Part 2

A data scientist is using Amazon Comprehend to perform sentiment analysis on a dataset of one million social media posts. Which approach will process the dataset in the LEAST time?

AUse a combination of AWS Step Functions and an AWS Lambda function to call the
BUse a combination of AWS Step Functions and an AWS Lambda function to call the
CUpload the posts to Amazon S3. Pass the S3 storage path to an AWS Lambda function that
DUse an AWS Lambda function to call the BatchDetectSentiment API operation with the whole
Question #75Part 2Select 2

A company is creating an application to identify, count, and classify animal images that are uploaded to the company’s website. The company is using the Amazon SageMaker image classification algorithm with an ImageNetV2 convolutional neural network (CNN). The solution works well for most animal images but does not recognize many animal species that are less common. The company obtains 10,000 labeled images of less common animal species and stores the images in Amazon S3. A machine learning (ML) engineer needs to incorporate the images into the model by using Pipe mode in SageMaker. Which combination of steps should the ML engineer take to train the model? (Choose two.)

AUse a ResNet model. Initiate full training mode by initializing the network with random
BUse an Inception model that is available with the SageMaker image classification algorithm.
CCreate a .lst file that contains a list of image files and corresponding class labels. Upload the
DInitiate transfer learning. Train the model by using the images of less common species.
EUse an augmented manifest file in JSON Lines format.
Question #76Part 2

A data science team is planning to build a natural language processing (NLP) application. The application's text preprocessing stage will include part-of-speech tagging and key phase extraction. The preprocessed text will be input to a custom classification algorithm that the data science team has already written and trained using Apache MXNet. Which solution can the team build MOST quickly to meet these requirements?

AUse Amazon Comprehend for the part-of-speech tagging, key phase extraction, and
BUse an NLP library in Amazon SageMaker for the part-of-speech tagging. Use Amazon
CUse Amazon Comprehend for the part-of-speech tagging and key phase extraction tasks.
DUse Amazon Comprehend for the part-of-speech tagging and key phase extraction tasks.
Question #77Part 2Select 2

A Data Scientist is developing a machine learning model to classify whether a financial transaction is fraudulent. The labeled data available for training consists of 100,000 non-fraudulent observations and 1,000 fraudulent observations. The Data Scientist applies the XGBoost algorithm to the data, resulting in the following confusion matrix when the trained model is applied to a previously unseen validation dataset. The accuracy of the model is 99.1%, but the Data Scientist needs to reduce the number of false negatives. Which combination of steps should the Data Scientist take to reduce the number of false negative predictions by the model? (Choose two.)

AChange the XGBoost eval_metric parameter to optimize based on Root Mean Square Error
BIncrease the XGBoost scale_pos_weight parameter to adjust the balance of positive and
CIncrease the XGBoost max_depth parameter because the model is currently underfitting the
DChange the XGBoost eval_metric parameter to optimize based on Area Under the ROC
EDecrease the XGBoost max_depth parameter because the model is currently overfitting the
Question #78Part 2

A Machine Learning Specialist has completed a proof of concept for a company using a small data sample, and now the Specialist is ready to implement an end- to-end solution in AWS using Amazon SageMaker. The historical training data is stored in Amazon RDS. Which approach should the Specialist use for training a model using that data?

AWrite a direct connection to the SQL database within the notebook and pull data in
BPush the data from Microsoft SQL Server to Amazon S3 using an AWS Data Pipeline and
CMove the data to Amazon DynamoDB and set up a connection to DynamoDB within the
DMove the data to Amazon ElastiCache using AWS DMS and set up a connection within the
Question #79Part 2Select 3

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.
CCreate SageMaker notebooks by using the AWS Glue development endpoint.
DCreate SageMaker notebooks by using the SageMaker console.
EAttach a decryption policy to the SageMaker notebooks.
Question #80Part 2

A data scientist obtains a tabular dataset that contains 150 correlated features with different ranges to build a regression model. The data scientist needs to achieve more efficient model training by implementing a solution that minimizes impact on the model’s performance. The data scientist decides to perform a principal component analysis (PCA) preprocessing step to reduce the number of features to a smaller set of independent features before the data scientist uses the new features in the regression model. Which preprocessing step will meet these requirements?

AUse the Amazon SageMaker built-in algorithm for PCA on the dataset to transform the data.
BLoad the data into Amazon SageMaker Data Wrangler. Scale the data with a Min Max Scaler
CReduce the dimensionality of the dataset by removing the features that have the highest
DReduce the dimensionality of the dataset by removing the features that have the lowest
Question #81Part 2

A Mobile Network Operator is building an analytics platform to analyze and optimize a company's operations using Amazon Athena and Amazon S3. The source systems send data in .CSV format in real time. The Data Engineering team wants to transform the data to the Apache Parquet format before storing it on Amazon S3. Which solution takes the LEAST effort to implement?

AIngest .CSV data using Apache Kafka Streams on Amazon EC2 instances and use Kafka
BIngest .CSV data from Amazon Kinesis Data Streams and use Amazon Glue to convert data
CIngest .CSV data using Apache Spark Structured Streaming in an Amazon EMR cluster and
DIngest .CSV data from Amazon Kinesis Data Streams and use Amazon Kinesis Data
Question #82Part 2

A credit card company wants to build a credit scoring model to help predict whether a new credit card applicant will default on a credit card payment. The company has collected data from a large number of sources with thousands of raw attributes. Early experiments to train a classification model revealed that many attributes are highly correlated, the large number of features slows down the training speed significantly, and that there are some overfitting issues. The Data Scientist on this project would like to speed up the model training time without losing a lot of information from the original dataset. Which feature engineering technique should the Data Scientist use to meet the objectives?

ARun self-correlation on all features and remove highly correlated features
BNormalize all numerical values to be between 0 and 1
CUse an autoencoder or principal component analysis (PCA) to replace original features with
DCluster raw data using k-means and use sample data from each cluster to build a new
Question #83Part 2

A trucking company is collecting live image data from its fleet of trucks across the globe. The data is growing rapidly and approximately 100 GB of new data is generated every day. The company wants to explore machine learning uses cases while ensuring the data is only accessible to specific IAM users. Which storage option provides the most processing flexibility and will allow access control with IAM?

AUse a database, such as Amazon DynamoDB, to store the images, and set the IAM policies
BUse an Amazon S3-backed data lake to store the raw images, and set up the permissions
CSetup up Amazon EMR with Hadoop Distributed File System (HDFS) to store the files, and
DConfigure Amazon EFS with IAM policies to make the data available to Amazon EC2
Question #84Part 2

A company uses a long short-term memory (LSTM) model to evaluate the risk factors of a particular energy sector. The model reviews multi-page text documents to analyze each sentence of the text and categorize it as either a potential risk or no risk. The model is not performing well, even though the Data Scientist has experimented with many different network structures and tuned the corresponding hyperparameters. Which approach will provide the MAXIMUM performance boost?

AInitialize the words by term frequency-inverse document frequency (TF-IDF) vectors
BUse gated recurrent units (GRUs) instead of LSTM and run the training process until the
CReduce the learning rate and run the training process until the training loss stops decreasing.
DInitialize the words by word2vec embeddings pretrained on a large collection of news articles
Question #85Part 2

An aircraft engine manufacturing company is measuring 200 performance metrics in a time-series. Engineers want to detect critical manufacturing defects in near- real time during testing. All of the data needs to be stored for offline analysis. What approach would be the MOST effective to perform near-real time defect detection?

AUse AWS IoT Analytics for ingestion, storage, and further analysis. Use Jupyter notebooks
BUse Amazon S3 for ingestion, storage, and further analysis. Use an Amazon EMR cluster to
CUse Amazon S3 for ingestion, storage, and further analysis. Use the Amazon SageMaker
DUse Amazon Kinesis Data Firehose for ingestion and Amazon Kinesis Data Analytics
Question #86Part 2

A Data Scientist needs to migrate an existing on-premises ETL process to the cloud. The current process runs at regular time intervals and uses PySpark to combine and format multiple large data sources into a single consolidated output for downstream processing. The Data Scientist has been given the following requirements to the cloud solution: ✑ Combine multiple data sources. ✑ Reuse existing PySpark logic. ✑ Run the solution on the existing schedule. ✑ Minimize the number of servers that will need to be managed. Which architecture should the Data Scientist use to build this solution?

AWrite the raw data to Amazon S3. Schedule an AWS Lambda function to submit a Spark step
BWrite the raw data to Amazon S3. Create an AWS Glue ETL job to perform the ETL
CWrite the raw data to Amazon S3. Schedule an AWS Lambda function to run on the existing
DUse Amazon Kinesis Data Analytics to stream the input data and perform real-time SQL
Question #87Part 2

A large mobile network operating company is building a machine learning model to predict customers who are likely to unsubscribe from the service. The company plans to offer an incentive for these customers as the cost of churn is far greater than the cost of the incentive. The model produces the following confusion matrix after evaluating on a test dataset of 100 customers: Based on the model evaluation results, why is this a viable model for production?

AThe model is 86% accurate and the cost incurred by the company as a result of false
BThe precision of the model is 86%, which is less than the accuracy of the model.
CThe model is 86% accurate and the cost incurred by the company as a result of false
DThe precision of the model is 86%, which is greater than the accuracy of the model.
Question #88Part 2

A data scientist is building a linear regression model. The scientist inspects the dataset and notices that the mode of the distribution is lower than the median, and the median is lower than the mean. Which data transformation will give the data scientist the ability to apply a linear regression model?

AExponential transformation
BLogarithmic transformation
CPolynomial transformation
DSinusoidal transformation
Question #89Part 2Select 3

A data scientist stores financial datasets in Amazon S3. The data scientist uses Amazon Athena to query the datasets by using SQL. The data scientist uses Amazon SageMaker to deploy a machine learning (ML) model. The data scientist wants to obtain inferences from the model at the SageMaker endpoint. However, when the data scientist attempts to invoke the SageMaker endpoint, the data scientist receives SQL statement failures. The data scientist’s IAM user is currently unable to invoke the SageMaker endpoint. Which combination of actions will give the data scientist’s IAM user the ability to invoke the SageMaker endpoint? (Choose three.)

AAttach the AmazonAthenaFullAccess AWS managed policy to the user identity.
BInclude a policy statement for the data scientist's IAM user that allows the IAM user to
CInclude an inline policy for the data scientist’s IAM user that allows SageMaker to read S3
DInclude a policy statement for the data scientist’s IAM user that allows the IAM user to
EInclude the SQL statement "USING EXTERNAL FUNCTION ml_function_name'' in the
Question #90Part 2

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.
BPerform a principal component analysis (PCA) on the dataset. Use the linear learner
CPerform feature engineering by including quadratic and cubic terms. Train the linear learner
DAdd L2 regularization to the linear learner regression model.
Question #91Part 2Select 2

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
BK-nearest neighbors (k-NN)
CLinear learner with a logistic function
DRandom Cut Forest (RCF)
EXGBoost
Question #92Part 2Select 2

A data engineer at a bank is evaluating a new tabular dataset that includes customer data. The data engineer will use the customer data to create a new model to predict customer behavior. After creating a correlation matrix for the variables, the data engineer notices that many of the 100 features are highly correlated with each other. Which steps should the data engineer take to address this issue? (Choose two.)

AUse a linear-based algorithm to train the model.
BApply principal component analysis (PCA).
CRemove a portion of highly correlated features from the dataset.
DApply min-max feature scaling to the dataset.
EApply one-hot encoding category-based variables.
Question #93Part 2

A power company wants to forecast future energy consumption for its customers in residential properties and commercial business properties. Historical power consumption data for the last 10 years is available. A team of data scientists who performed the initial data analysis and feature selection will include the historical power consumption data and data such as weather, number of individuals on the property, and public holidays. The data scientists are using Amazon Forecast to generate the forecasts. Which algorithm in Forecast should the data scientists use to meet these requirements?

AAutoregressive Integrated Moving Average (AIRMA)
BExponential Smoothing (ETS)
CConvolutional Neural Network - Quantile Regression (CNN-QR)
DProphet
Question #94Part 2

A machine learning specialist is running an Amazon SageMaker endpoint using the built-in object detection algorithm on a P3 instance for real-time predictions in a company's production application. When evaluating the model's resource utilization, the specialist notices that the model is using only a fraction of the GPU. Which architecture changes would ensure that provisioned resources are being utilized effectively?

ARedeploy the model as a batch transform job on an M5 instance.
BRedeploy the model on an M5 instance. Attach Amazon Elastic Inference to the instance.
CRedeploy the model on a P3dn instance.
DDeploy the model onto an Amazon Elastic Container Service (Amazon ECS) cluster using a
Question #95Part 2

A Machine Learning Specialist is designing a scalable data storage solution for Amazon SageMaker. There is an existing TensorFlow-based model implemented as a train.py script that relies on static training data that is currently stored as TFRecords. Which method of providing training data to Amazon SageMaker would meet the business requirements with the LEAST development overhead?

AUse Amazon SageMaker script mode and use train.py unchanged. Point the Amazon
BUse Amazon SageMaker script mode and use train.py unchanged. Put the TFRecord data
CRewrite the train.py script to add a section that converts TFRecords to protobuf and ingests
DPrepare the data in the format accepted by Amazon SageMaker. Use AWS Glue or AWS
Question #96Part 2

An agricultural company is interested in using machine learning to detect specific types of weeds in a 100-acre grassland field. Currently, the company uses tractor-mounted cameras to capture multiple images of the field as 10 ֳ— 10 grids. The company also has a large training dataset that consists of annotated images of popular weed classes like broadleaf and non-broadleaf docks. The company wants to build a weed detection model that will detect specific types of weeds and the location of each type within the field. Once the model is ready, it will be hosted on Amazon SageMaker endpoints. The model will perform real-time inferencing using the images captured by the cameras. Which approach should a Machine Learning Specialist take to obtain accurate predictions?

APrepare the images in RecordIO format and upload them to Amazon S3. Use Amazon
BPrepare the images in Apache Parquet format and upload them to Amazon S3. Use Amazon
CPrepare the images in RecordIO format and upload them to Amazon S3. Use Amazon
DPrepare the images in Apache Parquet format and upload them to Amazon S3. Use Amazon
Question #97Part 2

A technology startup is using complex deep neural networks and GPU compute to recommend the company's products to its existing customers based upon each customer's habits and interactions. The solution currently pulls each dataset from an Amazon S3 bucket before loading the data into a TensorFlow model pulled from the company's Git repository that runs locally. This job then runs for several hours while continually outputting its progress to the same S3 bucket. The job can be paused, restarted, and continued at any time in the event of a failure, and is run from a central queue. Senior managers are concerned about the complexity of the solution's resource management and the costs involved in repeating the process regularly. They ask for the workload to be automated so it runs once a week, starting Monday and completing by the close of business Friday. Which architecture should be used to scale the solution at the lowest cost?

AImplement the solution using AWS Deep Learning Containers and run the container as a job
BImplement the solution using a low-cost GPU-compatible Amazon EC2 instance and use the
CImplement the solution using AWS Deep Learning Containers, run the workload using AWS
DImplement the solution using Amazon ECS running on Spot Instances and schedule the task
Question #98Part 2Select 2

A Machine Learning team runs its own training algorithm on Amazon SageMaker. The training algorithm requires external assets. The team needs to submit both its own algorithm code and algorithm-specific parameters to Amazon SageMaker. What combination of services should the team use to build a custom algorithm in Amazon SageMaker? (Choose two.)

AAWS Secrets Manager
BAWS CodeStar
CAmazon ECR
DAmazon ECS
EAmazon S3
Question #99Part 2

An interactive online dictionary wants to add a widget that displays words used in similar contexts. A Machine Learning Specialist is asked to provide word features for the downstream nearest neighbor model powering the widget. What should the Specialist do to meet these requirements?

ACreate one-hot word encoding vectors.
BProduce a set of synonyms for every word using Amazon Mechanical Turk.
CCreate word embedding vectors that store edit distance with every other word.
DDownload word embeddings pre-trained on a large corpus.
Question #100Part 2

A Machine Learning Specialist is building a logistic regression model that will predict whether or not a person will order a pizza. The Specialist is trying to build the optimal model with an ideal classification threshold. What model evaluation technique should the Specialist use to understand how different classification thresholds will impact the model's performance?

AReceiver operating characteristic (ROC) curve
BMisclassification rate
CRoot Mean Square Error (RMSE)
DL1 norm
Question #101Part 2

A Machine Learning Specialist is packaging a custom ResNet model into a Docker container so the company can leverage Amazon SageMaker for training. The Specialist is using Amazon EC2 P3 instances to train the model and needs to properly configure the Docker container to leverage the NVIDIA GPUs. What does the Specialist need to do?

ABundle the NVIDIA drivers with the Docker image.
BBuild the Docker container to be NVIDIA-Docker compatible.
COrganize the Docker container's file structure to execute on GPU instances.
DSet the GPU flag in the Amazon SageMaker CreateTrainingJob request body.
Question #102Part 2

An employee found a video clip with audio on a company's social media feed. The language used in the video is Spanish. English is the employee's first language, and they do not understand Spanish. The employee wants to do a sentiment analysis. What combination of services is the MOST efficient to accomplish the task?

AAmazon Transcribe, Amazon Translate, and Amazon Comprehend
BAmazon Transcribe, Amazon Comprehend, and Amazon SageMaker seq2seq
CAmazon Transcribe, Amazon Translate, and Amazon SageMaker Neural Topic Model (NTM)
DAmazon Transcribe, Amazon Translate and Amazon SageMaker BlazingText
Question #103Part 2

During mini-batch training of a neural network for a classification problem, a Data Scientist notices that training accuracy oscillates. What is the MOST likely cause of this issue?

AThe class distribution in the dataset is imbalanced.
BDataset shuffling is disabled.
CThe batch size is too big.
DThe learning rate is very high.
Question #104Part 2

A Machine Learning Specialist at a company sensitive to security is preparing a dataset for model training. The dataset is stored in Amazon S3 and contains Personally Identifiable Information (PII). The dataset: ✑ Must be accessible from a VPC only. ✑ Must not traverse the public internet. How can these requirements be satisfied?

ACreate a VPC endpoint and apply a bucket access policy that restricts access to the given
BCreate a VPC endpoint and apply a bucket access policy that allows access from the given
CCreate a VPC endpoint and use Network Access Control Lists (NACLs) to allow traffic
DCreate a VPC endpoint and use security groups to restrict access to the given VPC endpoint
Question #105Part 2

A Machine Learning Specialist is working with a large company to leverage machine learning within its products. The company wants to group its customers into categories based on which customers will and will not churn within the next 6 months. The company has labeled the data available to the Specialist. Which machine learning model type should the Specialist use to accomplish this task?

ALinear regression
BClassification
CClustering
DReinforcement learning
Question #106Part 2

A Machine Learning Specialist receives customer data for an online shopping website. The data includes demographics, past visits, and locality information. The Specialist must develop a machine learning approach to identify the customer shopping patterns, preferences, and trends to enhance the website for better service and smart recommendations. Which solution should the Specialist recommend?

ALatent Dirichlet Allocation (LDA) for the given collection of discrete data to identify patterns in
BA neural network with a minimum of three layers and random initial weights to identify
CCollaborative filtering based on user interactions and correlations to identify patterns in the
DRandom Cut Forest (RCF) over random subsamples to identify patterns in the customer
Question #107Part 2

A Machine Learning Specialist is developing a custom video recommendation model for an application. The dataset used to train this model is very large with millions of data points and is hosted in an Amazon S3 bucket. The Specialist wants to avoid loading all of this data onto an Amazon SageMaker notebook instance because it would take hours to move and will exceed the attached 5 GB Amazon EBS volume on the notebook instance. Which approach allows the Specialist to use all the data to train the model?

ALoad a smaller subset of the data into the SageMaker notebook and train locally. Confirm that
BLaunch an Amazon EC2 instance with an AWS Deep Learning AMI and attach the S3 bucket
CUse AWS Glue to train a model using a small subset of the data to confirm that the data will
DLoad a smaller subset of the data into the SageMaker notebook and train locally. Confirm that
Question #108Part 2

A manufacturing company has structured and unstructured data stored in an Amazon S3 bucket. A Machine Learning Specialist wants to use SQL to run queries on this data. Which solution requires the LEAST effort to be able to query this data?

AUse AWS Data Pipeline to transform the data and Amazon RDS to run queries.
BUse AWS Glue to catalogue the data and Amazon Athena to run queries.
CUse AWS Batch to run ETL on the data and Amazon Aurora to run the queries.
DUse AWS Lambda to transform the data and Amazon Kinesis Data Analytics to run queries.
Question #109Part 2

A Machine Learning Specialist is building a model that will perform time series forecasting using Amazon SageMaker. The Specialist has finished training the model and is now planning to perform load testing on the endpoint so they can configure Auto Scaling for the model variant. Which approach will allow the Specialist to review the latency, memory utilization, and CPU utilization during the load test?

AReview SageMaker logs that have been written to Amazon S3 by leveraging Amazon Athena
BGenerate an Amazon CloudWatch dashboard to create a single view for the latency, memory
CBuild custom Amazon CloudWatch Logs and then leverage Amazon ES and Kibana to query
DSend Amazon CloudWatch Logs that were generated by Amazon SageMaker to Amazon ES
Question #110Part 2

A Machine Learning Specialist is using an Amazon SageMaker notebook instance in a private subnet of a corporate VPC. The ML Specialist has important data stored on the Amazon SageMaker notebook instance's Amazon EBS volume, and needs to take a snapshot of that EBS volume. However, the ML Specialist cannot find the Amazon SageMaker notebook instance's EBS volume or Amazon EC2 instance within the VPC. Why is the ML Specialist not seeing the instance visible in the VPC?

AAmazon SageMaker notebook instances are based on the EC2 instances within the
BAmazon SageMaker notebook instances are based on the Amazon ECS service within
CAmazon SageMaker notebook instances are based on EC2 instances running within AWS
DAmazon SageMaker notebook instances are based on AWS ECS instances running within
Question #111Part 2

A Data Engineer needs to build a model using a dataset containing customer credit card information How can the Data Engineer ensure the data remains encrypted and the credit card information is secure?

AUse a custom encryption algorithm to encrypt the data and store the data on an Amazon
BUse an IAM policy to encrypt the data on the Amazon S3 bucket and Amazon Kinesis to
CUse an Amazon SageMaker launch configuration to encrypt the data once it is copied to the
DUse AWS KMS to encrypt the data on Amazon S3 and Amazon SageMaker, and redact the
Question #112Part 2

A city wants to monitor its air quality to address the consequences of air pollution. A Machine Learning Specialist needs to forecast the air quality in parts per million of contaminates for the next 2 days in the city. As this is a prototype, only daily data from the last year is available. Which model is MOST likely to provide the best results in Amazon SageMaker?

AUse the Amazon SageMaker k-Nearest-Neighbors (kNN) algorithm on the single time series
BUse Amazon SageMaker Random Cut Forest (RCF) on the single time series consisting of
CUse the Amazon SageMaker Linear Learner algorithm on the single time series consisting of
DUse the Amazon SageMaker Linear Learner algorithm on the single time series consisting of
Question #113Part 2

A tourism company uses a machine learning (ML) model to make recommendations to customers. The company uses an Amazon SageMaker environment and set hyperparameter tuning completion criteria to MaxNumberOfTrainingJobs. An ML specialist wants to change the hyperparameter tuning completion criteria. The ML specialist wants to stop tuning immediately after an internal algorithm determines that tuning job is unlikely to improve more than 1% over the objective metric from the best training job. Which completion criteria will meet this requirement?

AMaxRuntimeInSeconds
BTargetObjectiveMetricValue
CCompleteOnConvergence
DMaxNumberOfTrainingJobsNotImproving
Question #114Part 2Select 2

A company wants to detect credit card fraud. The company has observed that an average of 2% of credit card transactions are fraudulent. A data scientist trains a classifier on a year's worth of credit card transaction data. The classifier needs to identify the fraudulent transactions. The company wants to accurately capture as many fraudulent transactions as possible. Which metrics should the data scientist use to optimize the classifier? (Choose two.)

ASpecificity
BFalse positive rate
CAccuracy
DF1 score
ETrue positive rate
Question #115Part 2

A news company is developing an article search tool for its editors. The search tool should look for the articles that are most relevant and representative for particular words that are queried among a corpus of historical news documents. The editors test the first version of the tool and report that the tool seems to look for word matches in general. The editors have to spend additional time to filter the results to look for the articles where the queried words are most important. A group of data scientists must redesign the tool so that it isolates the most frequently used words in a document. The tool also must capture the relevance and importance of words for each document in the corpus. Which solution meets these requirements?

AExtract the topics from each article by using Latent Dirichlet Allocation (LDA) topic modeling.
BBuild a term frequency for each word in the articles that is weighted with the article's length.
CDownload a pretrained word-embedding lookup table. Create a titles-embedding table by
DBuild a term frequency score table for each word in each article of the corpus. Assign a score
Question #116Part 2

A data scientist receives a new dataset in .csv format and stores the dataset in Amazon S3. The data scientist will use the dataset to train a machine learning (ML) model. The data scientist first needs to identify any potential data quality issues in the dataset. The data scientist must identify values that are missing or values that are not valid. The data scientist must also identify the number of outliers in the dataset. Which solution will meet these requirements with the LEAST operational effort?

ACreate an AWS Glue job to transform the data from .csv format to Apache Parquet format.
BLeave the dataset in .csv format. Use an AWS Glue crawler and Amazon Athena with
CCreate an AWS Glue job to transform the data from .csv format to Apache Parquet format.
DLeave the dataset in .csv format. Import the data into Amazon SageMaker Data Wrangler.
Question #117Part 2

A company uses sensors on devices such as motor engines and factory machines to measure parameters, temperature and pressure. The company wants to use the sensor data to predict equipment malfunctions and reduce services outages. Machine learning (ML) specialist needs to gather the sensors data to train a model to predict device malfunctions. The ML specialist must ensure that the data does not contain outliers before training the model. How can the ML specialist meet these requirements with the LEAST operational overhead?

ALoad the data into an Amazon SageMaker Studio notebook. Calculate the first and third
BUse an Amazon SageMaker Data Wrangler bias report to find outliers in the dataset. Use a
CUse an Amazon SageMaker Data Wrangler anomaly detection visualization to find outliers in
DUse Amazon Lookout for Equipment to find and remove outliers from the dataset.
Question #118Part 2

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
BUse AWS Glue DataBrew to read the data that is in the PostgreSQL database and to perform
CUse AWS Database Migration Service (AWS DMS) to transfer the data from the PostgreSQL
DUse AWS Glue DataBrew to read the data that is in the PostgreSQL database and to perform
Question #119Part 2

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.
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.
Question #120Part 2Select 2

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
BReinitialize the weights of the entire network. Retrain the entire network on the prediction task
CReinitialize the weights of the entire RNN. Retrain the entire model on the prediction task by
DReinitialize the weights of the last fully connected layer of the CNN. Retrain the CNN on the
EReinitialize the weights of the last layer of the RNN. Retrain the entire model on the
Question #121Part 3

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.
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
DThe data scientist did not process the features enough to accurately calculate prediction
Question #122Part 3

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)
Question #123Part 3Select 3

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.
BUse the SOL EXPLAIN_MODEL function to run predictions.
CWrite a CREATE MODEL SQL statement to create a model.
DUse Amazon Redshift Spectrum to train the model.
EManually export the training data to Amazon S3.
Question #124Part 3

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.
CCreate word clouds for day_of_week and binned_age.
DCreate a boxplot for day_of_week and binned_age.
Question #125Part 3

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
BUse the SageMaker Data Wrangler quick model visualization to quickly evaluate the data and
CUse the SageMaker Data Wrangler anomaly detection visualization to Identify outliers for the
DUse the SageMaker Data Wrangler histogram visualization to inspect the range of values for
Question #126Part 3

A global bank requires a solution to predict whether customers will leave the bank and choose another bank. The bank is using a dataset to train a model to predict customer loss. The training dataset has 1,000 rows. The training dataset includes 100 instances of customers who left the bank. A machine learning (ML) specialist is using Amazon SageMaker Data Wrangler to train a churn prediction model by using a SageMaker training job. After training, the ML specialist notices that the model returns only false results. The ML specialist must correct the model so that it returns more accurate predictions. Which solution will meet these requirements?

AApply anomaly detection to remove outliers from the training dataset before training.
BApply Synthetic Minority Oversampling Technique (SMOTE) to the training dataset before
CApply normalization to the features of the training dataset before training.
DApply undersampling to the training dataset before training.
Question #127Part 3

A data scientist receives a collection of insurance claim records. Each record includes a claim ID. the final outcome of the insurance claim, and the date of the final outcome. The final outcome of each claim is a selection from among 200 outcome categories. Some claim records include only partial information. However, incomplete claim records include only 3 or 4 outcome categories from among the 200 available outcome categories. The collection includes hundreds of records for each outcome category. The records are from the previous 3 years. The data scientist must create a solution to predict the number of claims that will be in each outcome category every month, several months in advance. Which solution will meet these requirements?

APerform classification every month by using supervised learning of the 200 outcome
BPerform reinforcement learning by using claim IDs and dates. Instruct the insurance agents
CPerform forecasting by using claim IDs and dates to identify the expected number of claims
DPerform classification by using supervised learning of the outcome categories for which
Question #128Part 3

A company provisions Amazon SageMaker notebook instances for its data science team and creates Amazon VPC interface endpoints to ensure communication between the VPC and the notebook instances. All connections to the Amazon SageMaker API are contained entirely and securely using the AWS network. However, the data science team realizes that individuals outside the VPC can still connect to the notebook instances across the internet. Which set of actions should the data science team take to fix the issue?

AModify the notebook instances' security group to allow traffic only from the CIDR ranges of
BCreate an IAM policy that allows the sagemaker:CreatePresignedNotebooklnstanceUrl and
CAdd a NAT gateway to the VPC. Convert all of the subnets where the Amazon SageMaker
DChange the network ACL of the subnet the notebook is hosted in to restrict access to anyone
Question #129Part 3Select 2

A machine learning (ML) specialist needs to extract embedding vectors from a text series. The goal is to provide a ready-to-ingest feature space for a data scientist to develop downstream ML predictive models. The text consists of curated sentences in English. Many sentences use similar words but in different contexts. There are questions and answers among the sentences, and the embedding space must differentiate between them. Which options can produce the required embedding vectors that capture word context and sequential QA information? (Choose two.)

AAmazon SageMaker seq2seq algorithm
BAmazon SageMaker BlazingText algorithm in Skip-gram mode
CAmazon SageMaker Object2Vec algorithm
DAmazon SageMaker BlazingText algorithm in continuous bag-of-words (CBOW) mode
ECombination of the Amazon SageMaker BlazingText algorithm in Batch Skip-gram mode with
Question #130Part 3

A Machine Learning Specialist is training a model to identify the make and model of vehicles in images. The Specialist wants to use transfer learning and an existing model trained on images of general objects. The Specialist collated a large custom dataset of pictures containing different vehicle makes and models. What should the Specialist do to initialize the model to re-train it with the custom data?

AInitialize the model with random weights in all layers including the last fully connected layer.
BInitialize the model with pre-trained weights in all layers and replace the last fully connected
CInitialize the model with random weights in all layers and replace the last fully connected
DInitialize the model with pre-trained weights in all layers including the last fully connected
Question #131Part 3

A library is developing an automatic book-borrowing system that uses Amazon Rekognition. Images of library members' faces are stored in an Amazon S3 bucket. When members borrow books, the Amazon Rekognition CompareFaces API operation compares real faces against the stored faces in Amazon S3. The library needs to improve security by making sure that images are encrypted at rest. Also, when the images are used with Amazon Rekognition. they need to be encrypted in transit. The library also must ensure that the images are not used to improve Amazon Rekognition as a service. How should a machine learning specialist architect the solution to satisfy these requirements?

AEnable server-side encryption on the S3 bucket. Submit an AWS Support ticket to opt out of
BSwitch to using an Amazon Rekognition collection to store the images. Use the IndexFaces
CSwitch to using the AWS GovCloud (US) Region for Amazon S3 to store images and for
DEnable client-side encryption on the S3 bucket. Set up a VPN connection and only call the
Question #132Part 3

A Machine Learning Specialist needs to be able to ingest streaming data and store it in Apache Parquet files for exploration and analysis. Which of the following services would both ingest and store this data in the correct format?

AAWS DMS
BAmazon Kinesis Data Streams
CAmazon Kinesis Data Firehose
DAmazon Kinesis Data Analytics
Question #133Part 3

A data scientist has explored and sanitized a dataset in preparation for the modeling phase of a supervised learning task. The statistical dispersion can vary widely between features, sometimes by several orders of magnitude. Before moving on to the modeling phase, the data scientist wants to ensure that the prediction performance on the production data is as accurate as possible. Which sequence of steps should the data scientist take to meet these requirements?

AApply random sampling to the dataset. Then split the dataset into training, validation, and test
BSplit the dataset into training, validation, and test sets. Then rescale the training set and
CRescale the dataset. Then split the dataset into training, validation, and test sets.
DSplit the dataset into training, validation, and test sets. Then rescale the training set, the
Question #134Part 3Select 2

An online retailer collects the following data on customer orders: demographics, behaviors, location, shipment progress, and delivery time. A data scientist joins all the collected datasets. The result is a single dataset that includes 980 variables. The data scientist must develop a machine learning (ML) model to identify groups of customers who are likely to respond to a marketing campaign. Which combination of algorithms should the data scientist use to meet this requirement? (Choose two.)

ALatent Dirichlet Allocation (LDA)
BK-means
CSemantic segmentation
DPrincipal component analysis (PCA)
EFactorization machines (FM)
Question #135Part 3

A company builds computer-vision models that use deep learning for the autonomous vehicle industry. A machine learning (ML) specialist uses an Amazon EC2 instance that has a CPU:GPU ratio of 12:1 to train the models. The ML specialist examines the instance metric logs and notices that the GPU is idle half of the time. The ML specialist must reduce training costs without increasing the duration of the training jobs. Which solution will meet these requirements?

ASwitch to an instance type that has only CPUs.
BUse a heterogeneous cluster that has two different instances groups.
CUse memory-optimized EC2 Spot Instances for the training jobs.
DSwitch to an instance type that has a CPU:GPU ratio of 6:1.
Question #136Part 3

A company deployed a machine learning (ML) model on the company website to predict real estate prices. Several months after deployment, an ML engineer notices that the accuracy of the model has gradually decreased. The ML engineer needs to improve the accuracy of the model. The engineer also needs to receive notifications for any future performance issues. Which solution will meet these requirements?

APerform incremental training to update the model. Activate Amazon SageMaker Model
BUse Amazon SageMaker Model Governance. Configure Model Governance to automatically
CUse Amazon SageMaker Debugger with appropriate thresholds. Configure Debugger to send
DUse only data from the previous several months to perform incremental training to update the
Question #137Part 3

A large consumer goods manufacturer has the following products on sale: * 34 different toothpaste variants * 48 different toothbrush variants * 43 different mouthwash variants The entire sales history of all these products is available in Amazon S3. Currently, the company is using custom-built autoregressive integrated moving average (ARIMA) models to forecast demand for these products. The company wants to predict the demand for a new product that will soon be launched. Which solution should a Machine Learning Specialist apply?

ATrain a custom ARIMA model to forecast demand for the new product.
BTrain an Amazon SageMaker DeepAR algorithm to forecast demand for the new product.
CTrain an Amazon SageMaker k-means clustering algorithm to forecast demand for the new
DTrain a custom XGBoost model to forecast demand for the new product.
Question #138Part 3Select 3

A Machine Learning Specialist has created a deep learning neural network model that performs well on the training data but performs poorly on the test data. Which of the following methods should the Specialist consider using to correct this? (Choose three.)

ADecrease regularization.
BIncrease regularization.
CIncrease dropout.
DDecrease dropout.
EIncrease feature combinations.
Question #139Part 3Select 3

A large company has developed a BI application that generates reports and dashboards using data collected from various operational metrics. The company wants to provide executives with an enhanced experience so they can use natural language to get data from the reports. The company wants the executives to be able ask questions using written and spoken interfaces. Which combination of services can be used to build this conversational interface? (Choose three.)

AAlexa for Business
BAmazon Connect
CAmazon Lex
DAmazon Polly
EAmazon Comprehend
Question #140Part 3

A Data Scientist is developing a machine learning model to predict future patient outcomes based on information collected about each patient and their treatment plans. The model should output a continuous value as its prediction. The data available includes labeled outcomes for a set of 4,000 patients. The study was conducted on a group of individuals over the age of 65 who have a particular disease that is known to worsen with age. Initial models have performed poorly. While reviewing the underlying data, the Data Scientist notices that, out of 4,000 patient observations, there are 450 where the patient age has been input as 0. The other features for these observations appear normal compared to the rest of the sample population How should the Data Scientist correct this issue?

ADrop all records from the dataset where age has been set to 0.
BReplace the age field value for records with a value of 0 with the mean or median value from
CDrop the age feature from the dataset and train the model using the rest of the features.
DUse k-means clustering to handle missing features
Question #141Part 3

A company's data engineer wants to use Amazon S3 to share datasets with data scientists. The data scientists work in three departments: Finance. Marketing, and Human Resources. Each department has its own IAM user group. Some datasets contain sensitive information and should be accessed only by the data scientists from the Finance department. How can the data engineer set up access to meet these requirements?

ACreate an S3 bucket for each dataset. Create an ACL for each S3 bucket. For each S3
BCreate an S3 bucket for each dataset. For each S3 bucket that contains a sensitive dataset,
CCreate a single S3 bucket that includes two folders to separate the sensitive datasets from
DCreate a single S3 bucket that includes two folders to separate the sensitive datasets from
Question #142Part 3

A retail company uses a machine learning (ML) model for daily sales forecasting. The company's brand manager reports that the model has provided inaccurate results for the past 3 weeks. At the end of each day, an AWS Glue job consolidates the input data that is used for the forecasting with the actual daily sales data and the predictions of the model. The AWS Glue job stores the data in Amazon S3. The company's ML team is using an Amazon SageMaker Studio notebook to gain an understanding about the source of the model's inaccuracies. What should the ML team do on the SageMaker Studio notebook to visualize the model's degradation MOST accurately?

ACreate a histogram of the daily sales over the last 3 weeks. In addition, create a histogram of
BCreate a histogram of the model errors over the last 3 weeks. In addition, create a histogram
CCreate a line chart with the weekly mean absolute error (MAE) of the model.
DCreate a scatter plot of daily sales versus model error for the last 3 weeks. In addition, create
Question #143Part 3

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
BCreate a bastion host by using Amazon EC2 in a public subnet within the VPC. Log in to the
CCreate a bastion host by using Amazon EC2 in a private subnet within the VPC with a NAT
DCreate a NAT gateway in the VPC. Access the SageMaker notebook HTTPS endpoint
Question #144Part 3

A media company with a very large archive of unlabeled images, text, audio, and video footage wishes to index its assets to allow rapid identification of relevant content by the Research team. The company wants to use machine learning to accelerate the efforts of its in-house researchers who have limited machine learning expertise. Which is the FASTEST route to index the assets?

AUse Amazon Rekognition, Amazon Comprehend, and Amazon Transcribe to tag data into
BCreate a set of Amazon Mechanical Turk Human Intelligence Tasks to label all footage.
CUse Amazon Transcribe to convert speech to text. Use the Amazon SageMaker Neural Topic
DUse the AWS Deep Learning AMI and Amazon EC2 GPU instances to create custom models
Question #145Part 3

A data scientist is building a forecasting model for a retail company by using the most recent 5 years of sales records that are stored in a data warehouse. The dataset contains sales records for each of the company’s stores across five commercial regions. The data scientist creates a working dataset with StoreID. Region. Date, and Sales Amount as columns. The data scientist wants to analyze yearly average sales for each region. The scientist also wants to compare how each region performed compared to average sales across all commercial regions. Which visualization will help the data scientist better understand the data trend?

ACreate an aggregated dataset by using the Pandas GroupBy function to get average sales
BCreate an aggregated dataset by using the Pandas GroupBy function to get average sales
CCreate an aggregated dataset by using the Pandas GroupBy function to get average sales
DCreate an aggregated dataset by using the Pandas GroupBy function to get average sales
Question #146Part 3

The chief editor for a product catalog wants the research and development team to build a machine learning system that can be used to detect whether or not individuals in a collection of images are wearing the company's retail brand. The team has a set of training data. Which machine learning algorithm should the researchers use that BEST meets their requirements?

ALatent Dirichlet Allocation (LDA)
BRecurrent neural network (RNN)
CK-means
DConvolutional neural network (CNN)
Question #147Part 3

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
BSet up a private workforce that consists of the internal team. Use the private workforce to
CSet up a private workforce that consists of the internal team. Use the private workforce and
DSet up a public workforce. Use the public workforce to label the data. Use the SageMaker
Question #148Part 3

A company's Machine Learning Specialist needs to improve the training speed of a time-series forecasting model using TensorFlow. The training is currently implemented on a single-GPU machine and takes approximately 23 hours to complete. The training needs to be run daily. The model accuracy is acceptable, but the company anticipates a continuous increase in the size of the training data and a need to update the model on an hourly, rather than a daily, basis. The company also wants to minimize coding effort and infrastructure changes. What should the Machine Learning Specialist do to the training solution to allow it to scale for future demand?

ADo not change the TensorFlow code. Change the machine to one with a more powerful GPU
BChange the TensorFlow code to implement a Horovod distributed framework supported by
CSwitch to using a built-in AWS SageMaker DeepAR model. Parallelize the training to as
DMove the training to Amazon EMR and distribute the workload to as many machines as
Question #149Part 3

A Machine Learning Specialist kicks off a hyperparameter tuning job for a tree-based ensemble model using Amazon SageMaker with Area Under the ROC Curve (AUC) as the objective metric. This workflow will eventually be deployed in a pipeline that retrains and tunes hyperparameters each night to model click-through on data that goes stale every 24 hours. With the goal of decreasing the amount of time it takes to train these models, and ultimately to decrease costs, the Specialist wants to reconfigure the input hyperparameter range(s). Which visualization will accomplish this?

AA histogram showing whether the most important input feature is Gaussian.
BA scatter plot with points colored by target variable that uses t-Distributed Stochastic
CA scatter plot showing the performance of the objective metric over each training iteration.
DA scatter plot showing the correlation between maximum tree depth and the objective metric.
Question #150Part 3

A data scientist at a food production company wants to use an Amazon SageMaker built-in model to classify different vegetables. The current dataset has many features. The company wants to save on memory costs when the data scientist trains and deploys the model. The company also wants to be able to find similar data points for each test data point. Which algorithm will meet these requirements?

AK-nearest neighbors (k-NN) with dimension reduction
BLinear learner with early stopping
CK-means
DPrincipal component analysis (PCA) with the algorithm mode set to random
Question #151Part 3

A company stores its documents in Amazon S3 with no predefined product categories. A data scientist needs to build a machine learning model to categorize the documents for all the company's products. Which solution will meet these requirements with the MOST operational efficiency?

ABuild a custom clustering model. Create a Dockerfile and build a Docker image. Register the
BTokenize the data and transform the data into tabular data. Train an Amazon SageMaker
CTrain an Amazon SageMaker Neural Topic Model (NTM) model to generate the product
DTrain an Amazon SageMaker Blazing Text model to generate the product categories.
Question #152Part 3Select 2

A company has an ecommerce website with a product recommendation engine built in TensorFlow. The recommendation engine endpoint is hosted by Amazon SageMaker. Three compute-optimized instances support the expected peak load of the website. Response times on the product recommendation page are increasing at the beginning of each month. Some users are encountering errors. The website receives the majority of its traffic between 8 AM and 6 PM on weekdays in a single time zone. Which of the following options are the MOST effective in solving the issue while keeping costs to a minimum? (Choose two.)

AConfigure the endpoint to use Amazon Elastic Inference (EI) accelerators.
BCreate a new endpoint configuration with two production variants.
CConfigure the endpoint to automatically scale with the InvocationsPerInstance metric.
DDeploy a second instance pool to support a blue/green deployment of models.
EReconfigure the endpoint to use burstable instances.
Question #153Part 3

A machine learning (ML) specialist wants to create a data preparation job that uses a PySpark script with complex window aggregation operations to create data for training and testing. The ML specialist needs to evaluate the impact of the number of features and the sample count on model performance. Which approach should the ML specialist use to determine the ideal data transformations for the model?

AAdd an Amazon SageMaker Debugger hook to the script to capture key metrics. Run the
BAdd an Amazon SageMaker Experiments tracker to the script to capture key metrics. Run the
CAdd an Amazon SageMaker Debugger hook to the script to capture key parameters. Run the
DAdd an Amazon SageMaker Experiments tracker to the script to capture key parameters.
Question #154Part 3

A data scientist is training a text classification model by using the Amazon SageMaker built-in BlazingText algorithm. There are 5 classes in the dataset, with 300 samples for category A, 292 samples for category B, 240 samples for category C, 258 samples for category D, and 310 samples for category E. The data scientist shuffles the data and splits off 10% for testing. After training the model, the data scientist generates confusion matrices for the training and test sets. What could the data scientist conclude form these results?

AClasses C and D are too similar.
BThe dataset is too small for holdout cross-validation.
CThe data distribution is skewed.
DThe model is overfitting for classes B and E.
Question #155Part 3

A chemical company has developed several machine learning (ML) solutions to identify chemical process abnormalities. The time series values of independent variables and the labels are available for the past 2 years and are sufficient to accurately model the problem. The regular operation label is marked as 0 The abnormal operation label is marked as 1. Process abnormalities have a significant negative effect on the company’s profits. The company must avoid these abnormalities. Which metrics will indicate an ML solution that will provide the GREATEST probability of detecting an abnormality?

APrecision = 0.91 -
BPrecision = 0.61 -
CPrecision = 0.7 -
DPrecision = 0.98 -
Question #156Part 3

An ecommerce company has used Amazon SageMaker to deploy a factorization machines (FM) model to suggest products for customers. The company’s data science team has developed two new models by using the TensorFlow and PyTorch deep learning frameworks. The company needs to use A/B testing to evaluate the new models against the deployed model. The required A/B testing setup is as follows: • Send 70% of traffic to the FM model, 15% of traffic to the TensorFlow model, and 15% of traffic to the PyTorch model. • For customers who are from Europe, send all traffic to the TensorFlow model. Which architecture can the company use to implement the required A/B testing setup?

ACreate two new SageMaker endpoints for the TensorFlow and PyTorch models in addition to
BCreate two production variants for the TensorFlow and PyTorch models. Create an auto
CCreate two new SageMaker endpoints for the TensorFlow and PyTorch models in addition to
DCreate two production variants for the TensorFlow and PyTorch models. Specify the weight
Question #157Part 3

A data scientist must build a custom recommendation model in Amazon SageMaker for an online retail company. Due to the nature of the company's products, customers buy only 4-5 products every 5-10 years. So, the company relies on a steady stream of new customers. When a new customer signs up, the company collects data on the customer's preferences. Below is a sample of the data available to the data scientist. How should the data scientist split the dataset into a training and test set for this use case?

AShuffle all interaction data. Split off the last 10% of the interaction data for the test set.
BIdentify the most recent 10% of interactions for each user. Split off these interactions for the
CIdentify the 10% of users with the least interaction data. Split off all interaction data from
DRandomly select 10% of the users. Split off all interaction data from these users for the test
Question #158Part 3

A data scientist is using an Amazon SageMaker notebook instance and needs to securely access data stored in a specific Amazon S3 bucket. How should the data scientist accomplish this?

AAdd an S3 bucket policy allowing GetObject, PutObject, and ListBucket permissions to the
BEncrypt the objects in the S3 bucket with a custom AWS Key Management Service (AWS
CAttach the policy to the IAM role associated with the notebook that allows GetObject,
DUse a script in a lifecycle configuration to configure the AWS CLI on the instance with an
Question #159Part 3

A company ingests machine learning (ML) data from web advertising clicks into an Amazon S3 data lake. Click data is added to an Amazon Kinesis data stream by using the Kinesis Producer Library (KPL). The data is loaded into the S3 data lake from the data stream by using an Amazon Kinesis Data Firehose delivery stream. As the data volume increases, an ML specialist notices that the rate of data ingested into Amazon S3 is relatively constant. There also is an increasing backlog of data for Kinesis Data Streams and Kinesis Data Firehose to ingest. Which next step is MOST likely to improve the data ingestion rate into Amazon S3?

AIncrease the number of S3 prefixes for the delivery stream to write to.
BDecrease the retention period for the data stream.
CIncrease the number of shards for the data stream.
DAdd more consumers using the Kinesis Client Library (KCL).
Question #160Part 3

Which of the following metrics should a Machine Learning Specialist generally use to compare/evaluate machine learning classification models against each other?

ARecall
BMisclassification rate
CMean absolute percentage error (MAPE)
DArea Under the ROC Curve (AUC)
Question #161Part 3

A manufacturing company has a large set of labeled historical sales data. The manufacturer would like to predict how many units of a particular part should be produced each quarter. Which machine learning approach should be used to solve this problem?

ALogistic regression
BRandom Cut Forest (RCF)
CPrincipal component analysis (PCA)
DLinear regression
Question #162Part 3

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.
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.
Question #163Part 3

A car company is developing a machine learning solution to detect whether a car is present in an image. The image dataset consists of one million images. Each image in the dataset is 200 pixels in height by 200 pixels in width. Each image is labeled as either having a car or not having a car. Which architecture is MOST likely to produce a model that detects whether a car is present in an image with the highest accuracy?

AUse a deep convolutional neural network (CNN) classifier with the images as input. Include a
BUse a deep convolutional neural network (CNN) classifier with the images as input. Include a
CUse a deep multilayer perceptron (MLP) classifier with the images as input. Include a linear
DUse a deep multilayer perceptron (MLP) classifier with the images as input. Include a
Question #164Part 3

A healthcare company wants to create a machine learning (ML) model to predict patient outcomes. A data science team developed an ML model by using a custom ML library. The company wants to use Amazon SageMaker to train this model. The data science team creates a custom SageMaker image to train the model. When the team tries to launch the custom image in SageMaker Studio, the data scientists encounter an error within the application. Which service can the data scientists use to access the logs for this error?

AAmazon S3
BAmazon Elastic Block Store (Amazon EBS)
CAWS CloudTrail
DAmazon CloudWatch
Question #165Part 3Select 2

A company’s data scientist has trained a new machine learning model that performs better on test data than the company’s existing model performs in the production environment. The data scientist wants to replace the existing model that runs on an Amazon SageMaker endpoint in the production environment. However, the company is concerned that the new model might not work well on the production environment data. The data scientist needs to perform A/B testing in the production environment to evaluate whether the new model performs well on production environment data. Which combination of steps must the data scientist take to perform the A/B testing? (Choose two.)

ACreate a new endpoint configuration that includes a production variant for each of the two
BCreate a new endpoint configuration that includes two target variants that point to different
CDeploy the new model to the existing endpoint.
DUpdate the existing endpoint to activate the new model.
EUpdate the existing endpoint to use the new endpoint configuration.
Question #166Part 3

An insurance company developed a new experimental machine learning (ML) model to replace an existing model that is in production. The company must validate the quality of predictions from the new experimental model in a production environment before the company uses the new experimental model to serve general user requests. New one model can serve user requests at a time. The company must measure the performance of the new experimental model without affecting the current live traffic. Which solution will meet these requirements?

AA/B testing
BCanary release
CShadow deployment
DBlue/green deployment
Question #167Part 3Select 2

A machine learning (ML) specialist is using the Amazon SageMaker DeepAR forecasting algorithm to train a model on CPU-based Amazon EC2 On-Demand instances. The model currently takes multiple hours to train. The ML specialist wants to decrease the training time of the model. Which approaches will meet this requirement? (Choose two.)

AReplace On-Demand Instances with Spot Instances.
BConfigure model auto scaling dynamically to adjust the number of instances automatically.
CReplace CPU-based EC2 instances with GPU-based EC2 instances.
DUse multiple training instances.
EUse a pre-trained version of the model. Run incremental training.
Question #168Part 3

An online delivery company wants to choose the fastest courier for each delivery at the moment an order is placed. The company wants to implement this feature for existing users and new users of its application. Data scientists have trained separate models with XGBoost for this purpose, and the models are stored in Amazon S3. There is one model for each city where the company operates. Operation engineers are hosting these models in Amazon EC2 for responding to the web client requests, with one instance for each model, but the instances have only a 5% utilization in CPU and memory. The operation engineers want to avoid managing unnecessary resources. Which solution will enable the company to achieve its goal with the LEAST operational overhead?

ACreate an Amazon SageMaker notebook instance for pulling all the models from Amazon S3
BPrepare an Amazon SageMaker Docker container based on the open-source multi-model
CKeep only a single EC2 instance for hosting all the models. Install a model server in the
DPrepare a Docker container based on the prebuilt images in Amazon SageMaker. Replace
Question #169Part 3Select 3

A financial services company wants to adopt Amazon SageMaker as its default data science environment. The company's data scientists run machine learning (ML) models on confidential financial data. The company is worried about data egress and wants an ML engineer to secure the environment. Which mechanisms can the ML engineer use to control data egress from SageMaker? (Choose three.)

AConnect to SageMaker by using a VPC interface endpoint powered by AWS PrivateLink.
BUse SCPs to restrict access to SageMaker.
CDisable root access on the SageMaker notebook instances.
DEnable network isolation for training jobs and models.
ERestrict notebook presigned URLs to specific IPs used by the company.
Question #170Part 3

A machine learning engineer is building a bird classification model. The engineer randomly separates a dataset into a training dataset and a validation dataset. During the training phase, the model achieves very high accuracy. However, the model did not generalize well during validation of the validation dataset. The engineer realizes that the original dataset was imbalanced. What should the engineer do to improve the validation accuracy of the model?

APerform stratified sampling on the original dataset.
BAcquire additional data about the majority classes in the original dataset.
CUse a smaller, randomly sampled version of the training dataset.
DPerform systematic sampling on the original dataset.
Question #171Part 3

A Machine Learning Specialist is assigned a TensorFlow project using Amazon SageMaker for training, and needs to continue working for an extended period with no Wi-Fi access. Which approach should the Specialist use to continue working?

AInstall Python 3 and boto3 on their laptop and continue the code development using that
BDownload the TensorFlow Docker container used in Amazon SageMaker from GitHub to their
CDownload TensorFlow from tensorflow.org to emulate the TensorFlow kernel in the
DDownload the SageMaker notebook to their local environment, then install Jupyter
Question #172Part 3

A machine learning (ML) specialist needs to solve a binary classification problem for a marketing dataset. The ML specialist must maximize the Area Under the ROC Curve (AUC) of the algorithm by training an XGBoost algorithm. The ML specialist must find values for the eta, alpha, min_child_weight, and max_depth hyperparameters that will generate the most accurate model. Which approach will meet these requirements with the LEAST operational overhead?

AUse a bootstrap script to install scikit-learn on an Amazon EMR cluster. Deploy the EMR
BDeploy Amazon SageMaker prebuilt Docker images that have scikit-learn installed. Apply
CUse Amazon SageMaker automatic model tuning (AMT). Specify a range of values for each
DSubscribe to an AUC algorithm that is on AWS Marketplace. Specify a range of values for
Question #173Part 3

A machine learning (ML) developer for an online retailer recently uploaded a sales dataset into Amazon SageMaker Studio. The ML developer wants to obtain importance scores for each feature of the dataset. The ML developer will use the importance scores to feature engineer the dataset. Which solution will meet this requirement with the LEAST development effort?

AUse SageMaker Data Wrangler to perform a Gini importance score analysis.
BUse a SageMaker notebook instance to perform principal component analysis (PCA).
CUse a SageMaker notebook instance to perform a singular value decomposition analysis.
DUse the multicollinearity feature to perform a lasso feature selection to perform an
Question #174Part 3

A company is setting up a mechanism for data scientists and engineers from different departments to access an Amazon SageMaker Studio domain. Each department has a unique SageMaker Studio domain. The company wants to build a central proxy application that data scientists and engineers can log in to by using their corporate credentials. The proxy application will authenticate users by using the company's existing Identity provider (IdP). The application will then route users to the appropriate SageMaker Studio domain. The company plans to maintain a table in Amazon DynamoDB that contains SageMaker domains for each department. How should the company meet these requirements?

AUse the SageMaker CreatePresignedDomainUrl API to generate a presigned URL for each
BUse the SageMaker CreateHumanTaskUi API to generate a UI URL. Pass the URL to the
CUse the Amazon SageMaker ListHumanTaskUis API to list all UI URLs. Pass the appropriate
DUse the SageMaker CreatePresignedNotebooklnstanceUrl API to generate a presigned URL.
Question #175Part 3

An insurance company is creating an application to automate car insurance claims. A machine learning (ML) specialist used an Amazon SageMaker Object Detection - TensorFlow built-in algorithm to train a model to detect scratches and dents in images of cars. After the model was trained, the ML specialist noticed that the model performed better on the training dataset than on the testing dataset. Which approach should the ML specialist use to improve the performance of the model on the testing data?

AIncrease the value of the momentum hyperparameter.
BReduce the value of the dropout_rate hyperparameter.
CReduce the value of the learning_rate hyperparameter
DIncrease the value of the L2 hyperparameter.
Question #176Part 3Select 2

A university wants to develop a targeted recruitment strategy to increase new student enrollment. A data scientist gathers information about the academic performance history of students. The data scientist wants to use the data to build student profiles. The university will use the profiles to direct resources to recruit students who are likely to enroll in the university. Which combination of steps should the data scientist take to predict whether a particular student applicant is likely to enroll in the university? (Choose two.)

AUse Amazon SageMaker Ground Truth to sort the data into two groups named "enrolled" or
BUse a forecasting algorithm to run predictions.
CUse a regression algorithm to run predictions.
DUse a classification algorithm to run predictions.
EUse the built-in Amazon SageMaker k-means algorithm to cluster the data into two groups
Question #177Part 3

An ecommerce company has developed a XGBoost model in Amazon SageMaker to predict whether a customer will return a purchased item. The dataset is imbalanced. Only 5% of customers return items. A data scientist must find the hyperparameters to capture as many instances of returned items as possible. The company has a small budget for compute. How should the data scientist meet these requirements MOST cost-effectively?

ATune all possible hyperparameters by using automatic model tuning (AMT). Optimize on
BTune the csv_weight hyperparameter and the scale_pos_weight hyperparameter by using
CTune all possible hyperparameters by using automatic model tuning (AMT). Optimize on
DTune the csv_weight hyperparameter and the scale_pos_weight hyperparameter by using
Question #178Part 3

A law firm handles thousands of contracts every day. Every contract must be signed. Currently, a lawyer manually checks all contracts for signatures. The law firm is developing a machine learning (ML) solution to automate signature detection for each contract. The ML solution must also provide a confidence score for each contract page. Which Amazon Textract API action can the law firm use to generate a confidence score for each page of each contract?

AUse the AnalyzeDocument API action. Set the FeatureTypes parameter to SIGNATURES.
BUse the Prediction API call on the documents. Return the signatures and confidence scores
CUse the StartDocumentAnalysis API action to detect the signatures. Return the confidence
DUse the GetDocumentAnalysis API action to detect the signatures. Return the confidence
Question #179Part 3Select 2

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
BShare the feature repository that is associated the S3 buckets from the development account
CUse AWS Security Token Service (AWS STS) from the integration account and the
DSet up S3 replication between the development S3 buckets and the integration and
ECreate an AWS PrivateLink endpoint in the development account for SageMaker.
Question #180Part 3

A Machine Learning Specialist is working with a large cybersecurity company that manages security events in real time for companies around the world. The cybersecurity company wants to design a solution that will allow it to use machine learning to score malicious events as anomalies on the data as it is being ingested. The company also wants be able to save the results in its data lake for later processing and analysis. What is the MOST efficient way to accomplish these tasks?

AIngest the data using Amazon Kinesis Data Firehose, and use Amazon Kinesis Data
BIngest the data into Apache Spark Streaming using Amazon EMR, and use Spark MLlib with
CIngest the data and store it in Amazon S3. Use AWS Batch along with the AWS Deep
DIngest the data and store it in Amazon S3. Have an AWS Glue job that is triggered on
Question #181Part 4

A data scientist at a retail company is forecasting sales for a product over the next 3 months. After preliminary analysis, the data scientist identifies that sales are seasonal and that holidays affect sales. The data scientist also determines that sales of the product are correlated with sales of other products in the same category. The data scientist needs to train a sales forecasting model that incorporates this information. Which solution will meet this requirement with the LEAST development effort?

AUse Amazon Forecast with Holidays featurization and the built-in autoregressive integrated
BUse Amazon Forecast with Holidays featurization and the built-in DeepAR+ algorithm to train
CUse Amazon SageMaker Processing to enrich the data with holiday information. Train the
DUse Amazon SageMaker Processing to enrich the data with holiday information. Train the
Question #182Part 4

A Machine Learning Specialist built an image classification deep learning model. However, the Specialist ran into an overfitting problem in which the training and testing accuracies were 99% and 75%, respectively. How should the Specialist address this issue and what is the reason behind it?

AThe learning rate should be increased because the optimization process was trapped at a
BThe dropout rate at the flatten layer should be increased because the model is not
CThe dimensionality of dense layer next to the flatten layer should be increased because the
DThe epoch number should be increased because the optimization process was terminated
Question #183Part 4

A company is using Amazon Polly to translate plaintext documents to speech for automated company announcements. However, company acronyms are being mispronounced in the current documents. How should a Machine Learning Specialist address this issue for future documents?

AConvert current documents to SSML with pronunciation tags.
BCreate an appropriate pronunciation lexicon.
COutput speech marks to guide in pronunciation.
DUse Amazon Lex to preprocess the text files for pronunciation

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!