Amazon Web Services (AWS) Quiz
AWS services and concepts — EC2, S3, IAM, and the building blocks behind the world's largest cloud platform.
This category currently has 100 questions in the SERVBG quiz bank. Below are a few sample questions — the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
A company wants to commit to a consistent amount of compute usage (measured in $/hour) across any instance family, size, OS, or region. Which pricing model provides the highest flexibility while still offering a discount over On-Demand?
- Convertible Reserved Instances
- Compute Savings Plans
- EC2 Instance Savings Plans
- Standard Reserved Instances
- Spot Instance blocks
An Auto Scaling Group lifecycle hook is in the 'Pending:Wait' state. The hook's heartbeat timeout expires before the custom action completes. What happens by default?
- The instance is immediately terminated and replaced
- The instance is marked unhealthy and replaced after two health-check failures
- The ASG sends an SNS alert and waits for operator approval
- The instance moves to 'Pending:Proceed' and continues launching
- The instance stays in 'Pending:Wait' indefinitely until manually resolved
What is the primary cause of a Lambda 'cold start', and which runtime typically has the lowest cold-start latency?
- Cold starts happen when the function code exceeds 50 MB; Java has the lowest latency due to JIT
- Cold starts occur only when memory is set below 512 MB; increasing memory eliminates them
- Cold starts occur when a new execution environment is initialized; compiled runtimes like Rust or Go typically have lower cold-start latency than JVM-based ones
- Cold starts are triggered by VPC attachment; disabling VPC eliminates cold starts entirely
- Cold starts are caused by Lambda throttling; Python always has the lowest latency
Lambda SnapStart is currently supported for which runtime, and what does it snapshot?
- Go 1.x; it snapshots the compiled binary and linked libraries at deploy time
- All runtimes with ARM64 architecture; it snapshots the function's memory state mid-execution
- Python 3.12; it snapshots the function's /tmp storage and environment variables
- Node.js 20; it snapshots the event payload and function code package
- Java (Corretto 11/17/21); it snapshots the initialized execution environment after the init phase
AWS App Runner automatically scales containers based on incoming requests. Which source types can App Runner use to build and deploy an application?
- Only DockerHub images or AWS CodeArtifact packages
- Only S3-hosted ZIP archives or ECS task definitions
- A source code repository (GitHub) or a container image stored in ECR
- Only Lambda function ARNs or Elastic Beanstalk environments
- Only Fargate task definitions or EKS Helm charts
Related categories
Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
JavaScript (Coding)
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
Security
General information security concepts — threats, defenses, and the fundamentals every IT professional should know.
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.