Question

Difficulty: Very hardMethods of Deploying and Operating in AWS

A financial technology organization is designing a disaster recovery strategy. The cloud engineering team must meet two primary requirements:
1. Define and deploy identical multi-tier environments across multiple AWS Regions automatically using templated configurations.
2. Build a custom internal monitoring portal that programmatically queries the deployment state and resource metadata of these environments.

Which combination of AWS deployment and operating methods will satisfy these requirements? (Select TWO.)

  1. AWS CloudFormation to model and provision the infrastructure in a safe, repeatable manner across regions using configuration templatesAnswer
  2. AWS Software Development Kits (SDKs) to programmatically query resource metadata and stack states from within the monitoring portal's custom codebaseAnswer
  3. C
    AWS Elastic Beanstalk to define the raw underlying infrastructure components using JSON or YAML templates for granular multi-region provisioning
  4. D
    AWS Management Console to execute programmatic scripts that dynamically fetch resource metadata and push them to the monitoring portal
  5. E
    Amazon CloudWatch logs to record the API calls made by the monitoring portal and audit user activity for security compliance

Answer

AWS CloudFormation to model and provision the infrastructure in a safe, repeatable manner across regions using configuration templates; and AWS Software Development Kits (SDKs) to programmatically query resource metadata and stack states from within the monitoring portal's custom codebase.
The combination of AWS CloudFormation and AWS SDKs is correct because CloudFormation handles the template-based automation of environments across regions, while SDKs provide the library interface to programmatically request resource status from the portal's code.

Step-by-Step Solution

1
Analyze the first requirement: defining and deploying identical environments across multiple regions automatically using templated configurations.
Identify AWS CloudFormation as the primary Infrastructure as Code service designed to template and repeatably deploy resources.
CloudFormation templates guarantee consistency and automation across regions.
2
Analyze the second requirement: programmatically querying deployment status and resource metadata from a custom codebase.
Identify AWS SDKs as the correct tool because they provide APIs for specific programming languages to interact with AWS resources.
SDKs are required to enable programmatic queries from inside a custom monitoring portal's code.
3
Evaluate the option for AWS Elastic Beanstalk.
Eliminate this option as it focuses on application hosting (PaaS) and is not intended for writing raw infrastructure templates.
CloudFormation, not Beanstalk, is the tool of choice for raw template-based provisioning.
4
Evaluate the option for the AWS Management Console.
Eliminate this option as the console is a graphical user interface and cannot execute programmatic scripts for external application integrations.
Programmatic access requires the SDK or CLI, not the visual console.
5
Evaluate the option for Amazon CloudWatch logs.
Eliminate this option because auditing API calls is managed by AWS CloudTrail.
CloudWatch handles logs and metrics, while CloudTrail tracks API activity.

Key Concept

Selecting appropriate AWS interaction tools (Console, CLI, SDK, CloudFormation) based on the automation, scripting, or manual requirements of a scenario.
Rate this question