πŸ”

MLA-C01 β€” questions

Page 8 of 12 Β· 226 total questions.

Topic 1 Β· Question 142

A company is building an ML model by using Amazon SageMaker, AWS owned libraries, and open source libraries. The company must ensure that SageMaker does not collect metadata about usage and errors during training. Which solution will meet these requirements?

  • AAssociate the SageMaker domain with a custom IAM role. Attach the role to a policy that denies Amazon CloudWatch service usage logs.
  • BAdd an IAM role to the SageMaker domain to deny Amazon CloudWatch the permission to report metadata.
  • CTurn off the setting in the SageMaker domain to share metadata for console jobs. Opt out of metadata collection for each training job that is submitted through the AWS CLI or AWS SDKs.
  • DSet a parameter to opt out of metadata collection for each training job that is submitted through the AWS CLI, Boto3, or the SageMaker Python SDK. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Set a parameter to opt out of metadata collection for each training job that is submitted through the AWS CLI, Boto3, or the SageMaker Python SDK.

Explanation

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

Topic 1 Β· Question 143

An ML engineer is training an ML model to identify people’s health risk based on 20 features and 1 target. The target class has two values: β€’ Likely to have health risk (positive class) β€’ Unlikely to have health risk (negative class) The age range of people in the dataset is 30 years old to 60 years old. Age is one of the features. The ML engineer analyzes the features. For the positive class, the difference in proportions of labels (DPL) value is (+0.9) for the age range of 40 to 45 compared with all other age ranges. What should the ML engineer do to correct this data imbalance?

  • AOversample the positive class for the age range of 40 to 45.
  • BUndersample the positive class for the age range of 40 to 45. (correct answer)
  • CUndersample the positive class for all age ranges except 40 to 45.
  • DOversample the negative class for all age ranges except 40 to 45.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Undersample the positive class for the age range of 40 to 45.

Topic 1 Β· Question 144

A company is building an Amazon SageMaker AI pipeline for an ML model. The pipeline uses distributed processing and training. An ML engineer needs to encrypt network communication between instances that run distributed jobs. The ML engineer configures the distributed jobs to run in a private VPC. What should the ML engineer do to meet the encryption requirement?

  • AEnable network isolation.
  • BConfigure traffic encryption by using security groups.
  • CEnable inter-container traffic encryption. (correct answer)
  • DEnable VPC flow logs.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Enable inter-container traffic encryption.

Topic 1 Β· Question 145

An ML model is deployed in production. The model has performed well and has met its metric thresholds for months. An ML engineer who is monitoring the model observes a sudden degradation. The performance metrics of the model are now below the thresholds. What could be the cause of the performance degradation?

  • ALack of training data
  • BDrift in production data distribution (correct answer)
  • CCompute resource constraints
  • DModel overfitting
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Drift in production data distribution.

Topic 1 Β· Question 146

An ML engineer is using AWS Glue to transform proprietary data from a third-party vendor to a format that the ML engineer intends to use with the Amazon SageMaker DeepAR forecasting algorithm. The data includes several similar time series data files that the ML engineer must convert to the appropriate format. The ML engineer must compress the files to optimize storage costs. Which solution will meet these requirements?

  • AUse Snappy to convert the files to RecordIO-Protobuf and to compress the files.
  • BUse XZ to convert the files to RecordIO-Protobuf and to compress the files.
  • CUse XZ to convert the files to Apache Parquet format and to compress the files.
  • DUse gzip to convert the files to Apache Parquet and to compress the files. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use gzip to convert the files to Apache Parquet and to compress the files.

Topic 1 Β· Question 147

