Exams > Amazon > AWS Certified Machine Learning - Specialty: AWS Certified Machine Learning - Specialty (MLS-C01)
AWS Certified Machine Learning - Specialty: AWS Certified Machine Learning - Specialty (MLS-C01)
Page 9 out of 21 pages Questions 81-90 out of 203 questions
Question#81

A machine learning (ML) specialist wants to secure calls to the Amazon SageMaker Service API. The specialist has configured Amazon VPC with a VPC interface endpoint for the Amazon SageMaker Service API and is attempting to secure traffic from specific sets of instances and IAM users. The VPC is configured with a single public subnet.
Which combination of steps should the ML specialist take to secure the traffic? (Choose two.)

  • A. Add a VPC endpoint policy to allow access to the IAM users.
  • B. Modify the users' IAM policy to allow access to Amazon SageMaker Service API calls only.
  • C. Modify the security group on the endpoint network interface to restrict access to the instances.
  • D. Modify the ACL on the endpoint network interface to restrict access to the instances.
  • E. Add a SageMaker Runtime VPC endpoint interface to the VPC.
Discover Answer Hide Answer

AC
Reference:
https://aws.amazon.com/blogs/machine-learning/private-package-installation-in-amazon-sagemaker-running-in-internet-free-mode/

Question#82

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?

  • A. Create an AWS Glue job to connect to the PostgreSQL DB instance. Ingest tables without sensitive data through an AWS Site-to-Site VPN connection directly into Amazon S3.
  • B. Create an AWS Glue job to connect to the PostgreSQL DB instance. Ingest all data through an AWS Site-to-Site VPN connection into Amazon S3 while removing sensitive data using a PySpark job.
  • C. Use AWS Database Migration Service (AWS DMS) with table mapping to select PostgreSQL tables with no sensitive data through an SSL connection. Replicate data directly into Amazon S3.
  • D. Use PostgreSQL logical replication to replicate all data to PostgreSQL in Amazon EC2 through AWS Direct Connect with a VPN connection. Use AWS Glue to move data from Amazon EC2 to Amazon S3.
Discover Answer Hide Answer

C
Reference:
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html

Question#83

A logistics company needs a forecast model to predict next month's inventory requirements for a single item in 10 warehouses. A machine learning specialist uses
Amazon Forecast to develop a forecast model from 3 years of monthly data. There is no missing data. The specialist selects the DeepAR+ algorithm to train a predictor. The predictor means absolute percentage error (MAPE) is much larger than the MAPE produced by the current human forecasters.
Which changes to the CreatePredictor API call could improve the MAPE? (Choose two.)

  • A. Set PerformAutoML to true.
  • B. Set ForecastHorizon to 4.
  • C. Set ForecastFrequency to W for weekly.
  • D. Set PerformHPO to true.
  • E. Set FeaturizationMethodName to filling.
Discover Answer Hide Answer

CD
Reference:
https://docs.aws.amazon.com/forecast/latest/dg/forecast.dg.pdf

Question#84

A data scientist wants to use Amazon Forecast to build a forecasting model for inventory demand for a retail company. The company has provided a dataset of historic inventory demand for its products as a .csv file stored in an Amazon S3 bucket. The table below shows a sample of the dataset.

How should the data scientist transform the data?

  • A. Use ETL jobs in AWS Glue to separate the dataset into a target time series dataset and an item metadata dataset. Upload both datasets as .csv files to Amazon S3.
  • B. Use a Jupyter notebook in Amazon SageMaker to separate the dataset into a related time series dataset and an item metadata dataset. Upload both datasets as tables in Amazon Aurora.
  • C. Use AWS Batch jobs to separate the dataset into a target time series dataset, a related time series dataset, and an item metadata dataset. Upload them directly to Forecast from a local machine.
  • D. Use a Jupyter notebook in Amazon SageMaker to transform the data into the optimized protobuf recordIO format. Upload the dataset in this format to Amazon S3.
Discover Answer Hide Answer

