Amazon Web ServicesAssociate levelMLA-C01Page 4 of 5

MLA-C01 exam dumps: questions 301 to 400 of 457

Page 4 of the free MLA-C01 question bank for the AWS Certified Machine Learning Engineer - Associate exam. Questions 301 to 400 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated December 2024

Free MLA-C01 practice questions

Questions 301 to 305 of 457

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

MLA-C01 Question 301

Select 3

You are deploying a machine learning model on Amazon SageMaker and need to ensure the endpoint scales automatically to handle fluctuating traffic. You are considering two scaling policies: target tracking scaling and step scaling. Which of the following statements correctly describes the differences between these scaling policies?

  1. A

    Target tracking scaling adjusts capacity to maintain a predefined metric, such as average CPU utilization or request count per instance.

  2. B

    Step scaling requires predefined thresholds and adjusts capacity by a fixed number of instances when those thresholds are breached.

  3. C

    Target tracking scaling is better suited for handling unpredictable, spiky traffic patterns compared to step scaling.

  4. D

    Step scaling automatically creates CloudWatch alarms based on the target metric chosen.

  5. E

    Target tracking scaling is more complex to configure than step scaling.

Show answer and explanation

Correct answers: A, B, C

Explanation

Both target tracking scaling and step scaling are valid options for automatic scaling in AWS. However, they differ in their configuration and use cases. Target tracking scaling adjusts capacity dynamically to maintain a target metric, making it suitable for variable or unpredictable traffic patterns. Step scaling, on the other hand, uses predefined thresholds and discrete scaling actions, which may be less adaptive for spiky traffic but offers precise control over scaling behavior. Understanding these differences is key to selecting the right scaling policy for your machine learning endpoint.

  • A. Correct.

    This statement is correct. Target tracking scaling is designed to maintain a predefined metric value by adjusting capacity dynamically.

  • B. Correct.

    This statement is correct. Step scaling operates based on predefined thresholds and makes discrete adjustments when those thresholds are crossed.

  • C. Correct.

    This statement is correct. Target tracking scaling is more adaptive and better suited for handling spiky traffic patterns because it adjusts capacity continuously to maintain the target metric.

  • D. Incorrect.

    This statement is incorrect. CloudWatch alarms are not automatically created for step scaling; they need to be explicitly defined and configured.

  • E. Incorrect.

    This statement is incorrect. Target tracking scaling is simpler to configure as it only requires setting a target metric and desired value, whereas step scaling requires defining multiple thresholds and scaling actions.

MLA-C01 Question 302

Single answer

You are managing an Amazon SageMaker endpoint for a real-time machine learning model with unpredictable traffic patterns. You need to select a scaling policy to ensure optimal cost efficiency and performance. Which scaling policy should you choose, and why?

  1. A

    Target tracking scaling policy

  2. B

    Step scaling policy

  3. C

    Scheduled scaling policy

  4. D

    Manual scaling

Show answer and explanation

Correct answer: A

Explanation

For endpoints with unpredictable traffic patterns, target tracking scaling is the most effective policy. It dynamically adjusts based on a target metric, such as latency or CPU utilization, ensuring the system performs well while remaining cost-efficient. Other policies, like step scaling or scheduled scaling, are either too rigid or suited for predictable workloads, and manual scaling is impractical for real-time adjustments.

  • A. Correct.

    Target tracking scaling policy is ideal for unpredictable traffic because it automatically adjusts the capacity of the endpoint to maintain a target metric, such as latency or utilization. This eliminates the need for manual intervention and ensures a balance between cost and performance.

  • B. Incorrect.

    Step scaling policy is better suited for scenarios where specific, predefined thresholds trigger scaling actions. It is less effective for unpredictable traffic patterns because it requires detailed configuration and does not dynamically adjust to changing patterns.

  • C. Incorrect.

    Scheduled scaling policy is designed for predictable traffic patterns where scaling actions can be planned ahead of time based on known usage patterns. It is not suitable for traffic that is highly unpredictable.

  • D. Incorrect.

    Manual scaling requires human intervention and is not a scalable or cost-efficient solution for managing unpredictable traffic patterns. It does not provide the automation required for real-time adjustment.