A company has significantly increased the amount of data that is stored as .csv files in an Amazon S3 bucket. Data transformation scripts and queries are now taking much longer than they used to take. An ML engineer must implement a solution to optimize the data for query performance. Which solution will meet this requirement with the LEAST operational overhead?

  • AConfigure an AWS Lambda function to split the .csv files into smaller objects in the S3 bucket.
  • BConfigure an AWS Glue job to drop columns that have string type values and to save the results to the S3 bucket.
  • CConfigure an AWS Glue extract, transform, and load (ETL) job to convert the .csv files to Apache Parquet format. (correct answer)
  • DConfigure an Amazon EMR cluster to process the data that is in the S3 bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure an AWS Glue extract, transform, and load (ETL) job to convert the.csv files to Apache Parquet format.

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 148

An ML engineer is analyzing a classification dataset before training a model in Amazon SageMarker AI. The ML engineer suspects that the dataset has a significant imbalance between class labels that could lead to biased model predictions. To confirm class imbalance, the ML engineer needs to select an appropriate pre-training bias metric. Which metric will meet this requirement?

  • AMean square error (MSE)
  • BDifference in proportions of labels (DPL) (correct answer)
  • CSilhouette score
  • DStructural similarity index measure (SSIM)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Difference in proportions of labels (DPL).

Topic 1 Β· Question 149

An ML engineer uses one ML framework to train multiple ML models. The ML engineer needs to optimize the inference costs and host the models on Amazon SageMaker AI. Which solution will meet these requirements MOST cost-effectively?

  • ACreate a multi-container inference endpoint for direct invocation.
  • BCreate a multi-model inference endpoint for all the models. (correct answer)
  • CCreate a multi-container inference endpoint for sequential invocation.
  • DCreate multiple single-model inference endpoint for each model.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a multi-model inference endpoint for all the models. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 150

A company is using an ML model to classify motion in videos. The data is stored in MP4 format in Amazon S3. When the company created the model, the company needed 4 months to label all the video frames. The company needs to retrain the model with an existing training workflow in Amazon SageMaker AI. An ML engineer must implement a solution that decreases the labeling time. Which solution will meet these requirements?

  • AUse SageMaker Ground Truth to annotate the video frames. (correct answer)
  • BUse SageMaker JumpStart to use pre-trained computer vision models to develop a labeling model.
  • CUse SageMaker Data Wrangler to create a data workflow. Use the workflow to optimize the labeling process.
  • DUse the labeling interface of Amazon Augmented AI (Amazon A2I) with Amazon Rekognition to label the video frames.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use SageMaker Ground Truth to annotate the video frames.

Explanation

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

Topic 1 Β· Question 151

An ecommerce company trains an ML model to forecast demand for near real-time inventory management based on historical customer activity. The company successfully deploys the trained model to a production Amazon SageMaker AI endpoint. However, the company notices that the model’s forecast performance degrades over time. The company needs a long-term and automated solution to mitigate the performance degradation. Which solution will meet these requirements?

  • AUse Amazon SageMaker Debugger to automatically send alerts when model performance anomalies are detected.
  • BUse AWS X-Ray to monitor the performance of the SageMaker AI endpoint and the incoming requests to inform model re-training.
  • CUse Amazon SageMaker Ground Truth to curate a high-quality dataset. Use the dataset to re-train the model.
  • DUse Amazon SageMaker Clarify to monitor model and feature attribution bias to inform model re-training. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Amazon SageMaker Clarify to monitor model and feature attribution bias to inform model re-training.

Explanation

Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 152

A logistics company has installed in-vehicle cameras for basic monitoring of its drivers. The company wants to improve driver safety by identifying distractions that could lead to accidents. Which solution will meet this requirement with the LEAST operational effort?

  • AUse Amazon Rekognition eye gaze direction detection to monitor driver behavior and identify distractions. (correct answer)
  • BUse Amazon SageMaker AI to customize an AI model to monitor driver behavior and identify distractions.
  • CIntegrate a third-party driver monitoring system with Amazon Rekognition to monitor driver behavior and identify distractions
  • DUse Amazon Comprehend to analyze text-based driver feedback and identify distractions.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Amazon Rekognition eye gaze direction detection to monitor driver behavior and identify distractions.

Explanation

Amazon Rekognition adds image and video analysis with pre-trained models.

