SAA Flashcards
What are the rules concerning S3 bucket names?
- They have to be globally unique (no two buckets can have the same name, even if they are created within two different regions, or AWS accounts).
- They have to use DNS name-like rules (only lowercase, can’t have a - in the name, may start with a digit or character).
- Have to be 3-63 characters long.
- Cannot be IP address-like.
EC2 health checks vs. ELB for ASG
- EC2 health checks deal with HOST/INSTANCE issues
- ELB can monitor app health
- ASG using ELB checks detect and replace failed apps/instances
Serverless in AWS
Lambda API Gateway DynamoDB Step Functions S3 SQS/SNS
Max managed IAM policies per group
10
Role permissions policy
Defines what permissions STS gives the identity who assumes a role
What is split view in DNS?
When there are two zones, a private and a public, and they have the same DNS record
Define what a logical resource and a physical resource is within CloudFormation.
A logical resource is the resource defined in code format while the physical resource is the real resource that is actually created in AWS by the logical resource.
Route targets
- Can be IPs
- Can be gateway objects such as IGW, VGW, VPC endpoints, VPC peers, NAT gateways, etc.
How many objects and how much data can S3 store?
S3 can store an unlimited number of objects and an unlimited amount of data.
SQS security
Public service Queue policy (resource policy)
RTO
Recovery Time Objective: How long from the point of failure it will take to recover the system to an operational state
What is RTMP?
Real-Time Messaging Protocol, owned by Adobe. CloudFront has an option to distribute this type of content.
Snowball/Edge/Mobile
- Migrate data to or from S3 faster than you could with an internet connection (high-capacity, suitcase-sized storage).
- Consider when you have high data volume and a bad internet connection.
Bootstrap
- Giving startup commands to an instance
- Configure OS
- Install apps
- Configure apps
- Steps occur after base AMI is installed
- Done via user data for EC2
Route 53 latency
Resolves to record that provides the lowest latency and so ideally best performance
What is the maximum retention period for RDS automatic backups?
35 days
SQS
- Standard or FIFO queues
- 256 KB messages
- Short poll: Queue messages or nothing
- Long poll: Wait for messages (fewer API calls)
Bucket — object versioning
- Can be enabled and paused, not disabled
- Every object gets a version ID
- Deleted objects just have a delete marker added
- Required for CRR
Improving RTO
- Automated recovery
- Automated healing
- Efficient restore processes
VPC Flow Logs
Monitors IP traffic metadata -> S3 or CloudWatch Logs
EMR
- Elastic MapReduce
- Analysis of “big data” (unstructured and semi-structured)
- Cluster (master, core, task)
- HDFS cluster file system
- EMRFS: S3-based cluster file system
What are the types of CloudWatch Events sources?
- Pattern
- Scheduled
Access keys
- Long-term credentials associated with an IAM user
- Give permissions the user has
- Don’t expire
S3 CRR
- Cross-region replication
- Object replication from source bucket to destination bucket in a different region
- Not retroactive; one way only
- DR or read in different region for performance reasons