πŸ”

MLA-C01 β€” questions

Page 10 of 12 Β· 226 total questions.

Topic 1 Β· Question 182

A recommendation model uses ML and calls an Amazon SageMaker AI endpoint to get recommendations. An ML engineer must ensure that the model stays available during an expected increase in user traffic. Which solution will meet these requirements?

  • AConfigure auto scaling on the SageMaker AI endpoint. (correct answer)
  • BCreate a new SageMaker AI endpoint. Deploy the model to the new endpoint.
  • CUse SageMaker Neo to optimize the model for inference.
  • DAttach an Auto Scaling group to the SageMaker AI endpoint.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure auto scaling on the SageMaker AI endpoint.

Explanation

Auto Scaling adjusts capacity automatically to match demand, improving availability and cost efficiency. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 184

An ML engineer has trained an ML model by using Amazon SageMaker AI. The ML engineer determines that the model is overfitting and that the training data contains unnecessary features. The ML engineer must reduce the overfitting and the impact of the unnecessary features. Which solution will meet these requirements?

  • AIncrease the number of training iterations. Retrain the model.
  • BApply L1 regularization to the training data. Retrain the model. (correct answer)
  • CDecrease the number of training iterations. Retrain the model.
  • DUse SageMaker Debugger to apply L1 regularization to the running model.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Apply L1 regularization to the training data. Retrain the model.

Topic 1 Β· Question 185

An ML engineer wants to use Amazon SageMaker Data Wrangler to perform preprocessing on a dataset. The ML engineer wants to use the processed dataset to train a classification model. During preprocessing, the ML engineer notices that a text feature has a range of thousands of values that differ only by spelling errors. The ML engineer needs to apply an encoding method so that after preprocessing is complete, the text feature can be used to train the model. Which solution will meet these requirements?

  • APerform ordinal encoding to represent categories of the feature.
  • BPerform similarity encoding to represent categories of the feature. (correct answer)
  • CPerform one-hot encoding to represent categories of the feature.
  • DPerform target encoding to represent categories of the feature.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Perform similarity encoding to represent categories of the feature.

Topic 1 Β· Question 186

An ML engineer is training a text generation model on Amazon SageMaker AI. After several epochs, the loss function does not converge, and the model’s accuracy on the validation dataset starts to show oscillating results. The ML engineer needs to ensure that the model achieves generalization. Which solution will meet this requirement?

  • AIncrease the learning rate and decrease the mini-batch size.
  • BIncrease the learning rate as the number of epochs increases.
  • CDecrease the learning rate and increase the mini-batch size. (correct answer)
  • DDecrease the learning rate and decrease the mini-batch size.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Decrease the learning rate and increase the mini-batch size.

Explanation

AWS Batch schedules and runs batch computing jobs at any scale without managing clusters.

Topic 1 Β· Question 187

A company uses an NFS-based data store to store data for ML training. Linux-based systems access the data store. The company needs a hybrid system to make the shared data store accessible to on-premises servers and Amazon SageMaker AI notebooks that will consume the data. File locking is required for the data producers. Which AWS storage solution will meet these requirements?

  • AUse an Amazon S3 bucket to store the data. Use Mountpoint for Amazon S3 to mount the S3 bucket to the on-premises servers and the SageMaker AI notebooks.
  • BUse an Amazon Elastic File System (Amazon EFS) file system to store the data. Mount the file system to the on-premises servers and the SageMaker AI notebooks. (correct answer)
  • CUse an Amazon FSx for Lustre file system to store the data. Mount the file system to the on-premises servers and the SageMaker AI notebooks.
  • DUse an Amazon Elastic Block Store (Amazon EBS) volume to store the data. Mount the volume to the on-premises servers and the SageMaker AI notebooks.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use an Amazon Elastic File System (Amazon EFS) file system to store the data. Mount the file system to the on-premises servers and the SageMaker AI notebooks.