Topic 1 Β· Question 153

A company has trained an ML model that is packaged in a container. The company will integrate the model with an existing Python web application. The company needs to host the model on AWS by using Kubernetes. The company does not want to manage the control plane and must provision the resources in a repeatable manner. The infrastructure must be provisioned by using Python. Which solution will meet these requirements?

  • AUse AWS CloudFormation to provision Amazon EC2 instances in multiple Availability Zones. Set up a Kubernetes cluster. Host the model container on the Kubernetes cluster.
  • BUse the AWS CLI to provision an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Store the image in an Amazon Elastic Container Registry (Amazon ECR) repository. Host the model container on the EKS cluster.
  • CUse the AWS Cloud Development Kit (AWS CDK) to provision an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Store the image in an Amazon Elastic Container Registry (Amazon ECR) repository. Host the model container on the EKS cluster. (correct answer)
  • DUse AWS CloudFormation to provision an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Store the image in an Amazon Elastic Container Registry (Amazon ECR) repository. Host the model container on the EKS cluster.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the AWS Cloud Development Kit (AWS CDK) to provision an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Store the image in an Amazon Elastic Container Registry (Amazon ECR) repository. Host the model conta...

Explanation

Amazon EKS runs managed Kubernetes when you need the Kubernetes ecosystem. The AWS CDK defines cloud infrastructure as code using familiar programming languages.

Topic 1 Β· Question 154

An ML engineer is developing a linear regression ML model. The model shows high accuracy on the training dataset but performs poorly on unseen new data. Which action should the ML engineer take to address this issue?

  • AIncrease the complexity of the model to capture more patterns in the training data. Use Amazon SageMaker Debugger to monitor for convergence issues.
  • BApply ML techniques such as cross-validation and regularization. Use Amazon SageMaker Experiments to track and compare different model versions and their performance metrics. (correct answer)
  • CDirectly deploy the model into production. Use Amazon SageMaker Clarify to interpret model outputs on new data. Adjust the model based on these insights.
  • DIncrease the size of the training dataset without adjusting the size of the model. Retrain the model on the new data. Generate a confusion matrix to analyze the results.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Apply ML techniques such as cross-validation and regularization. Use Amazon SageMaker Experiments to track and compare different model versions and their performance metrics.

Explanation

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

Topic 1 Β· Question 155

A company is training a new ML model to replace a model that is deployed on an Amazon SageMaker AI real-time endpoint. An ML engineer needs to determine the latency and the accuracy of the new model. The ML engineer must evaluate the new model in a production scenario without affecting the users of the existing model. Which solution will meet these requirements?

  • APerform a blue/green deployment with linear traffic shifting.
  • BPerform a blue/green deployment with canary traffic shifting.
  • CPerform a rolling deployment with a rolling batch size of 50% of the current fleet.
  • DPerform shadow testing with a traffic sampling percentage of 100%. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Perform shadow testing with a traffic sampling percentage of 100%. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 156

An ML engineer wants to use, prepare, and load data from Amazon S3 for analytics. The ML engineer must run an extract, transform, and load (ETL) job to discover the schema of the data and to store the metadata. Which solution will meet these requirements with the LEAST manual effort?

  • AUse AWS Glue to run the ETL job. Use the job to discover the schema and to store the associated metadata in the AWS Glue Data Catalog. (correct answer)
  • BCreate an Amazon SageMaker Data Wrangler flow to run the ETL job. Use the job to discover the schema and to store the associated metadata in an S3 bucket.
  • CCreate an ETL pipeline by using Amazon Athena integrated with AWs Step Functions. Use the pipeline to run the ETL job to discover the schema and to store the associated metadata in an S3 bucket.
  • DLaunch an Amazon EC2 instance that includes the scikit-learn library to run the ETL job. Use the job to discover the schema and to store the associated metadata in Amazon Redshift.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use AWS Glue to run the ETL job. Use the job to discover the schema and to store the associated metadata in the AWS Glue Data Catalog.

