πŸ”

MLA-C01 β€” all questions

226 practice questions with answers and explanations.

Topic 1 Β· Question 1

Case Study - A company is building a web-based AI application by using Amazon SageMaker. The application will provide the following capabilities and features: ML experimentation, training, a central model registry, model deployment, and model monitoring. The application must ensure secure and isolated use of training data during the ML lifecycle. The training data is stored in Amazon S3. The company needs to use the central model registry to manage different versions of models in the application. Which action will meet this requirement with the LEAST operational overhead?

  • ACreate a separate Amazon Elastic Container Registry (Amazon ECR) repository for each model.
  • BUse Amazon Elastic Container Registry (Amazon ECR) and unique tags for each model version.
  • CUse the SageMaker Model Registry and model groups to catalog the models. (correct answer)
  • DUse the SageMaker Model Registry and unique tags for each model version.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the SageMaker Model Registry and model groups to catalog the models.

Explanation

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

Topic 1 Β· Question 2

Case Study - A company is building a web-based AI application by using Amazon SageMaker. The application will provide the following capabilities and features: ML experimentation, training, a central model registry, model deployment, and model monitoring. The application must ensure secure and isolated use of training data during the ML lifecycle. The training data is stored in Amazon S3. The company is experimenting with consecutive training jobs. How can the company MINIMIZE infrastructure startup times for these jobs?

  • AUse Managed Spot Training.
  • BUse SageMaker managed warm pools. (correct answer)
  • CUse SageMaker Training Compiler.
  • DUse the SageMaker distributed data parallelism (SMDDP) library.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use SageMaker managed warm pools.

Explanation

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

Topic 1 Β· Question 3

