All Flashcards
What is the difference between a delay queue and a message timer?
Delay Queue: postpone the delivery of all new messages between 0 seconds and 15 minutes
Message Timer: an initial invisibility timer for a particular message between 0 seconds and 15 minutes
What is connection draining?
Where an Elastic Load Balancer (ELB) keeps open any in-flight connections while an instance is deregistering or unhealthy
What is an Elastic Fabric Adapter (EFA)?
A network device that can be attached to an EC2 instance that accelerates high-performance computing (HPC)
What are the periods after which data is available for:
1) basic monitoring
2) detailed monitoring
3) standard resolution metrics
4) high resolution metrics
Basic Monitoring: 5 minutes
Detailed Monitoring: 1 minute
Standard Resolution Metrics: 1 minute
High Resolution Metrics: 1 second
What is the difference between a CloudFormation stack and a StackSet?
Stack: a set of AWS resources created and managed as a unit.
StackSet: enables create, update, and delete of stacks across multiple accounts and regions
What is the difference between RTO and RPO?
RTO (Recovery Time Objective): the time it takes to return a system to a working state after a disaster
RPO (Recovery Point Objective): the amount of data that can be lost (measured in seconds)
What is the difference between horizontal and vertical scalability?
Horizontal: more instances; scale-out/scale-in
Vertical: more powerful machine; scale-up/scale-down
How many messages per second is supported by an SQS FIFO queue without batching? With batching?
Without Batching: 300 messages
With Batching: 3,000 messages
So, up to 10 messages in a batch
What is a visibility timeout?
The period during which SQS prevents other consumers from receiving and processing a given message.
Default: 30 seconds
Min: 0 seconds
Max: 12 hours
What is the difference between an inbound endpoint and an outbound endpoint in Route 53?
Inbound: on-prem -> AWS
Outbound: AWS -> on-prem
What is the difference between CloudWatch, CloudTrail, and Config?
CloudWatch: performance monitoring, events, alerts
CloudTrail: account-specific activity/audit
Config: resource-specific history, audit, and compliance
What are the possible targets for Kinesis Data Firehose?
1) S3
2) Redshift
3) ElasticSearch (OpenSearch)
4) Splunk
What is AWS DataSync?
A service that enables transferring data from on-prem to AWS storage services such as:
1) S3
2) EFS
3) FSx for Windows File Server
What is a Service Control Policy (SCP)?
A policy that manages control over all accounts in an AWS organization
(does NOT affect service-linked roles)
Which file protocols does File Gateway support?
1) NFS (Network File System)
2) SMB (Server Message Block)
Can an Elastic Load Balancer (ELB) work across regions?
No
What is the difference between an Aurora multi-master DB cluster and a single-master DB cluster?
Multi-Master: All DB instances can perform write operations; there is no failover or downtime; appropriate if continuous availability is required
Single-Master: One DB instance performs write operations; all others are read-only
What attribute allows you to persist an EBS volume even after its EC2 instance terminates?
DeleteOnTermination
What are the pricing differences between alias records and CNAME records?
- No charge for alias queries
- Charge for CNAME queries
How does Aurora break ties when promoting read replicas?
Take highest priority (lowest number, 0-15) Then Largest size Then Pick arbitrarily
What are the supported S3 lifecycle transitions, in order?
Standard -> Standard IA -> Intelligent tiering -> One-zone IA -> Glacier Instant Retrieval -> Glacier Flexible Retrieval -> Glacier Deep Archive
What error is displayed when the target groups for a load balancer have no registered targets?
503: Service Unavailable
What are the different scaling policies for an auto-scaling group and what are their differences?
Target tracking: scale based on a metric
Step scaling: increase/decrease capacity in proportion to the size of the alarm breach; can continue responding to alarms
Simple scaling: scaling must complete and the cooldown period must expire before additional alarms can be responded to
Which runtimes does Lambda support?
- C#/.NET
- Go
- Java
- Node.js
- Python
- Ruby