MLA-C01 Question 303

Single answer

You are building a machine learning inference application hosted on EC2 Spot Instances behind an Auto Scaling group. The application experiences spikes in traffic during business hours, and maintaining low latency is critical. You need to decide between a target tracking scaling policy and a step scaling policy for the Auto Scaling group. Which scaling policy is most appropriate, and why?

  1. A

    Use a target tracking scaling policy to automatically adjust the number of instances based on a defined metric, such as average CPU utilization, to maintain consistent performance.

  2. B

    Use a step scaling policy to define specific scaling steps based on distinct metric thresholds, allowing fine-grained control over scaling behavior.

  3. C

    Use a step scaling policy because it is designed to handle sudden traffic spikes more effectively than target tracking scaling.

  4. D

    Use a target tracking scaling policy because it allows you to define multiple scaling steps for different traffic levels.

Show answer and explanation

Correct answer: A

Explanation

A target tracking scaling policy is better suited for applications with unpredictable traffic patterns and critical latency requirements. It dynamically adjusts the number of instances based on a target metric, such as average CPU utilization, ensuring consistent performance without requiring manual configuration of thresholds. In contrast, step scaling policies are more rigid and require predefined thresholds, making them less effective for highly variable traffic scenarios.

  • A. Correct.

    Correct: A target tracking scaling policy automatically adjusts the number of instances to maintain a target value for a defined metric, such as average CPU utilization. This is ideal for applications with variable traffic patterns and low-latency requirements, as it simplifies scaling decisions.

  • B. Incorrect.

    Incorrect: While step scaling policies allow fine-grained control, they are not as dynamic as target tracking policies for handling variable traffic patterns. They require pre-defined thresholds, which may not adapt well to unexpected traffic changes.

  • C. Incorrect.

    Incorrect: Step scaling policies are not inherently better at handling sudden traffic spikes compared to target tracking. Target tracking can respond dynamically to metric changes without manual thresholds.

  • D. Incorrect.

    Incorrect: Target tracking policies do not allow multiple scaling steps but instead focus on maintaining a target metric. This statement conflates the features of target tracking and step scaling policies.

MLA-C01 Question 304

Single answer

You are tasked with deploying a machine learning infrastructure on AWS that requires flexibility in defining resources using Python and the ability to integrate with existing CI/CD pipelines. The infrastructure may also need frequent updates as new requirements emerge. Which AWS IaC option is most suitable for this scenario?

  1. A

    AWS CloudFormation

  2. B

    AWS Cloud Development Kit (AWS CDK)

  3. C

    AWS Elastic Beanstalk

  4. D

    AWS OpsWorks

Show answer and explanation

Correct answer: B

Explanation

AWS CDK is the most suitable choice for this scenario because it allows users to define infrastructure as code using high-level programming languages such as Python, which provides flexibility and programmability. This makes it easy to integrate with CI/CD pipelines and adapt to frequent updates. CloudFormation, while powerful, is more suitable for static, declarative definitions, and the other options (Elastic Beanstalk and OpsWorks) do not meet the specific requirements of defining resources programmatically.

  • A. Incorrect.

    AWS CloudFormation is a declarative IaC tool that allows you to define resources using JSON or YAML. While it is powerful for managing infrastructure, it lacks the flexibility of using high-level programming languages like Python, which is needed in this scenario.

  • B. Correct.

    AWS Cloud Development Kit (AWS CDK) is the correct option because it allows you to define AWS infrastructure using familiar programming languages like Python, which makes it suitable for integrating with CI/CD pipelines and adapting to frequent updates.

  • C. Incorrect.

    AWS Elastic Beanstalk is not an IaC tool. It is a platform-as-a-service (PaaS) solution for deploying and managing applications, and it does not provide the flexibility required for defining custom infrastructure using Python.

  • D. Incorrect.

    AWS OpsWorks is primarily used for configuration management and automating server configurations using Chef or Puppet. It is not designed for defining AWS resources programmatically using programming languages like Python.