Case Study - A company is building a web-based AI application by using Amazon SageMaker. The application will provide the following capabilities and features: ML experimentation, training, a central model registry, model deployment, and model monitoring. The application must ensure secure and isolated use of training data during the ML lifecycle. The training data is stored in Amazon S3. The company must implement a manual approval-based workflow to ensure that only approved models can be deployed to production endpoints. Which solution will meet this requirement?

  • AUse SageMaker Experiments to facilitate the approval process during model registration.
  • BUse SageMaker ML Lineage Tracking on the central model registry. Create tracking entities for the approval process.
  • CUse SageMaker Model Monitor to evaluate the performance of the model and to manage the approval.
  • DUse SageMaker Pipelines. When a model version is registered, use the AWS SDK to change the approval status to "Approved." (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use SageMaker Pipelines. When a model version is registered, use the AWS SDK to change the approval status to "Approved."

Explanation

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

Topic 1 Β· Question 4

Case Study - A company is building a web-based AI application by using Amazon SageMaker. The application will provide the following capabilities and features: ML experimentation, training, a central model registry, model deployment, and model monitoring. The application must ensure secure and isolated use of training data during the ML lifecycle. The training data is stored in Amazon S3. The company needs to run an on-demand workflow to monitor bias drift for models that are deployed to real-time endpoints from the application. Which action will meet this requirement?

  • AConfigure the application to invoke an AWS Lambda function that runs a SageMaker Clarify job. (correct answer)
  • BInvoke an AWS Lambda function to pull the sagemaker-model-monitor-analyzer built-in SageMaker image.
  • CUse AWS Glue Data Quality to monitor bias.
  • DUse SageMaker notebooks to compare the bias.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure the application to invoke an AWS Lambda function that runs a SageMaker Clarify 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. AWS Config tracks resource configuration changes and evaluates compliance. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 5

HOTSPOT - A company stores historical data in .csv files in Amazon S3. Only some of the rows and columns in the .csv files are populated. The columns are not labeled. An ML engineer needs to prepare and store the data so that the company can use the data to train ML models. Select and order the correct steps from the following list to perform this task. Each step should be selected one time or not at all. (Select and order three.) β€’ Create an Amazon SageMaker batch transform job for data cleaning and feature engineering. β€’ Store the resulting data back in Amazon S3. β€’ Use Amazon Athena to infer the schemas and available columns. β€’ Use AWS Glue crawlers to infer the schemas and available columns. β€’ Use AWS Glue DataBrew for data cleaning and feature engineering.

Exhibit 1 for question 5Exhibit 2 for question 5
    Reveal answer & explanation
    Correct answer: A

    Refer to the exhibit image(s). The correct answer is A.

    Topic 1 Β· Question 6

    HOTSPOT - An ML engineer needs to use Amazon SageMaker Feature Store to create and manage features to train a model. Select and order the steps from the following list to create and use the features in Feature Store. Each step should be selected one time. (Select and order three.) β€’ Access the store to build datasets for training. β€’ Create a feature group. β€’ Ingest the records.

    Exhibit 1 for question 6Exhibit 2 for question 6
      Reveal answer & explanation
      Correct answer: A

      Refer to the exhibit image(s). The correct answer is A.

      Topic 1 Β· Question 7

      HOTSPOT - A company wants to host an ML model on Amazon SageMaker. An ML engineer is configuring a continuous integration and continuous delivery (Cl/CD) pipeline in AWS CodePipeline to deploy the model. The pipeline must run automatically when new training data for the model is uploaded to an Amazon S3 bucket. Select and order the pipeline's correct steps from the following list. Each step should be selected one time or not at all. (Select and order three.) β€’ An S3 event notification invokes the pipeline when new data is uploaded. β€’ S3 Lifecycle rule invokes the pipeline when new data is uploaded. β€’ SageMaker retrains the model by using the data in the S3 bucket. β€’ The pipeline deploys the model to a SageMaker endpoint. β€’ The pipeline deploys the model to SageMaker Model Registry.

      Exhibit 1 for question 7Exhibit 2 for question 7
        Reveal answer & explanation
        Correct answer: A

        Refer to the exhibit image(s). The correct answer is A.

        Topic 1 Β· Question 8

        HOTSPOT - An ML engineer is building a generative AI application on Amazon Bedrock by using large language models (LLMs). Select the correct generative AI term from the following list for each description. Each term should be selected one time or not at all. (Select three.) β€’ Embedding β€’ Retrieval Augmented Generation (RAG) β€’ Temperature β€’ Token

        Exhibit 1 for question 8Exhibit 2 for question 8
          Reveal answer & explanation
          Correct answer: A

          Refer to the exhibit image(s). The correct answer is A.

          Topic 1 Β· Question 9

          HOTSPOT - An ML engineer is working on an ML model to predict the prices of similarly sized homes. The model will base predictions on several features The ML engineer will use the following feature engineering techniques to estimate the prices of the homes: β€’ Feature splitting β€’ Logarithmic transformation β€’ One-hot encoding β€’ Standardized distribution Select the correct feature engineering techniques for the following list of features. Each feature engineering technique should be selected one time or not at all (Select three.)

          Exhibit 1 for question 9Exhibit 2 for question 9
            Reveal answer & explanation
            Correct answer: A

            Refer to the exhibit image(s). The correct answer is A.

            Topic 1 Β· Question 10

            Case study - An ML engineer is developing a fraud detection model on AWS. The training dataset includes transaction logs, customer profiles, and tables from an on-premises MySQL database. The transaction logs and customer profiles are stored in Amazon S3. The dataset has a class imbalance that affects the learning of the model's algorithm. Additionally, many of the features have interdependencies. The algorithm is not capturing all the desired underlying patterns in the data. Which AWS service or feature can aggregate the data from the various data sources?

            • AAmazon EMR Spark jobs
            • BAmazon Kinesis Data Streams
            • CAmazon DynamoDB
            • DAWS Lake Formation (correct answer)
            Reveal answer & explanation
            Correct answer: D

            The correct answer is D. Option D: AWS Lake Formation

            Explanation

            AWS Lake Formation builds and secures data lakes quickly.

            Topic 1 Β· Question 11

            Case study - An ML engineer is developing a fraud detection model on AWS. The training dataset includes transaction logs, customer profiles, and tables from an on-premises MySQL database. The transaction logs and customer profiles are stored in Amazon S3. The dataset has a class imbalance that affects the learning of the model's algorithm. Additionally, many of the features have interdependencies. The algorithm is not capturing all the desired underlying patterns in the data. After the data is aggregated, the ML engineer must implement a solution to automatically detect anomalies in the data and to visualize the result. Which solution will meet these requirements?

            • AUse Amazon Athena to automatically detect the anomalies and to visualize the result.
            • BUse Amazon Redshift Spectrum to automatically detect the anomalies. Use Amazon QuickSight to visualize the result.
            • CUse Amazon SageMaker Data Wrangler to automatically detect the anomalies and to visualize the result. (correct answer)
            • DUse AWS Batch to automatically detect the anomalies. Use Amazon QuickSight to visualize the result.
            Reveal answer & explanation
            Correct answer: C

            The correct answer is C. Option C: Use Amazon SageMaker Data Wrangler to automatically detect the anomalies and to visualize the result.

            Explanation

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

            Topic 1 Β· Question 12

            Case study - An ML engineer is developing a fraud detection model on AWS. The training dataset includes transaction logs, customer profiles, and tables from an on-premises MySQL database. The transaction logs and customer profiles are stored in Amazon S3. The dataset has a class imbalance that affects the learning of the model's algorithm. Additionally, many of the features have interdependencies. The algorithm is not capturing all the desired underlying patterns in the data. The training dataset includes categorical data and numerical data. The ML engineer must prepare the training dataset to maximize the accuracy of the model. Which action will meet this requirement with the LEAST operational overhead?

            • AUse AWS Glue to transform the categorical data into numerical data.
            • BUse AWS Glue to transform the numerical data into categorical data.
            • CUse Amazon SageMaker Data Wrangler to transform the categorical data into numerical data. (correct answer)
            • DUse Amazon SageMaker Data Wrangler to transform the numerical data into categorical data.
            Reveal answer & explanation
            Correct answer: C

            The correct answer is C. Option C: Use Amazon SageMaker Data Wrangler to transform the categorical data into numerical data.

            Explanation

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

            Topic 1 Β· Question 13

            Case study - An ML engineer is developing a fraud detection model on AWS. The training dataset includes transaction logs, customer profiles, and tables from an on-premises MySQL database. The transaction logs and customer profiles are stored in Amazon S3. The dataset has a class imbalance that affects the learning of the model's algorithm. Additionally, many of the features have interdependencies. The algorithm is not capturing all the desired underlying patterns in the data. Before the ML engineer trains the model, the ML engineer must resolve the issue of the imbalanced data. Which solution will meet this requirement with the LEAST operational effort?

            • AUse Amazon Athena to identify patterns that contribute to the imbalance. Adjust the dataset accordingly.
            • BUse Amazon SageMaker Studio Classic built-in algorithms to process the imbalanced dataset.
            • CUse AWS Glue DataBrew built-in features to oversample the minority class.
            • DUse the Amazon SageMaker Data Wrangler balance data operation to oversample the minority class. (correct answer)
            Reveal answer & explanation
            Correct answer: D

            The correct answer is D. Option D: Use the Amazon SageMaker Data Wrangler balance data operation to oversample the minority class.

            Explanation

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

            Topic 1 Β· Question 14

            Case study - An ML engineer is developing a fraud detection model on AWS. The training dataset includes transaction logs, customer profiles, and tables from an on-premises MySQL database. The transaction logs and customer profiles are stored in Amazon S3. The dataset has a class imbalance that affects the learning of the model's algorithm. Additionally, many of the features have interdependencies. The algorithm is not capturing all the desired underlying patterns in the data. The ML engineer needs to use an Amazon SageMaker built-in algorithm to train the model. Which algorithm should the ML engineer use to meet this requirement?

            • ALightGBM (correct answer)
            • BLinear learner
            • CК-means clustering
            • DNeural Topic Model (NTM)
            Reveal answer & explanation
            Correct answer: A

            The correct answer is A. Option A: LightGBM.

            Topic 1 Β· Question 15

            A company has deployed an XGBoost prediction model in production to predict if a customer is likely to cancel a subscription. The company uses Amazon SageMaker Model Monitor to detect deviations in the F1 score. During a baseline analysis of model quality, the company recorded a threshold for the F1 score. After several months of no change, the model's F1 score decreases significantly. What could be the reason for the reduced F1 score?

            • AConcept drift occurred in the underlying customer data that was used for predictions. (correct answer)
            • BThe model was not sufficiently complex to capture all the patterns in the original baseline data.
            • CThe original baseline data had a data quality issue of missing values.
            • DIncorrect ground truth labels were provided to Model Monitor during the calculation of the baseline.
            Reveal answer & explanation
            Correct answer: A

            The correct answer is A. Option A: Concept drift occurred in the underlying customer data that was used for predictions.

            Topic 1 Β· Question 16

            A company has a team of data scientists who use Amazon SageMaker notebook instances to test ML models. When the data scientists need new permissions, the company attaches the permissions to each individual role that was created during the creation of the SageMaker notebook instance. The company needs to centralize management of the team's permissions. Which solution will meet this requirement?

            • ACreate a single IAM role that has the necessary permissions. Attach the role to each notebook instance that the team uses. (correct answer)
            • BCreate a single IAM group. Add the data scientists to the group. Associate the group with each notebook instance that the team uses.
            • CCreate a single IAM user. Attach the AdministratorAccess AWS managed IAM policy to the user. Configure each notebook instance to use the IAM user.
            • DCreate a single IAM group. Add the data scientists to the group. Create an IAM role. Attach the AdministratorAccess AWS managed IAM policy to the role. Associate the role with the group. Associate the group with each notebook instance that the team uses.
            Reveal answer & explanation
            Correct answer: A

            The correct answer is A. Option A: Create a single IAM role that has the necessary permissions. Attach the role to each notebook instance that the team uses.

            Explanation

            An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials. AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies.

            Topic 1 Β· Question 17

            An ML engineer needs to use an ML model to predict the price of apartments in a specific location. Which metric should the ML engineer use to evaluate the model's performance?

            • AAccuracy
            • BArea Under the ROC Curve (AUC)
            • CF1 score
            • DMean absolute error (MAE) (correct answer)
            Reveal answer & explanation
            Correct answer: D

            The correct answer is D. Option D: Mean absolute error (MAE).

            Topic 1 Β· Question 18

            An ML engineer has trained a neural network by using stochastic gradient descent (SGD). The neural network performs poorly on the test set. The values for training loss and validation loss remain high and show an oscillating pattern. The values decrease for a few epochs and then increase for a few epochs before repeating the same cycle. What should the ML engineer do to improve the training process?

            • AIntroduce early stopping.
            • BIncrease the size of the test set.
            • CIncrease the learning rate.
            • DDecrease the learning rate. (correct answer)
            Reveal answer & explanation
            Correct answer: D

            The correct answer is D. Option D: Decrease the learning rate.

            Topic 1 Β· Question 19

            An ML engineer needs to process thousands of existing CSV objects and new CSV objects that are uploaded. The CSV objects are stored in a central Amazon S3 bucket and have the same number of columns. One of the columns is a transaction date. The ML engineer must query the data based on the transaction date. Which solution will meet these requirements with the LEAST operational overhead?

            • AUse an Amazon Athena CREATE TABLE AS SELECT (CTAS) statement to create a table based on the transaction date from data in the central S3 bucket. Query the objects from the table. (correct answer)
            • BCreate a new S3 bucket for processed data. Set up S3 replication from the central S3 bucket to the new S3 bucket. Use S3 Object Lambda to query the objects based on transaction date.
            • CCreate a new S3 bucket for processed data. Use AWS Glue for Apache Spark to create a job to query the CSV objects based on transaction date. Configure the job to store the results in the new S3 bucket. Query the objects from the new S3 bucket.
            • DCreate a new S3 bucket for processed data. Use Amazon Data Firehose to transfer the data from the central S3 bucket to the new S3 bucket. Configure Firehose to run an AWS Lambda function to query the data based on transaction date.
            Reveal answer & explanation
            Correct answer: A

            The correct answer is A. Option A: Use an Amazon Athena CREATE TABLE AS SELECT (CTAS) statement to create a table based on the transaction date from data in the central S3 bucket. Query the objects from the table.

            Explanation

            Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Athena runs serverless SQL queries directly on data in Amazon S3 with no infrastructure to manage.

            Topic 1 Β· Question 20

            A company has a large, unstructured dataset. The dataset includes many duplicate records across several key attributes. Which solution on AWS will detect duplicates in the dataset with the LEAST code development?

            • AUse Amazon Mechanical Turk jobs to detect duplicates.
            • BUse Amazon QuickSight ML Insights to build a custom deduplication model.
            • CUse Amazon SageMaker Data Wrangler to pre-process and detect duplicates.
            • DUse the AWS Glue FindMatches transform to detect duplicates. (correct answer)
            Reveal answer & explanation
            Correct answer: D

            The correct answer is D. Option D: Use the AWS Glue FindMatches transform to detect duplicates.

            Explanation

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

            Showing questions 1–20 of 226 Β· Page 1 of 12