B

Question#85

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?

  • A. Redeploy the model as a batch transform job on an M5 instance.
  • B. Redeploy the model on an M5 instance. Attach Amazon Elastic Inference to the instance.
  • C. Redeploy the model on a P3dn instance.
  • D. Deploy the model onto an Amazon Elastic Container Service (Amazon ECS) cluster using a P3 instance.
Discover Answer Hide Answer

D

Question#86

A data scientist uses an Amazon SageMaker notebook instance to conduct data exploration and analysis. This requires certain Python packages that are not natively available on Amazon SageMaker to be installed on the notebook instance.
How can a machine learning specialist ensure that required packages are automatically available on the notebook instance for the data scientist to use?

  • A. Install AWS Systems Manager Agent on the underlying Amazon EC2 instance and use Systems Manager Automation to execute the package installation commands.
  • B. Create a Jupyter notebook file (.ipynb) with cells containing the package installation commands to execute and place the file under the /etc/init directory of each Amazon SageMaker notebook instance.
  • C. Use the conda package manager from within the Jupyter notebook console to apply the necessary conda packages to the default kernel of the notebook.
  • D. Create an Amazon SageMaker lifecycle configuration with package installation commands and assign the lifecycle configuration to the notebook instance.
Discover Answer Hide Answer

B
Reference:
https://towardsdatascience.com/automating-aws-sagemaker-notebooks-2dec62bc2c84

Question#87

A data scientist needs to identify fraudulent user accounts for a company's ecommerce platform. The company wants the ability to determine if a newly created account is associated with a previously known fraudulent user. The data scientist is using AWS Glue to cleanse the company's application logs during ingestion.
Which strategy will allow the data scientist to identify fraudulent accounts?

  • A. Execute the built-in FindDuplicates Amazon Athena query.
  • B. Create a FindMatches machine learning transform in AWS Glue.
  • C. Create an AWS Glue crawler to infer duplicate accounts in the source data.
  • D. Search for duplicate accounts in the AWS Glue Data Catalog.
Discover Answer Hide Answer

B
Reference:
https://docs.aws.amazon.com/glue/latest/dg/machine-learning.html

Question#88

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.)

  • A. Change the XGBoost eval_metric parameter to optimize based on Root Mean Square Error (RMSE).
  • B. Increase the XGBoost scale_pos_weight parameter to adjust the balance of positive and negative weights.
  • C. Increase the XGBoost max_depth parameter because the model is currently underfitting the data.
  • D. Change the XGBoost eval_metric parameter to optimize based on Area Under the ROC Curve (AUC).
  • E. Decrease the XGBoost max_depth parameter because the model is currently overfitting the data.
Discover Answer Hide Answer

DE

Question#89

A data scientist has developed a machine learning translation model for English to Japanese by using Amazon SageMaker's built-in seq2seq algorithm with
500,000 aligned sentence pairs. While testing with sample sentences, the data scientist finds that the translation quality is reasonable for an example as short as five words. However, the quality becomes unacceptable if the sentence is 100 words long.
Which action will resolve the problem?

  • A. Change preprocessing to use n-grams.
  • B. Add more nodes to the recurrent neural network (RNN) than the largest sentence's word count.
  • C. Adjust hyperparameters related to the attention mechanism.
  • D. Choose a different weight initialization type.
Discover Answer Hide Answer

B

Question#90

A financial company is trying to detect credit card fraud. The company observed that, on average, 2% of credit card transactions were fraudulent. A data scientist trained a classifier on a year's worth of credit card transactions data. The model needs to identify the fraudulent transactions (positives) from the regular ones
(negatives). The company's goal is to accurately capture as many positives as possible.
Which metrics should the data scientist use to optimize the model? (Choose two.)

  • A. Specificity
  • B. False positive rate
  • C. Accuracy
  • D. Area under the precision-recall curve
  • E. True positive rate
Discover Answer Hide Answer

AB

chevron rightPrevious Nextchevron right