MLA-C01 Question 305

Select 2

You are working on an AWS Machine Learning project and need to provision and manage the infrastructure for both development and production environments. The development environment requires rapid iteration with less focus on stability, while the production environment demands highly stable and repeatable deployments. Which combination of AWS Infrastructure as Code (IaC) options would best suit these requirements?

  1. A

    Use AWS CloudFormation for both development and production environments to ensure consistency across deployments.

  2. B

    Use AWS CDK for the development environment for flexibility and faster iteration, and AWS CloudFormation for the production environment for stability and repeatability.

  3. C

    Use AWS CDK for the production environment to enable easier code-based modifications and AWS CloudFormation for development to ensure consistency during testing.

  4. D

    Use AWS CloudFormation for the production environment to leverage declarative templates and AWS CDK for the development environment for a more programmatic approach.

Show answer and explanation

Correct answers: B, D

Explanation

AWS CDK and AWS CloudFormation serve different purposes in an Infrastructure as Code (IaC) workflow. AWS CDK provides a programmatic approach, making it ideal for development environments where rapid changes and iterations are required. On the other hand, AWS CloudFormation uses declarative templates, ensuring stable, repeatable, and predictable deployments, making it the preferred choice for production environments. Combining these two tools allows you to optimize for both flexibility during development and stability during production.

  • A. Incorrect.

    AWS CloudFormation is excellent for ensuring stability and repeatability but is not ideal for rapid iteration in the development environment. Using it for both environments may slow down development.

  • B. Correct.

    This is a valid combination. AWS CDK offers a programmatic approach and flexibility, ideal for rapid iteration during development, while AWS CloudFormation provides stability and repeatability, which are critical for production deployments.

  • C. Incorrect.

    Using AWS CDK for the production environment is not ideal because it introduces potential risks of instability due to its programmatic nature, which can lead to less predictable deployments.

  • D. Correct.

    This is a valid combination. AWS CloudFormation's declarative templates are well-suited for production environments requiring stability, while AWS CDK's programmatic approach is better for development environments where flexibility is needed.

Timed practice exam

Take a MLA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