Explanation

AWS Glue is a serverless ETL and data-catalog service that prepares and integrates data.

Topic 1 Β· Question 157

An ML engineer is building an ML pipeline. The pipeline must process a dataset in two ways by using Amazon Athena. The pipeline must use batch processing to perform large-scale data transformations and for model training. The pipeline must also use near real-time processing to perform low-latency queries for inference and analytics. Which file format will provide the LEAST latency for both types of processing?

  • ACSV
  • BApache Parquet (correct answer)
  • CNested JSON
  • DDeserialized JSON
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Apache Parquet This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 158

A company uses an Amazon SageMaker AI ML model to make real-time inferences. The company has configured auto scaling for the Amazon EC2 instances that SageMaker AI uses for the inferences. During times of peak usage, new instances launch before existing instances are fully ready. As a result, the model experiences inefficiencies and delays. Which solution will optimize the scaling process without affecting response times?

  • AChange to a multi-model endpoint configuration in SageMaker AI.
  • BIntegrate Amazon API Gateway and AWS Lambda to manage invocations of the SageMaker AI inference endpoint.
  • CDecrease the cooldown period for scale-in activities. Increase the maximum number of instances.
  • DIncrease the cooldown period after scale-out activities. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Increase the cooldown period after scale-out activities. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 159

A company deployed an Amazon SageMaker AI ML model to an endpoint by calling the CreateModel API operation. The network that was established with the API call includes two private subnets and one security group. The model must download data from an Amazon S3 bucket and must upload data to the S3 bucket. The traffic to the S3 bucket must not travel across the internet. Which solution will meet these requirements?

  • ACreate a NAT gateway. Configure the security group to allow outbound connections. Configure route tables to redirect any traffic to the S3 bucket through the NAT gateway.
  • BCreate a gateway VPC endpoint. Configure an endpoint policy that restricts access to the S3 bucket. Configure route tables to redirect any traffic to the S3 bucket through the endpoint. (correct answer)
  • CCreate an interface VPC endpoint. Verify that the security group allows only inbound connections. Configure route tables to redirect any traffic to the S3 bucket through the endpoint.
  • DCreate a Gateway Load Balancer VPC endpoint. Configure an IAM policy that restricts access to the S3 bucket. Configure route tables to redirect any traffic to the S3 bucket through the endpoint.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a gateway VPC endpoint. Configure an endpoint policy that restricts access to the S3 bucket. Configure route tables to redirect any traffic to the S3 bucket through the endpoint.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. A gateway VPC endpoint gives private, no-cost access to Amazon S3 and DynamoDB from within the VPC. A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 Β· Question 160

A company is developing a new ML model to rank customers in order of their potential to pay back loans. The company needs to use an Amazon SageMaker AI built-in algorithm. Which algorithm should the company use to meet these requirements?

  • AXGBoost (correct answer)
  • BK-means clustering
  • CPrincipal component analysis (PCA)
  • DNeural Topic Model (NTM)
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: XGBoost.

Topic 1 Β· Question 161

An ML engineer is setting up an Amazon SageMaker AI pipeline for an ML model. The pipeline must automatically initiate a re-training job if any data drift is detected. How should the ML engineer set up the pipeline to meet this requirement?

  • AUse an AWS Glue crawler and an AWS Glue extract, transform and load (ETL) job to detect data drift. Use AWS Glue triggers to automate the re-training job.
  • BUse Amazon Managed Service for Apache Flink to detect data drift. Use an AWS Lambda function to automate the re-training job.
  • CUse SageMaker Model Monitor to detect data drift. Use an AWS Lambda function to automate the re-training job. (correct answer)
  • DUse Amazon QuickSight anomaly detection to detect data drift. Use an AWS Step Functions workflow to automate the re-training job.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use SageMaker Model Monitor to detect data drift. Use an AWS Lambda function to automate the re-training job.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Showing questions 141–160 of 226 Β· Page 8 of 12