AWS Resources Flashcards
What is a resource group?
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 many tags can you assign to one resource?
50
What are the 4 broad tagging strategies?
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)
What are a few resources that you can make changes to in the mobile app?
CloudWatch Alarms
EC2 security groups
EC2 instances
CloudFormation stacks
What are the requirements for using the CLI?
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.
In what instance would you not need to install the CLI?
If you are running it from an EC2 instance running an Amazon Linux AMI
What are the two ways to install the CLI?
Python and Pip (recommended way)
Stand-alone installer
What is CloudWatch?
Think “METRICS.” A service that helps you plan, monitor, and fine-tune your AWS infrastructure and applications.
What are a few common use cases for CloudWatch?
Infrastructure monitoring and troubleshooting
Resource optimization
Application monitoring
Log analytics
What is a metric?
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 long does CloudWatch store metrics?
15 months
What kind of metrics get sent to CloudWatch?
EC2 instance CPU utilization
S3 bucket sizes
DynamoDB consumed read and write capacity units
What is a CloudWatch Alarm?
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.
What are the actions that a CloudWatch Alarm might take?
Notification (SNS)
Auto Scaling action (i.e. adding more EC2 instances)
EC2 action (i.e. stoping, terminating, or recovering an instance)
What are CloudWatch Logs?
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.
What is a metric filter?
It extracts data from log events in a log group and stores that data in a custom CloudWatch metric.
What is a CloudWatch event?
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).
What is CloudTrail?
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).
CloudTrail classifies events along which two dimensions?
Management
Data
What is a trail?
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)
What are the 3 categories of reports offered by AWS Cost Explorer?
Cost and usage reports
Reservation reports
Reserved instance recommendations
What are the 5 default Cost and Usage reports (in Cost Explorer)?
Monthly costs by service
Monthly costs by linked account
Monthly EC2 running hours costs and usage
Daily costs
AWS Marketplace
What is the value of the Reserved Instances Utilization report?
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.
What is the value of the Reserved Instances Coverage report?
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.
How long will your session with AWS Management Console remain active?
12 hours
Which output format does the AWS CLI support?
JSON
What do AWS SDKs do?
The AWS SDKs allow you to use popular programming languages to write applications that interact with AWS services.
Which of the following CloudWatch features store performance data from AWS services?
Metrics