Explain the differences between On-demand, Spot, and Reserved instances, beyond just cost.
Apart from cost, name at least two other factors to consider when choosing an EC2 instance type.
Performance (CPU, memory, storage), network performance, Availability Zones, operating system, security features (like encryption support). Consider the specific requirements of your application.
How does AWS Auto Scaling work with services like EMR? What are the benefits?
Auto Scaling dynamically adjusts the number of EC2 instances in your EMR cluster based on workload demands. Benefits include:
Describe the role of Master Node, Core Node, and Task Node in an EMR cluster, highlighting their differences.
What is AWS Graviton designed for? What are its advantages?
Graviton is a family of Arm-based processors designed by AWS for optimal performance and cost-efficiency on the AWS cloud. Advantages include:
Compare the different Graviton instance families (M, C, R, X, I, G) and provide example use cases for each.
What does “serverless” truly mean in the context of AWS Lambda? What are the key benefits of serverless architectures?
“Serverless” means you don’t have to manage servers, operating systems, or infrastructure. AWS handles all of that. Benefits:
Describe how Lambda integrates with other AWS services, using at least two specific examples.
Lambda integrates seamlessly with many AWS services:
What are some best practices for optimizing Lambda function performance?
Explain the concept of “cold starts” in Lambda. How can you mitigate their impact?
A cold start happens when a Lambda function is invoked for the first time or after a period of inactivity. It takes longer because AWS has to set up the execution environment. Mitigation strategies:
What are some common challenges and pitfalls when working with Lambda? How can you address them?
Why is the COPY command the preferred method for loading data into Amazon Redshift?
COPY is optimized for high-throughput data loading. It’s significantly faster than INSERT statements, especially for large datasets. It can also handle various data formats and sources.
How does Lambda interact with Kinesis streams? What are some considerations for processing Kinesis data with Lambda?
Lambda processes Kinesis data in batches.
Explain the factors that contribute to the cost of running Lambda functions.
How does Lambda handle errors? What are the implications for function design?
Lambda automatically retries failed executions 3 times by default. This is important for transient errors. For more persistent errors, implement proper error handling, logging, and potentially dead-letter queues (DLQs) to avoid infinite retries.
What is the purpose of the concurrency limit in Lambda? How can you manage concurrency for your functions?
The concurrency limit prevents a single function from consuming excessive resources and impacting other applications. You can:
What are the key differences between AWS Fargate and AWS Lambda? When would you choose one over the other?
Compare and contrast Amazon ElastiCache, Amazon RDS, and Amazon DynamoDB. What types of applications are they best suited for?
Explain the use cases for Amazon OpenSearch Service, AWS Data Pipeline, AWS Glue, Amazon Redshift, Amazon S3, and Amazon Kinesis.