AWS Resources Flashcards

1
Q

What is a resource group?

A

A resource group is a collection of AWS resources in the same region that match the results of a query. You can create a resource group from a query based on resource tags or from a CloudFormation Stack.

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

How many tags can you assign to one resource?

A

50

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

What are the 4 broad tagging strategies?

A

Technical (i.e. Name: webserver1, Environment: Production, Application: database server)

Automation (i.e. use a Date tag to specify when an automation task should occur)

Business (i.e. Owner: John Brunnings, Business Unit: [name of person who pays for the resource], Project: CMIC)

Security (i.e. Confidentiality: PHI, Compliance: HIPAA)

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

What are a few resources that you can make changes to in the mobile app?

A

CloudWatch Alarms
EC2 security groups
EC2 instances
CloudFormation stacks

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

What are the requirements for using the CLI?

A

Your network should allow outbound access to the internet on TCP port 443.

You’ll need an IAM access key ID and secret key to authenticate.

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

In what instance would you not need to install the CLI?

A

If you are running it from an EC2 instance running an Amazon Linux AMI

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

What are the two ways to install the CLI?

A

Python and Pip (recommended way)

Stand-alone installer

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

What is CloudWatch?

A

Think “METRICS.” A service that helps you plan, monitor, and fine-tune your AWS infrastructure and applications.

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

What are a few common use cases for CloudWatch?

A

Infrastructure monitoring and troubleshooting
Resource optimization
Application monitoring
Log analytics

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

What is a metric?

A

A variable that contains a time-ordered set of data points. Each data point contains a timestamp, a value, and optionally a unit of measure.

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

How long does CloudWatch store metrics?

A

15 months

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

What kind of metrics get sent to CloudWatch?

A

EC2 instance CPU utilization
S3 bucket sizes
DynamoDB consumed read and write capacity units

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

What is a CloudWatch Alarm?

A

Think “change.” It watches over the value of a single metric. If the metric crosses a threshold, the alarm will take action. It will not trigger if the metric doesn’t change.

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

What are the actions that a CloudWatch Alarm might take?

A

Notification (SNS)
Auto Scaling action (i.e. adding more EC2 instances)
EC2 action (i.e. stoping, terminating, or recovering an instance)

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

What are CloudWatch Logs?

A

They collect and store log files from AWS and non-AWS sources and makes it easy to view, search, and extract custom metrics from them.

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

What is a metric filter?

A

It extracts data from log events in a log group and stores that data in a custom CloudWatch metric.

17
Q

What is a CloudWatch event?

A

A feature that lets you continuously monitor for specific events that represent a change in your AWS resources (i.e. an EC2 instance going from running to stopped). Unlike CloudWatch alarms, these events trigger immediately as they occur (or when you schedule them).

18
Q

What is CloudTrail?

A

Think “API ACTIONS.” Detailed event logs of EVERY ACTION that occurs against your AWS resources. Technically, it records API and non-API events (such as logging into the management console).

19
Q

CloudTrail classifies events along which two dimensions?

A

Management

Data

20
Q

What is a trail?

A

Think “customization.” A trail is a configuration that directs CloudTrail to record specified events in log files and deliver them to an S3 bucket (i.e. you want to log more than the default of the past 90 days)

21
Q

What are the 3 categories of reports offered by AWS Cost Explorer?

A

Cost and usage reports

Reservation reports

Reserved instance recommendations

22
Q

What are the 5 default Cost and Usage reports (in Cost Explorer)?

A

Monthly costs by service

Monthly costs by linked account

Monthly EC2 running hours costs and usage

Daily costs

AWS Marketplace

23
Q

What is the value of the Reserved Instances Utilization report?

A

It shows you the percentage of your reserved instances you’ve used and how much money you’ve saved or overspent by using reserved instances.

24
Q

What is the value of the Reserved Instances Coverage report?

A

It tells you how many of your running instance hours are covered by instance reservations, how much you’ve spent for on-demand instances, and how much you could have saved by purchasing reserved instances.

25
Q

How long will your session with AWS Management Console remain active?

A

12 hours

26
Q

Which output format does the AWS CLI support?

A

JSON

27
Q

What do AWS SDKs do?

A

The AWS SDKs allow you to use popular programming languages to write applications that interact with AWS services.

28
Q

Which of the following CloudWatch features store performance data from AWS services?

A

Metrics