Module 10: Automating Your Architecture Flashcards

1
Q

What are some reasons to use automation to provision resources? (Select TWO. )

  • Lack of version control with manual processes
  • Automation requirement for creating some resources
  • Alignment with the reliability design principle
  • Greater expense with manual processes.
  • Automation requirement for high availability.
A
  • Lack of version control with manual processes
  • Alignment with the reliability design principle
    ( With automation, you can introduce version control to control updates and track version history. Automation aligns with the reliability design principle, which requires the use of automation to manage change.)

( The answer is not a combination of “ Greater expense with manual processes” and “Lack of version control with manual processes”. Automation does not necessarily lead to fewer costs. Although automation can assist with building highly available implementations, it is not a requirement. Finally, automation is not a requirement for creating resources.” )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is AWS CloudFormation?

  • A package of all the information that is needed to launch an Amazon EC2 instance.
  • A template that describes your infrastructure
  • A description of best practices for designing an AWS implementation.
  • An AWS service that you can use to create, model , and manage AWS resources.
A
  • An AWS service that you can use to create, model , and manage AWS resources.
    ( AWS CloudFormation provides a simplified way to model, create, and manage a collection of AWS resources. It enables you to treat infrastructure as code.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the AWS CloudFormation Designer?

  • A source code repository for AWS CloudFormation templates
  • A tool for automating deployments
  • A graphical design interface for creating AWS CloudFormation templates
  • A collection of reusable templates
A
  • A graphical design interface for creating AWS CloudFormation templates
    ( You can use the AWS CloudFormation Designer to author AWS CloudFormation templates in the AWS Management Console)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which option is a good way to preview changes before implementing them in AWS CloudFormation Designer?

  • Create a change set.
  • Run Update Stack.
  • Run Detect Drift.
  • Visually inspect the template.
A

( The answer is not, “Run Detect Drift. Detect Drift shows you the changes that were made to a configuration that are different from what is specified in the AWS CloudFormation template. )

( The answer is not, “Visually inspect the template.”
Although you could visually inspect the changes in the AWS CloudFormation template, it might be difficult with a large, complex template.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You want to quickly set up a secure implementation of an Amazon FSx for Windows File Server that follows AWS best practices. Which solution should you use?

  • An Amazon Machine Image (AMI) on AWS Marketplace
  • AWS CloudFormation Designer
  • An AWS Quick Start
  • An AWS CloudFormation template that you downloaded from the internet
A
  • An AWS Quick Start
    (The answer is not “AWS CloudFormation Designer”. You could use the AWS CloudFormation Desgner to create your own template. However, you would not be taking advantage of the security best practices that are built into the Quick Starts.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A fleet of Amazon EC2 instances require application patches on a regular schedule. Which approach is the most efficient?

  • Create a scheduled task on each instance to download patches.
  • Use an Amazon CloudWatch alarm to regularly relaunch instances by using a patched AMI.
  • Update the AWS CloudFormation stack.
  • Create a maintenance window in AWS Systems Manager.
A

(The answer is not, “Create a scheduled task on each instance to download patches.”
This decentralized approach does not scale well and can become difficult to manage.)

(The answer is not, “Use an Amazon CloudWatch alarm to regularly relaunch instances by using a patched AMI” Although you could patch an AMI first and then used the patched AMI to relaunch intances, this approach is not the most efficient.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does AWS OpsWorks do? (Select THREE.)

  • Provides managed Chef instances
  • Automates operational tasks across AWS resources
  • Provides managed Kubernetes clusters
  • Automates server configuration, deployment, and management
  • Provides managed Puppet instances
  • Automates containerized application deployment at scale
A
  • Provides managed Chef instances
  • Automates server configuration, deployment, and management
  • Provides managed Puppet instances

( The answer is not the combination of:
“ - Automates operational tasks across AWS resources
- Automates server configuration, deployment, and management
- Provides managed Puppet instances”
Amazon Elastic Kubernets Service (Amazon EKS) provides managed Kubernets clusters. Kubernets orchestrates containerized applications at scale. AWS OpsWorks automates server configuration, deployment, and managment, but not operational tasks across AWS resources.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is AWS Elastic Beanstalk?

  • An easy-to-use cloud platform that offers you everything that you need to build an application or website, and a cost-effective, monthly plan.
  • An easy-to-use service for deploying and scaling web applications and services that are developed with common web development languages and platforms
  • A serverless compute engine for containers that works with both Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (Amazon EKS)
  • A set of tools and services that enable mobile and frontend web developers to build secure, scalable, full-stack applications that wer powered by AWS
A
  • An easy-to-use service for deploying and scaling web applications and services that are developed with common web development languages and platforms.

( AWS Elastic Beanstalk supports Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker, and familiar servers such as Apache, NGINX, Passenger, and Microsoft Internet Information Services (IIS).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A company wants to deploy their simple website in AWS. It consists of HTML, server-side PHP code, and client-side JavaScript code. The website must be highly available to a global audience. What can you create that will provide the simplest method to bring the site online quickly?

  • A load-balanced environment in AWS Elastic Beanstalk
  • An Amazon S3 bucket with static web hosting
  • An AWS CloudFormation stack that deploys a highly available architecture in a virtual private cloud (VPC)
  • An AWS Opsworks stack that deploys a highly available architecture in a virtual private cloud (VPC)
A
  • A load-balanced environment in AWS Elastic Beanstalk
    ( You can create a load-balanced PHP environment and upload the website assets in minutes. The site will be globally available and will automatically scale to handle load)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Several On-Demand Instances in Amazon EC2 must launch at random times and run for limited durations. They must have application and package configurations that are determined at launch time. Which solution provides the most efficient way to automatically build these instances?

  • Amazon Machine Image (AMI)
  • AWS CloudFormation
  • AWS OpsWorks
  • AWS Elastic Beanstalk
A

( The answer is not “AWS Elastic Beanstalk”.
AWS Elastic Beanstalk is intended for use cases where customers do not want to manage the instances themselves.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly