TJ - Review mode set 4 Flashcards
You pay for all bandwidth in/out of S3, except for 3 cases. List the 3 cases where you do NOT pay for bandwidth in/out of S3.
– Data transferred in from the Internet.
– Data transferred out to an Amazon EC2 instance, when the instance is in the same AWS Region as the S3 bucket (including to a different account in the same AWS region).
– Data transferred out to Amazon CloudFront.
What is Lambda@Edge?
a feature of Amazon CloudFront that lets you run code closer to users of your application, which improves performance and reduces latency.
What is AWS Health?
provides ongoing visibility into your resource performance and the availability of your AWS services and accounts
In AWS Health, What is the difference between AWS PERSONAL Health Dashboard and AWS SERVICE Health Dashboard?
-Personal health is tailored to a specific AWS account.
-Service health provides a high-level overview of the health and status of AWS services across all regions. Has nothing to do with a specific AWS customer but alerts to anyone in the affected region
What service is most “tightly coupled” with AWS Health?
AWS EventBridge
Health calls out issues, EventBridge acts on them.
What is Eventbridge?
EventBridge is a versatile event bus service designed to integrate with numerous AWS services, such as Lambda, Step Functions, SNS, SQS, and more (cloudwatch, AWS health)
In S3, how do you protect data in a bucket from an AZ wide or region wide failure?
Enable cross-region replication
What is the charge for a stopped On-Demand EC2 instance?
there is no charge for a stopped EC2 instance that you have shut down.
What is the behavior of EBS volumes on a stopped instance?
Information is saved and you are still billed
which SSE provides an audit trail that shows when your key was used and by whom?
-Server-Side Encryption with Amazon S3-Managed Keys (SSE-S3)
-Server-Side Encryption with Customer Master Keys (CMKs) Stored in AWS Key Management Service (SSE-KMS)
- Server-Side Encryption with Customer Master Keys (CMKs) Stored in AWS Key Management Service (SSE-KMS)
How do you collect logs from your Amazon EC2 instances and on-premises servers into CloudWatch?
unified CloudWatch agent, or the old CloudWatch Logs agent.
what is the difference in SSM Agent and cloudwatch agent?
The SSM Agent is used for securely managing and configuring AWS resources, whereas the CloudWatch Agent is used for collecting and tracking metrics and logs from AWS resources.
What is the behavior for standard SQS queues (The default) ?
SQS Standard Queues do not guarantee message order and may deliver duplicates.
What is the behavior for FIFO SQS queues?
SQS FIFO Queues guarantee message order and ensure no duplicates are sent, making them suitable for scenarios where the order of processing and exactly-once delivery are crucial.
List Example Use Cases for FIFO SQS:
-Order processing systems where the order of transactions must be preserved.
-Financial transactions that require exactly-once processing without duplicates.
-Task queues where tasks must be executed in the order they are received.
List Example Use Cases for KDS:
-Real-time log and event data collection and analysis.
-Real-time data processing for analytics dashboards.
-Streaming data ingestion for IoT devices.
-AI training involving processing large volumes of data in real-time and requires high-throughput data ingestion
If you need an RDS db for certain times only (ex. testing twice a week),
what is the best way to save money by running it only when needed?
Run the database (jobs, testing, etc), and then take a snapshot of the DB. Then terminate it. Restore the DB when needed again.
Does a stopped RDS DB incur costs?
Yes, stopped RDS dbs will incur costs on provisioned storage.
Does a stopped On-Demand EC2 instance incur costs?
What about EBS volumes attached to a stopped EC2?
No, there is no charge for a stopped EC2 instance.
Yes, EBS volumes attached to a stopped EC2 will incur costs.
For S3 encryption where you need an audit trail (who used a key and when), what is the best encryption option?
Server-Side Encryption with KMS Key Stored in AWS Key Management Service
(SSE-KMS) will provide necessary audit capabilities for keys.
what is the cheaper but less durable option for S3 storage,
S3-One Zone IA or S3-IA?
S3-One Zone IA is cheaper than S3-IA but less “durable” as it only stores data copies in one AZ.
What is the best way to collect logs from your Amazon EC2 instances and on-premises servers into CloudWatch Logs?
Install the unified CloudWatch Logs agent in each instance which will automatically collect and push data to CloudWatch Logs. Analyze the log data with CloudWatch Logs Insights.
When would you choose KDS over SQS?
When data needs to be delivered in sequence of arrival and ensure no duplicates are produced.
what is Amazon Forecast?
Amazon Forecast is a time-series forecasting service based on machine learning (ML) and built for business metrics analysis