Domain 3 - Technology ( 2 of 3 ) Flashcards
Which of the following Route 53 routing policies doesn’t use health checks?
- Geolocation
- Simple
- Multivalue Answer
- Latency
- Simple
All Route 53 routing policies except for Simple can use health checks.
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
- 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.
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
- 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.
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 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.
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
- 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.
On how many continents are CloudFront edge locations distributed?
- 7
- 5
- 6
- 4
- 6
CloudFront has edge locations on six continents (Antarctica is a hard place to get to).
From where does CloudFront retrieve content to store for caching?
- Distributions
- Edge locations
- Regions
- Origins
- 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.
Which CloudFront distribution type requires you to provide a media player?
- Streaming
- Web
- Edge
- RTMP
- 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.
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
- 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.
Approximately how many different CloudFront edge locations are there?
- More than 300
- More than 500
- About 50
- More than 150
- More than 150
There are more than 150 edge locations throughout the world.
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
- 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.
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.
- 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.
What formats do CloudFormation templates support? (Select TWO.)
XML
Correct Answer
YAML
Correct Answer
JSON
HTML
XML
Correct Answer
YAML
Correct Answer
JSON
HTML
CloudFormation templates are written in the YAML or JSON format.
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.
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.
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.
- 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.