Explanation

Amazon EFS is a shared, elastic NFS file system that multiple instances can mount concurrently across AZs. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service.

Topic 1 Β· Question 188

A company needs to analyze a large dataset that is stored in Amazon S3 in Apache Parquet format. The company wants to use one-hot encoding for some of the columns. The company needs a no-code solution to transform the data. The solution must store the transformed data back to the same S3 bucket for model training. Which solution will meet these requirements?

  • AConfigure an AWS Glue DataBrew project that connects to the data. Use the DataBrew interactive interface to create a recipe that performs the one-hot encoding transformation. Create a job to apply the transformation and to write the output back to an S3 bucket. (correct answer)
  • BConfigure an AWS Glue Data Catalog table that points to the data. Use Amazon Athena to write SQL commands to perform the one-hot encoding transformation. Configure Athena to write the query results back to an S3 bucket.
  • CConfigure an AWS Glue Data Catalog table that points to the data. Create an AWS Glue ETL interactive notebook. Use the notebook to perform the one-hot encoding transformation. Run the configured cells and write the results back to an S3 bucket.
  • DConfigure an Amazon Redshift cluster to access the data by using Redshift Spectrum. Use SQL commands to perform the one-hot encoding transformation within Amazon Redshift. Configure Amazon Redshift to write the results back to an S3 bucket.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure an AWS Glue DataBrew project that connects to the data. Use the DataBrew interactive interface to create a recipe that performs the one-hot encoding transformation. Create a job to apply the transformation a...

Explanation

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

