MLA-C01 exam dumps

MLA-C01 practice question 306 of 458

AWS Certified Machine Learning Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLA-C01 Question 306

Single answer

You are a Machine Learning Engineer tasked with deploying a large-scale machine learning inference system. You want to use Infrastructure as Code (IaC) to manage your resources in AWS. The system requires extensive customization of resource configurations and must be integrated with existing Python-based CI/CD pipelines. Which IaC option should you choose and why?

  1. A

    AWS CloudFormation, because it supports declarative templates and is natively integrated with AWS services.

  2. B

    AWS CloudFormation, because it allows for programmatic resource definition using high-level programming languages like Python.

  3. C

    AWS CDK, because it allows you to define infrastructure using familiar programming languages and integrates well with Python-based workflows.

  4. D

    AWS CDK, because it only requires YAML or JSON templates and provides native AWS service integration.

Show answer and explanation

Correct answer: C

Explanation

AWS CDK is the best choice for this scenario because it allows you to define infrastructure using high-level programming languages, such as Python, which aligns well with the requirements of integrating with Python-based CI/CD pipelines. Additionally, AWS CDK provides flexibility and customization, making it ideal for managing complex machine learning inference systems. AWS CloudFormation, while powerful, is more suited for declarative resource definition and is less flexible for programmatic workflows.

  • A. Incorrect.

    AWS CloudFormation supports declarative templates and is natively integrated with AWS services, but it does not provide programmatic resource definition using high-level programming languages like Python. This makes it less flexible for highly customized workflows.

  • B. Incorrect.

    AWS CloudFormation does not allow for programmatic resource definition using high-level programming languages like Python. While it is powerful for standard infrastructure management, it is not the best choice for Python-based CI/CD integration.

  • C. Correct.

    AWS CDK allows you to define infrastructure using familiar programming languages such as Python, making it a better choice for integration with Python-based CI/CD pipelines. It also provides a high level of customization, which is ideal for complex systems.

  • D. Incorrect.

    AWS CDK does not rely solely on YAML or JSON templates; instead, it leverages high-level programming languages like Python, TypeScript, and Java. This makes it more suitable for developers with programming experience and for integrating with existing Python-based workflows.

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