πŸ”

MLS-C01 β€” questions

Page 2 of 19 Β· 369 total questions.

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

A Machine Learning Specialist is configuring Amazon SageMaker so multiple Data Scientists can access notebooks, train models, and deploy endpoints. To ensure the best operational performance, the Specialist needs to be able to track how often the Scientists are deploying models, GPU and CPU utilization on the deployed SageMaker endpoints, and all errors that are generated when an endpoint is invoked. Which services are integrated with Amazon SageMaker to track this information? (Choose two.)

  • AAWS CloudTrail (correct answer)
  • BAWS Health
  • CAWS Trusted Advisor
  • DAmazon CloudWatch (correct answer)
  • EAWS Config
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: AWS CloudTrail Option D: Amazon CloudWatch

Explanation

Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health. AWS CloudTrail records API activity for auditing and governance.

Topic 1 Β· Question 22

A retail chain has been ingesting purchasing records from its network of 20,000 stores to Amazon S3 using Amazon Kinesis Data Firehose. To support training an improved machine learning model, training records will require new but simple transformations, and some attributes will be combined. The model needs to be retrained daily. Given the large number of stores and the legacy data ingestion, which change will require the LEAST amount of development effort?

  • ARequire that the stores to switch to capturing their data locally on AWS Storage Gateway for loading into Amazon S3, then use AWS Glue to do the transformation.
  • BDeploy an Amazon EMR cluster running Apache Spark with the transformation logic, and have the cluster run each day on the accumulating records in Amazon S3, outputting new/transformed records to Amazon S3.
  • CSpin up a fleet of Amazon EC2 instances with the transformation logic, have them transform the data records accumulating on Amazon S3, and output the transformed records to Amazon S3.
  • DInsert an Amazon Kinesis Data Analytics stream downstream of the Kinesis Data Firehose stream that transforms raw record attributes into simple transformed values using SQL. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Insert an Amazon Kinesis Data Analytics stream downstream of the Kinesis Data Firehose stream that transforms raw record attributes into simple transformed values using SQL.

Explanation

Kinesis Data Firehose delivers streaming data to destinations like S3/Redshift with no servers to manage. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 23

A Machine Learning Specialist is building a convolutional neural network (CNN) that will classify 10 types of animals. The Specialist has built a series of layers in a neural network that will take an input image of an animal, pass it through a series of convolutional and pooling layers, and then finally pass it through a dense and fully connected layer with 10 nodes. The Specialist would like to get an output from the neural network that is a probability distribution of how likely it is that the input image belongs to each of the 10 classes. Which function will produce the desired output?

  • ADropout
  • BSmooth L1 loss
  • CSoftmax (correct answer)
  • DRectified linear units (ReLU)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Softmax.

Topic 1 Β· Question 24

A Machine Learning Specialist trained a regression model, but the first iteration needs optimizing. The Specialist needs to understand whether the model is more frequently overestimating or underestimating the target. What option can the Specialist use to determine whether it is overestimating or underestimating the target value?

  • ARoot Mean Square Error (RMSE)
  • BResidual plots (correct answer)
  • CArea under the curve
  • DConfusion matrix
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Residual plots.

Topic 1 Β· Question 25

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?

Exhibit 1 for question 25
  • ADecision tree (correct answer)
  • BLinear support vector machine (SVM)
  • CNaive Bayesian classifier
  • DSingle Perceptron with sigmoidal activation function
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Decision tree.

Topic 1 Β· Question 26

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 Neighbor Embedding (t-SNE) to visualize the large number of input variables in an easier-to-read dimension.
  • 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. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: A scatter plot showing the correlation between maximum tree depth and the objective metric.

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

A Machine Learning Specialist is creating a new natural language processing application that processes a dataset comprised of 1 million sentences. The aim is to then run Word2Vec to generate embeddings of the sentences and enable different types of predictions. Here is an example from the dataset: "The quck BROWN FOX jumps over the lazy dog.` Which of the following are the operations the Specialist needs to perform to correctly sanitize and prepare the data in a repeatable manner? (Choose three.)

  • APerform part-of-speech tagging and keep the action verb and the nouns only.
  • BNormalize all words by making the sentence lowercase. (correct answer)
  • CRemove stop words using an English stopword dictionary. (correct answer)
  • DCorrect the typography on "quck" to "quick."
  • EOne-hot encode all words in the sentence.
  • FTokenize the sentence into words. (correct answer)
Reveal answer & explanation
Correct answer: B, C, F

The correct answer is B, C, F. Option B: Normalize all words by making the sentence lowercase. Option C: Remove stop words using an English stopword dictionary. Option F: Tokenize the sentence into words.

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover.