MLA-C01 practice questions 301 to 400 of 457

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 5 pages of up to 100 questions.

  1. 301.You are deploying a machine learning model on Amazon SageMaker and need to ensure the endpoint scales...
  2. 302.You are managing an Amazon SageMaker endpoint for a real-time machine learning model with unpredictable...
  3. 303.You are building a machine learning inference application hosted on EC2 Spot Instances behind an Auto Scaling...
  4. 304.You are tasked with deploying a machine learning infrastructure on AWS that requires flexibility in defining...
  5. 305.You are working on an AWS Machine Learning project and need to provision and manage the infrastructure for...
  6. 306.You are a Machine Learning Engineer tasked with deploying a large-scale machine learning inference system....
  7. 307.You are tasked with deploying a machine learning pipeline on AWS, and the architecture involves multiple...
  8. 308.You are building a machine learning pipeline on AWS and need to define infrastructure resources, such as...
  9. 309.You are tasked with deploying a machine learning model as a scalable API endpoint. The model is packaged as a...
  10. 310.A company is developing a machine learning model and needs to deploy it as a REST API for inference. They...
  11. 311.You are deploying a machine learning model to production and want to use a container-based approach to ensure...
  12. 312.You are a Machine Learning Engineer tasked with deploying a machine learning model as a REST API. The model...
  13. 313.You are a Machine Learning Engineer tasked with deploying a machine learning inference service with low...
  14. 314.You are managing a machine learning model deployed on an Amazon SageMaker endpoint that experiences...
  15. 315.You are managing a real-time machine learning application deployed on an Amazon SageMaker endpoint. The...
  16. 316.You are managing a machine learning model deployed on an Amazon SageMaker endpoint. The model experiences...
  17. 317.You are deploying a machine learning model using Amazon SageMaker, and your model needs to handle fluctuating...
  18. 318.You are a Machine Learning Engineer managing a SageMaker endpoint for a real-time inference application that...
  19. 319.You are working on an image classification model and want to implement a CI/CD pipeline for deploying the...
  20. 320.You are a Machine Learning Engineer working on deploying a model to production using Amazon SageMaker. To...
  21. 321.You are tasked with setting up a CI/CD pipeline for deploying machine learning models using AWS services. The...
  22. 322.You are working as a Machine Learning Engineer for a company that wants to automate the deployment of their...
  23. 323.You are a Machine Learning Engineer at a company that deploys models on AWS. You need to create a CI/CD...
  24. 324.You are a Machine Learning Engineer tasked with training a model to predict customer churn. The training...
  25. 325.You are building a machine learning workflow to classify customer reviews into positive, neutral, or negative...
  26. 326.You are building a machine learning pipeline on AWS to predict customer churn using tabular data stored in...
  27. 327.You are building a machine learning model on Amazon SageMaker to predict customer churn for a...
  28. 328.You are a Machine Learning Engineer tasked with deploying a model to production on AWS. The model needs to...
  29. 329.You are building a CI/CD pipeline for your machine learning application using AWS CodePipeline, AWS...
  30. 330.A machine learning team is using AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy to automate their CI/CD...
  31. 331.A machine learning team is building an automated deployment pipeline for their ML model using AWS...
  32. 332.You are working as a Machine Learning Engineer at a company that uses AWS services to automate the deployment...
  33. 333.You are deploying a machine learning model using AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy. Your...
  34. 334.A company is building a machine learning pipeline that processes large amounts of streaming data from IoT...
  35. 335.You are tasked with designing a data ingestion pipeline for a machine learning application that processes...
  36. 336.You are building a machine learning pipeline to process customer transaction data daily. The data resides in...
  37. 337.A company wants to automate the ingestion of streaming data from IoT sensors into an Amazon S3 data lake for...
  38. 338.You are tasked with automating the ingestion and preprocessing of batch data from multiple on-premises...
  39. 339.You are working on an AWS SageMaker project where multiple team members contribute to the same machine...
  40. 340.You are working as a Machine Learning Engineer for a team deploying a model on AWS SageMaker. Your team uses...
  41. 341.You are a Machine Learning Engineer working on a collaborative project where multiple team members are...
  42. 342.You are working with a team of data scientists on a machine learning project hosted on AWS. During the...
  43. 343.You are working on an AWS SageMaker project and collaborating with a team of data scientists. To ensure...
  44. 344.You are a Machine Learning Engineer at a company that uses AWS for deploying ML models. Your team has...
  45. 345.You are designing a CI/CD pipeline for a machine learning workflow that involves training and deploying a...
  46. 346.You are a Machine Learning Engineer at a company that uses AWS for its ML workflows. Your team wants to...
  47. 347.You are a Machine Learning Engineer tasked with deploying a model into production using a CI/CD pipeline on...
  48. 348.You are working on a machine learning project where the model development lifecycle involves frequent...
  49. 349.You are deploying a machine learning model using Amazon SageMaker and want to ensure minimal downtime while...
  50. 350.You are deploying a new version of a machine learning model to production using Amazon SageMaker. The model...
  51. 351.You are deploying a new version of a machine learning model on Amazon SageMaker. The model serves real-time...
  52. 352.You are deploying a new version of a machine learning model to production using Amazon SageMaker. You want to...
  53. 353.An e-commerce company is deploying a new version of its recommendation engine hosted on Amazon SageMaker. The...
  54. 354.You are building a machine learning model deployment pipeline using AWS services. Your team uses AWS...
  55. 355.A data science team is using AWS CodeCommit as their code repository and AWS CodePipeline to automate the...
  56. 356.A data science team is building and deploying machine learning models using AWS. They store their code in AWS...
  57. 357.You are tasked with building and deploying an end-to-end machine learning model on AWS. Your team uses AWS...
  58. 358.You are building a machine learning pipeline using AWS services to automate the training and deployment of a...
  59. 359.You have deployed a machine learning model to production on Amazon SageMaker. After a few weeks of...
  60. 360.A financial services company has deployed a machine learning model for credit risk assessment using Amazon...
  61. 361.You have deployed a machine learning model to an Amazon SageMaker endpoint. Over time, you notice that model...
  62. 362.An e-commerce company has deployed a machine learning model using Amazon SageMaker to recommend products to...
  63. 363.A company has deployed a machine learning model on Amazon SageMaker for real-time inference. The model's...
  64. 364.You are managing a machine learning model deployed on AWS SageMaker for real-time predictions. The model is...
  65. 365.You deployed a machine learning model to Amazon SageMaker and configured it to handle real-time inference...
  66. 366.You have deployed a machine learning model for real-time inference using Amazon SageMaker. After some time,...
  67. 367.You are managing a live machine learning model deployed on Amazon SageMaker that predicts loan approvals....
  68. 368.You are a Machine Learning Engineer managing a deployed model on Amazon SageMaker that predicts customer...
  69. 369.You are a machine learning engineer tasked with deploying a model for real-time fraud detection using Amazon...
  70. 370.You are developing a machine learning model to predict customer churn for a subscription-based service using...
  71. 371.You are developing a machine learning model to predict customer churn for a subscription-based service. The...
  72. 372.A machine learning engineer is deploying a model on AWS SageMaker for real-time inference. The model requires...
  73. 373.You are a machine learning engineer working on a model training pipeline in Amazon SageMaker. During...
  74. 374.You are a Machine Learning Engineer managing a deployed model on AWS SageMaker that predicts customer...
  75. 375.A retail company has deployed a machine learning model to predict customer churn. Over time, the model's...
  76. 376.You are an AWS Certified Machine Learning Engineer responsible for maintaining an e-commerce recommendation...
  77. 377.You are managing a machine learning model deployed to predict customer churn for a subscription service....
  78. 378.You are managing a machine learning model deployed on Amazon SageMaker that predicts customer churn for a...
  79. 379.You are managing a machine learning model deployed on Amazon SageMaker. Recently, you noticed a decline in...
  80. 380.You are a Machine Learning Engineer managing a model deployed on Amazon SageMaker for a fraud detection...
  81. 381.You are a Machine Learning Engineer at a financial services company using an Amazon SageMaker endpoint to...
  82. 382.You are a Machine Learning Engineer responsible for deploying a classification model in production using...
  83. 383.You are designing a machine learning system on AWS to predict customer churn. As part of the design process,...
  84. 384.A company has deployed a machine learning model into production using Amazon SageMaker. The model's...
  85. 385.You are designing a machine learning system on AWS to predict customer churn. To ensure effective monitoring...
  86. 386.You are building a machine learning model deployed on AWS to predict customer churn. After deployment, you...
  87. 387.You are a Machine Learning Engineer responsible for deploying and monitoring a fraud detection model on AWS....
  88. 388.You are managing an ML model deployment on Amazon SageMaker, and your organization has instructed you to...
  89. 389.You are managing a machine learning model hosted on Amazon SageMaker, and you notice a significant increase...
  90. 390.You are managing an AWS SageMaker training job for a deep learning model that processes large amounts of...
  91. 391.You are managing an AWS SageMaker production environment for a machine learning model that processes...
  92. 392.A company is running an Amazon SageMaker training job for a machine learning model using an ml.p3.16xlarge...
  93. 393.You are working as a Machine Learning Engineer at a retail company that uses AWS services for its machine...
  94. 394.You are building a machine learning model to predict customer churn for an e-commerce platform. You want to...
  95. 395.A data scientist is training a machine learning model using Amazon SageMaker. The dataset is highly...
  96. 396.You are a Machine Learning Engineer working for a retail company. Your team is building a demand forecasting...
  97. 397.A data science team is training a machine learning model using Amazon SageMaker. The training data is located...
  98. 398.You are managing a machine learning inference workload hosted on Amazon SageMaker endpoints. A sudden spike...
  99. 399.You are designing an ML inference pipeline using Amazon SageMaker for a high-traffic application. The...
  100. 400.A data science team at an e-commerce company is running multiple machine learning models on Amazon SageMaker...