A company wants to migrate ML models from an on-premises environment to Amazon SageMaker AI. The models are based on the PyTorch algorithm. The company needs to reuse its existing custom scripts as much as possible on AWS. Which feature of SageMaker AI should the company use to meet these requirements?

  • ASageMaker AI built-in algorithms
  • BSageMaker Canvas
  • CSageMaker JumpStart
  • DSageMaker AI script mode (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: SageMaker AI script mode

Explanation

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

Topic 1 Β· Question 190

A company uses an Amazon QuickSight dashboard to track the sale prices of sneakers over time. The dashboard aggregates sale prices scraped from many retail websites. The company wants to determine which prices are unusually high outliers and to display the outliers visually. Which solution will meet these requirements?

  • AUse a vertical bar chart to visualize the outliers. Use a calculated field in QuickSight to take the square roots of the outlier prices to generate the chart. Configure a custom AWS Lambda function to scan the data for anomalies.
  • BUse AWS Glue DataBrew to preprocess the data. Set the REMOVE_OUTLIERS operation to eliminate data rows that include unusually high prices. Invoke an AWS Lambda function to store the removed rows in Amazon DynamoDB.
  • CUse a vertical bar chart to visualize the outliers. Use a calculated field in QuickSight to square the outlier prices to generate the chart. Use QuickSight anomaly detection insights to determine which prices are unusually high. (correct answer)
  • DUse a QuickSight filter to find the lowest 10 values for sneaker price. Assign a specific color to the 10 lowest values.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use a vertical bar chart to visualize the outliers. Use a calculated field in QuickSight to square the outlier prices to generate the chart. Use QuickSight anomaly detection insights to determine which prices are unus...

Explanation

Amazon QuickSight is a serverless business-intelligence and dashboard service.

Topic 1 Β· Question 191

An ML engineer is using Amazon QuickSight anomaly detection to detect very high or very low machine operating temperatures compared to normal. The ML engineer sets the Severity parameter to Low and above. The ML engineer sets the Direction parameter to All. What effect will the ML engineer observe in the anomaly detection results if the ML engineer changes the Direction parameter to Lower than expected?

  • AIncreased anomaly identification frequency and increased recall
  • BDecreased anomaly identification frequency and decreased recall (correct answer)
  • CIncreased anomaly identification frequency and decreased recall
  • DDecreased anomaly identification frequency and increased recall
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Decreased anomaly identification frequency and decreased recall.

Topic 1 Β· Question 192

A company runs its ML workflows on an on-premises Kubernetes cluster. The ML workflows include ML services that perform training and inferences for ML models. Each ML service runs from its own standalone Docker image. The company needs to perform a lift and shift from the on-premises Kubernetes cluster to an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. Which solution will meet this requirement with the LEAST operational overhead?

  • ARedesign the ML services to be configured in Kubeflow. Deploy the new Kubeflow managed ML services to the EKS cluster.
  • BUpload the Docker images to an Amazon Elastic Container Registry (Amazon ECR) repository. Configure a deployment pipeline to deploy the images to the EKS cluster. (correct answer)
  • CMigrate the training data to an Amazon Redshift cluster. Retrain the models from the migrated training data by using Amazon Redshift ML. Deploy the retrained models to the EKS cluster.
  • DConfigure an Amazon SageMaker AI notebook. Retrain the models with the same code. Deploy the retrained models to the EKS cluster.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Upload the Docker images to an Amazon Elastic Container Registry (Amazon ECR) repository. Configure a deployment pipeline to deploy the images to the EKS cluster.

Explanation

Amazon EKS runs managed Kubernetes when you need the Kubernetes ecosystem. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 195

A retail company is creating an AI-powered assistant for customers. The company has a large body of documentation that the assistant needs to use for general inquiries. The company wants any responses about prices to use only documentation that is less than 1 month old. Which solution will meet these requirements?

  • AUse Amazon Q Business to develop the responses. Configure a document attribute filter so that responses about prices use only the documents from the past month. (correct answer)
  • BUse Amazon Q Business to develop the responses. Configure the source attribution citation so that responses about prices use only the documents from the past month.
  • CSegment the documents into folders based on the month of document creation. Configure Amazon Q Developer to use only the documents from the past month to develop responses about prices.
  • DSegment the documents into folders based on the month of document creation. Grant the assistant access to only the documents from the past month for responses about prices. Use Amazon Q Developer to develop the responses.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Amazon Q Business to develop the responses. Configure a document attribute filter so that responses about prices use only the documents from the past month.

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 199

A travel company wants to create an ML model to recommend the next airport destination for its users. The company has collected millions of data records about user location, recent search history on the company’s website, and 2,000 available airports. The data has several categorical features with a target column that is expected to have a high-dimensional sparse matrix. The company needs to use Amazon SageMaker AI built-in algorithms for the model. An ML engineer converts the categorical features by using one-hot encoding. Which algorithm should the ML engineer implement to meet these requirements?

  • AUse the CatBoost algorithm to recommend the next airport destination.
  • BUse the DeepAR forecasting algorithm to recommend the next airport destination.
  • CUse the Factorization Machines algorithm to recommend the next airport destination. (correct answer)
  • DUse the k-means algorithm to cluster users into groups. Map each group to the next airport destination based on user search history.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the Factorization Machines algorithm to recommend the next airport destination.

Topic 1 Β· Question 200

An ML engineer is configuring auto scaling for an inference component of a model that runs behind an Amazon SageMaker AI endpoint. The ML engineer configures SageMaker AI auto scaling with a target tracking scaling policy set to 100 invocations per model per minute. The SageMaker AI endpoint scales appropriately during normal business hours. However, the ML engineer notices that at the start of each business day, there are zero instances available to handle requests, which causes delays in processing. The ML engineer must ensure that the SageMaker AI endpoint can handle incoming requests at the start of each business day. Which solution will meet this requirement?

  • AReduce the SageMaker AI auto scaling cooldown period to the minimum supported value. Add an auto scaling lifecycle hook to scale the SageMaker AI instances.
  • BChange the target metric to CPU utilization.
  • CModify the scaling policy target value to one.
  • DApply a step scaling policy that scales based on an Amazon CloudWatch alarm. Apply a second CloudWatch alarm and scaling policy to scale the minimum number of instances from zero to one at the start of each business day. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Apply a step scaling policy that scales based on an Amazon CloudWatch alarm. Apply a second CloudWatch alarm and scaling policy to scale the minimum number of instances from zero to one at the start of each business day.

Explanation

Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health.

Topic 1 Β· Question 201

An ML engineer is using an Amazon SageMaker Studio notebook to train a neural network by creating an estimator. The estimator runs a Python training script that uses Distributed Data Parallel (DDP) on a single instance that has more than one GPU. The ML engineer discovers that the training script is underutilizing GPU resources. The ML engineer must identify the point in the training script where resource utilization can be optimized. Which solution will meet this requirement?

  • AUse Amazon CloudWatch metrics to create a report that describes GPU utilization over time.
  • BAdd SageMaker Profiler annotations to the training script. Run the script and generate a report from the results. (correct answer)
  • CUse AWS CloudTrail to create a report that describes GPU utilization and GPU memory utilization over time.
  • DCreate a default monitor in Amazon SageMaker Model Monitor and suggest a baseline. Generate a report based on the constraints and statistics the monitor generates.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add SageMaker Profiler annotations to the training script. Run the script and generate a report from the results.

Explanation

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

Topic 1 Β· Question 202

An ML engineer at an insurance company trains a regression model to predict the number of insurance policy sales each month. After training the model, the ML engineer uses Amazon SageMaker AI to deploy the model for inference. The ML engineer wants to monitor the model predictions to detect whether the production data distribution differs from the training data distribution when there are changes in customer behaviors. Which solution will meet these requirements?

  • ADetermine whether there is drift in the data quality. (correct answer)
  • BDetermine whether there is drift in the model quality.
  • CDetermine whether there is drift in the model bias.
  • DDetermine whether there is drift in the feature attribution.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Determine whether there is drift in the data quality.

Topic 1 Β· Question 203

A company is developing an internal cost-estimation tool that uses an ML model in Amazon SageMaker AI. Users upload high-resolution images to the tool. The model must process each image and predict the cost of the object in the image. The model also must notify the user when processing is complete. Which solution will meet these requirements?

  • AStore the images in an Amazon S3 bucket. Deploy the model on SageMaker AI. Use batch transform jobs for model inference. Use an Amazon Simple Queue Service (Amazon SQS) queue to notify users.
  • BStore the images in an Amazon S3 bucket. Deploy the model on SageMaker AI. Use an asynchronous inference strategy for model inference. Use an Amazon Simple Notification Service (Amazon SNS) topic to notify users. (correct answer)
  • CStore the images in an Amazon Elastic File System (Amazon EFS) file system. Deploy the model on SageMaker AI. Use batch transform jobs for model inference. Use an Amazon Simple Queue Service (Amazon SQS) queue to notify users.
  • DStore the images in an Amazon Elastic File System (Amazon EFS) file system. Deploy the model on SageMaker AI. Use an asynchronous inference strategy for model inference. Use an Amazon Simple Notification Service (Amazon SNS) topic to notify users.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Store the images in an Amazon S3 bucket. Deploy the model on SageMaker AI. Use an asynchronous inference strategy for model inference. Use an Amazon Simple Notification Service (Amazon SNS) topic to notify users.

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.

Topic 1 Β· Question 204

A healthcare company uses an Amazon SageMaker AI endpoint to host a model that predicts patient readmission risk to hospitals. The company wants to predict patient readmissions with high accuracy and is willing to tolerate false positives. The current model performance has degraded over the previous year. The company trains and deploys a new model as a shadow variant for testing on live traffic from hospitals. The company monitors the performance of the new model for a month. During the month of testing, the shadow variant has a higher recall than the existing model but has a lower precision. What should the company do next?

  • APromote the shadow variant to full production. (correct answer)
  • BExtend the shadow testing period to capture more data. Monitor the new model to determine whether precision improves.
  • CUse a blue/green deployment strategy to allocate a small percentage of traffic to the shadow variant to reduce model errors.
  • DDisable the shadow variant and roll back to the main variant.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Promote the shadow variant to full production.

Topic 1 Β· Question 207

An airline company uses an ML model to adjust ticket prices based on demand. The model runs on Amazon SageMaker real-time endpoints. During previous deployments, the model failed to scale quickly enough when website traffic increased, which caused delays in price adjustments. An ML engineer needs to configure auto scaling for the SageMaker endpoints to respond rapidly to traffic changes. The solution must use target tracking scaling policies. Which configuration will be MOST responsive to sudden changes in traffic?

  • AConfigure auto scaling based on the SageMaker AI InvocationsPerInstance standard metric. Configure 10-second interval resolution, and set the default 300-second scale-in cooldown period.
  • BConfigure auto scaling based on the SageMaker AI InvocationsPerInstance metric. Configure high-resolution 10-second intervals, and set a 600-second scale-in cooldown period.
  • CConfigure auto scaling based on the SageMaker InvocationsPerInstance standard metric. Configure 10-second intervals resolution, and set a 600-second scale-in cooldown period.
  • DConfigure auto scaling based on the SageMaker InvocationsPerInstance metric. Configure high-resolution 10-second intervals, and set the default 300-second scale-in cooldown period. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure auto scaling based on the SageMaker InvocationsPerInstance metric. Configure high-resolution 10-second intervals, and set the default 300-second scale-in cooldown period.

Explanation

Auto Scaling adjusts capacity automatically to match demand, improving availability and cost efficiency. Amazon SageMaker builds, trains and deploys machine learning models in a fully managed service. AWS Config tracks resource configuration changes and evaluates compliance. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 208

An ML engineer is collecting data to train a classification ML model by using Amazon SageMaker AI. The target column can have two possible values: Class A or Class B. The ML engineer wants to ensure that the number of samples for both Class A and Class B are balanced, without losing any existing training data. The ML engineer must test the balance of the training data. Which solution will meet this requirement?

  • AUse SageMaker Clarify to check for class imbalance (CI). If the value is equal to 0, then use random undersampling in SageMaker Data Wrangler to balance the classes.
  • BUse SageMaker Clarify to check for class imbalance (CI). If the value is greater than 0, then use synthetic minority oversampling technique (SMOTE) in SageMaker Data Wrangler to balance the classes. (correct answer)
  • CUse SageMaker JumpStart to generate a class imbalance (CI) report. If the value is greater than 0, then use random undersampling in SageMaker Studio to balance the classes.
  • DUse SageMaker JumpStart to generate a class imbalance (CI) report. If the value is equal to 0, then use synthetic minority oversampling technique (SMOTE) in SageMaker Studio to balance the classes.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use SageMaker Clarify to check for class imbalance (CI). If the value is greater than 0, then use synthetic minority oversampling technique (SMOTE) in SageMaker Data Wrangler to balance the classes.

Explanation

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

Topic 1 Β· Question 209

An ML engineer is building a logistic regression model to predict customer churn for subscription services. The ML engineer is using a dataset that contains two string variables: location and job_seniority_level. The location variable has 3 distinct values, and the job_seniority_level variable has over 10 distinct values. The ML engineer must perform preprocessing on the variables. Which solution will meet this requirement?

  • AApply tokenization to location. Apply ordinal encoding to job_seniority_level.
  • BApply one-hot encoding to location. Apply ordinal encoding to job_seniority_level (correct answer)
  • CApply binning to location. Apply standard scaling to job_seniority_level.
  • DApply one-hot encoding to location. Apply standard scaling to job_seniority_level.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Apply one-hot encoding to location. Apply ordinal encoding to job_seniority_level.

Showing questions 181–200 of 226 Β· Page 10 of 12