Topic 1 Β· Question 28

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. (correct answer)
  • COutput speech marks to guide in pronunciation.
  • DUse Amazon Lex to preprocess the text files for pronunciation
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create an appropriate pronunciation lexicon.

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

An insurance company is developing a new device for vehicles that uses a camera to observe drivers' behavior and alert them when they appear distracted. The company created approximately 10,000 training images in a controlled environment that a Machine Learning Specialist will use to train and evaluate machine learning models. During the model evaluation, the Specialist notices that the training error rate diminishes faster as the number of epochs increases and the model is not accurately inferring on the unseen test images. Which of the following should be used to resolve this issue? (Choose two.)

  • AAdd vanishing gradient to the model.
  • BPerform data augmentation on the training data. (correct answer)
  • CMake the neural network architecture complex.
  • DUse gradient checking in the model.
  • EAdd L2 regularization to the model. (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Perform data augmentation on the training data. Option E: Add L2 regularization to the model.

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

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. (correct answer)
  • 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. (correct answer)
  • 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.
  • FThe output path specifying where on an Amazon S3 bucket the trained model will persist. (correct answer)
Reveal answer & explanation
Correct answer: A, C, F

The correct answer is A, C, F. Option A: The training channel identifying the location of training data on an Amazon S3 bucket. Option C: The IAM role that Amazon SageMaker can assume to perform tasks on behalf of the users. Option F: The output path specifying where on an Amazon S3 bucket the trained model will persist.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials.

Topic 1 Β· Question 31

A monitoring service generates 1 TB of scale metrics record data every minute. A Research team performs queries on this data using Amazon Athena. The queries run slowly due to the large volume of data, and the team requires better performance. How should the records be stored in Amazon S3 to improve query performance?

  • ACSV files
  • BParquet files (correct answer)
  • CCompressed JSON
  • DRecordIO
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Parquet files.

Topic 1 Β· Question 32

Machine Learning Specialist is working with a media company to perform classification on popular articles from the company's website. The company is using random forests to classify how popular an article will be before it is published. A sample of the data being used is below. Given the dataset, the Specialist wants to convert the Day_Of_Week column to binary values. What technique should be used to convert this column to binary values?

Exhibit 1 for question 32
  • ABinarization
  • BOne-hot encoding (correct answer)
  • CTokenization
  • DNormalization transformation
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: One-hot encoding.

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

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 amount of noise to the duplicated data. (correct answer)
  • DChange the cost function so that false negatives have a higher impact on the cost value than false positives. (correct answer)
  • EChange the cost function so that false positives have a higher impact on the cost value than false negatives.
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: Generate more positive samples by duplicating the positive samples and adding a small amount of noise to the duplicated data. Option D: Change the cost function so that false negatives have a higher impact on the cost value than false positives.

Topic 1 Β· Question 34

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 the dataset (correct answer)
  • 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
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Replace the age field value for records with a value of 0 with the mean or median value from the dataset

Explanation

Amazon RDS is a managed relational database that handles patching, backups and failover.

Topic 1 Β· Question 35

A Data Science team is designing a dataset repository where it will store a large amount of training data commonly used in its machine learning models. As Data Scientists may create an arbitrary number of new datasets every day, the solution has to scale automatically and be cost-effective. Also, it must be possible to explore the data using SQL. Which storage scheme is MOST adapted to this scenario?

  • AStore datasets as files in Amazon S3. (correct answer)
  • BStore datasets as files in an Amazon EBS volume attached to an Amazon EC2 instance.
  • CStore datasets as tables in a multi-node Amazon Redshift cluster.
  • DStore datasets as global tables in Amazon DynamoDB.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Store datasets as files in Amazon S3.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 36

A Machine Learning Specialist deployed a model that provides product recommendations on a company's website. Initially, the model was performing very well and resulted in customers buying more products on average. However, within the past few months, the Specialist has noticed that the effect of product recommendations has diminished and customers are starting to return to their original habits of spending less. The Specialist is unsure of what happened, as the model has not changed from its initial deployment over a year ago. Which method should the Specialist try to improve model performance?

  • AThe model needs to be completely re-engineered because it is unable to handle product inventory changes.
  • BThe model's hyperparameters should be periodically updated to prevent drift.
  • CThe model should be periodically retrained from scratch using the original data while adding a regularization term to handle product inventory changes
  • DThe model should be periodically retrained using the original training data plus new data as product inventory changes. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: The model should be periodically retrained using the original training data plus new data as product inventory changes.

Topic 1 Β· Question 37

A Machine Learning Specialist working for an online fashion company wants to build a data ingestion solution for the company's Amazon S3-based data lake. The Specialist wants to create a set of ingestion mechanisms that will enable future capabilities comprised of: β€’ Real-time analytics β€’ Interactive analytics of historical data β€’ Clickstream analytics β€’ Product recommendations Which services should the Specialist use?

  • AAWS Glue as the data catalog; Amazon Kinesis Data Streams and Amazon Kinesis Data Analytics for real-time data insights; Amazon Kinesis Data Firehose for delivery to Amazon ES for clickstream analytics; Amazon EMR to generate personalized product recommendations (correct answer)
  • BAmazon Athena as the data catalog: Amazon Kinesis Data Streams and Amazon Kinesis Data Analytics for near-real-time data insights; Amazon Kinesis Data Firehose for clickstream analytics; AWS Glue to generate personalized product recommendations
  • CAWS Glue as the data catalog; Amazon Kinesis Data Streams and Amazon Kinesis Data Analytics for historical data insights; Amazon Kinesis Data Firehose for delivery to Amazon ES for clickstream analytics; Amazon EMR to generate personalized product recommendations
  • DAmazon Athena as the data catalog; Amazon Kinesis Data Streams and Amazon Kinesis Data Analytics for historical data insights; Amazon DynamoDB streams for clickstream analytics; AWS Glue to generate personalized product recommendations
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: AWS Glue as the data catalog; Amazon Kinesis Data Streams and Amazon Kinesis Data Analytics for real-time data insights; Amazon Kinesis Data Firehose for delivery to Amazon ES for clickstream analytics; Amazon EMR to...

Explanation

Kinesis Data Firehose delivers streaming data to destinations like S3/Redshift with no servers to manage. Kinesis Data Streams ingests and processes high-volume real-time streaming data. Amazon Kinesis ingests and processes real-time streaming data at scale. This option meets the real-time / low-latency performance requirement.

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

A company is observing low accuracy while training on the default built-in image classification algorithm in Amazon SageMaker. The Data Science team wants to use an Inception neural network architecture instead of a ResNet architecture. Which of the following will accomplish this? (Choose two.)

  • ACustomize the built-in image classification algorithm to use Inception and use this for model training.
  • BCreate a support case with the SageMaker team to change the default image classification algorithm to Inception.
  • CBundle a Docker container with TensorFlow Estimator loaded with an Inception network and use this for model training. (correct answer)
  • DUse custom code in Amazon SageMaker with TensorFlow Estimator to load the model with an Inception network, and use this for model training. (correct answer)
  • EDownload and apt-get install the inception network code into an Amazon EC2 instance and use this instance as a Jupyter notebook in Amazon SageMaker.
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: Bundle a Docker container with TensorFlow Estimator loaded with an Inception network and use this for model training. Option D: Use custom code in Amazon SageMaker with TensorFlow Estimator to load the model with an Inception network, and use this for model training.

Explanation

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

Topic 1 Β· Question 39

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 local minimum.
  • BThe dropout rate at the flatten layer should be increased because the model is not generalized enough. (correct answer)
  • CThe dimensionality of dense layer next to the flatten layer should be increased because the model is not complex enough.
  • DThe epoch number should be increased because the optimization process was terminated before it reached the global minimum.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: The dropout rate at the flatten layer should be increased because the model is not generalized enough.

Topic 1 Β· Question 40

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. Add code to push a custom metric to Amazon CloudWatch. Create an alarm in CloudWatch with Amazon SNS to receive a notification when the model is overfitting.
  • BUse AWS CloudTrail to log Amazon SageMaker API calls to Amazon S3. Add code to push a custom metric to Amazon CloudWatch. Create an alarm in CloudWatch with Amazon SNS to receive a notification when the model is overfitting. (correct answer)
  • CImplement an AWS Lambda function to log Amazon SageMaker API calls to AWS CloudTrail. Add code to push a custom metric to Amazon CloudWatch. Create an alarm in CloudWatch with Amazon SNS to receive a notification when the model is overfitting.
  • DUse AWS CloudTrail to log Amazon SageMaker API calls to Amazon S3. Set up Amazon SNS to receive a notification when the model is overfitting
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use AWS CloudTrail to log Amazon SageMaker API calls to Amazon S3. Add code to push a custom metric to Amazon CloudWatch. Create an alarm in CloudWatch with Amazon SNS to receive a notification when the model is overf...

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon SNS is a managed pub/sub service for fan-out notifications to many subscribers. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Showing questions 21–40 of 369 Β· Page 2 of 19