Domain 3 - Technology ( 2 of 3 ) Flashcards

1
Q

Which of the following Route 53 routing policies doesn’t use health checks?

  • Geolocation
  • Simple
  • Multivalue Answer
  • Latency
A
  • Simple

All Route 53 routing policies except for Simple can use health checks.

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

Which of the following types of Route 53 health checks works by making a test connection to a TCP port?

  • Endpoint
  • Simple
  • CloudWatch alarm
  • Calculated
A
  • Endpoint

An Endpoint health check works by connecting to the monitored endpoint via HTTP, HTTPS, or TCP. A CloudWatch alarm health check simply reflects the status of a CloudWatch alarm. A Calculated health check derives its status from multiple other health checks. There is no such thing as a Simple health check.

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

You have two EC2 instances hosting a web application. You want to distribute 20 percent of traffic to one instance and 80 percent to the other. Which of the following Route 53 routing policies should you use?

  • Weighted
  • Multivalue Answer
  • Simple
  • Failover
A
  • Weighted

A Weighted routing policy lets you distribute traffic to endpoints according to a ratio that you define. None of the other routing policies allows this.

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

Resources in a VPC need to be able to resolve internal IP addresses for other resources in the VPC. No one outside of the VPC should be able to resolve these addresses. Which of the following Route 53 resources can help you achieve this?

  • Health checks
  • A private hosted zone
  • A public hosted zone
  • Domain name registration
A
  • A private hosted zone

A private hosted zone is associated with a VPC and allows resources in the VPC to resolve private domain names. A public hosted zone is accessible by anyone on the internet. Domain name registration is for public domain names. Health checks aren’t necessary for name resolution to work.

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

You want to provide private name resolution for two VPCs using the domain name company.pri. How many private hosted zones do you need to create?

  • 3
  • 4
  • 1
  • 2
A
  • 1

Route 53 private hosted zones provide DNS resolution for a single domain name within multiple VPCs. Therefore, to support resolution of one domain names for two VPCs, you’d need one private hosted zone.

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

On how many continents are CloudFront edge locations distributed?

  • 7
  • 5
  • 6
  • 4
A
  • 6

CloudFront has edge locations on six continents (Antarctica is a hard place to get to).

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

From where does CloudFront retrieve content to store for caching?

  • Distributions
  • Edge locations
  • Regions
  • Origins
A
  • Origins
    A CloudFront origin is the location that a distribution sources content from. Content is stored in edge locations. A distribution defines the edge locations and origins to use.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which CloudFront distribution type requires you to provide a media player?

  • Streaming
  • Web
  • Edge
  • RTMP
A
  • RTMP

The RTMP distribution type is for delivering streaming content and requires you to provide a media player. A Web distribution can also stream audio or video content but doesn’t require you to provide a media player. Streaming and Edge are not distribution types.

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

You need to deliver content to users in the United States and Canada. Which of the following edge location options will be the most cost effective for your CloudFront distribution?

  • All edge locations
  • United States, Canada, and Europe
  • United States, Canada, Europe, Asia, and Africa
  • United States, Canada, Europe, and Asia
A
  • United States, Canada, and Europe

The more edge locations you use for a distribution, the more you’ll pay. Selecting the minimum number of locations will be the most cost effective.

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

Approximately how many different CloudFront edge locations are there?

  • More than 300
  • More than 500
  • About 50
  • More than 150
A
  • More than 150

There are more than 150 edge locations throughout the world.

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

Which of the following are valid origins for a CloudFront distribution? (Select TWO.)

  • A private S3 bucket that you don’t have access to
  • A private S3 bucket that you own
  • EC2 instance
  • A public S3 bucket
A
  • EC2 instance
  • A public S3 bucket

An origin can be an EC2 instance or a public S3 bucket. You can’t use a private S3 bucket as an origin.

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

Which of the following is an advantage of using CloudFormation?

  • It uses the popular Python programming language.
  • It prevents unauthorized manual changes to resources.
  • It lets you create multiple separate AWS environments using a single template.
  • It can create resources outside of AWS.
A
  • It lets you create multiple separate AWS environments using a single template.

CloudFormation can create AWS resources and manages them collectively in a stack. Templates are written in the CloudFormation language, not Python. CloudFormation can’t create resources outside of AWS. It also doesn’t prevent manual changes to resources in a stack.

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

What formats do CloudFormation templates support? (Select TWO.)

XML
Correct Answer
YAML
Correct Answer

JSON

HTML

A

XML
Correct Answer
YAML
Correct Answer

JSON

HTML
CloudFormation templates are written in the YAML or JSON format.

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

What’s an advantage of using parameters in a CloudFormation template?

Allow multiple stacks to be created from the same template.
Prevent stack updates.
Prevent unauthorized users from using a template.
Correct Answer
Allow customizing a stack without changing the template.
Parameters let you input customizations when creating a CloudFormation stack without having to modify the underlying template. Parameters don’t prevent stack updates or unauthorized changes. A template can be used to create multiple stacks, regardless of whether it uses parameters.

A

Allow multiple stacks to be created from the same template.
Prevent stack updates.
Prevent unauthorized users from using a template.
Correct Answer
Allow customizing a stack without changing the template.
Parameters let you input customizations when creating a CloudFormation stack without having to modify the underlying template. Parameters don’t prevent stack updates or unauthorized changes. A template can be used to create multiple stacks, regardless of whether it uses parameters.

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

Why would you use CloudFormation to automatically create resources for a development environment instead of creating them using AWS CLI commands? (Select TWO.)

  • CloudFormation stack updates help ensure that changes to one resource won’t break another.
  • CloudFormation can provision resources faster than the AWS CLI.
  • Resources CloudFormation creates are organized into stacks and can be managed as a single unit.
  • Resources created by CloudFormation always work as expected.
A
  • CloudFormation stack updates help ensure that changes to one resource won’t break another.
  • Resources CloudFormation creates are organized into stacks and can be managed as a single unit.

Resources CloudFormation creates are organized into stacks. When you update a stack, CloudFormation analyzes the relationships among resources in the stack and updates dependent resources as necessary. This does not, however, mean that any resource you create using CloudFormation will work as you expect. Provisioning resources using CloudFormation is not necessarily faster than using the AWS CLI.

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

What are two features of CodeCommit? (Select TWO.)

  • Versioning
  • Manual deployment
  • Differencing
  • Automatic deployment
A
  • Versioning
  • Differencing

CodeCommit is a private Git repository that offers versioning and differencing. It does not perform deployments.

17
Q

In the context of CodeCommit, what can differencing accomplish?

  • Allowing reverting to an older version of a file
  • Deleting duplicate lines of code
  • Seeing when an application was last deployed
  • Understanding what code change introduced a bug
A
  • Understanding what code change introduced a bug

Differencing lets you see the differences between two versions of a file, which can be useful when figuring out what change introduced a bug. Versioning, not differencing, is what allows reverting to an older version of a file. Differencing doesn’t identify duplicate lines of code or tell you when an application was deployed.

18
Q

What software development practice regularly tests new code for bugs but doesn’t do anything else?

  • Continuous delivery
  • Continuous integration
  • Continuous deployment
  • Differencing
A
  • Continuous integration

Continuous integration is the practice of running code through a build or test process as soon as it’s checked into a repository. Continuous delivery and continuous deployment include continuous integration but add deployment to the process. Differencing only shows the differences between different versions of a file but doesn’t perform any testing.