AWS Core Services Interview Questions

261 multiple-choice tech interview questions on AWS Core Services: accounts and Organizations, EC2, Lambda, ECS and EKS, S3, RDS and DynamoDB, VPC, IAM, CloudFormation. Written for technical phone screens and interview prep, organized by subtopic, with a short explanation for every answer. Learn the 242 key terms with the flashcards first, then test yourself.

Take the practice test · Flashcards · All study tools

What it covers

  1. 3.1 Accounts, Organizations and global infrastructure
  2. 3.2 Compute: EC2, AMIs and Auto Scaling
  3. 3.3 Containers, Lambda and app platforms
  4. 3.4 Storage beyond S3: EBS, EFS and FSx
  5. 3.5 Databases: RDS, Aurora and purpose-built engines
  6. 3.6 Networking: VPC, load balancing, DNS and hybrid links
  7. 3.7 Security services and governance controls
  8. 3.8 Integration, analytics and AI services
  9. 3.9 Management, infrastructure as code and operations

Key terms

3.1 Accounts, Organizations and global infrastructure

AWS Organizations
Manages many AWS accounts with consolidated billing and SCPs
Service control policy
Organization guardrail that caps the permissions available in accounts
Management account
The account that creates an AWS organization and pays its bills
Organizational unit
A container for accounts in AWS Organizations, used to apply policies together
SCP inheritance
Each level of the organization tree further limits what accounts below it can do
Delegated administrator
A member account allowed to manage an AWS service across the organization
Resource control policy
An Organizations policy setting maximum permissions on resources in member accounts
Declarative policy
An Organizations policy that enforces a service configuration across accounts
Centralized root access
Managing member accounts without long-term root credentials
Root user MFA
Multi-factor authentication required for root user sign-in
Root-only tasks
A short list of account actions only the root user can do
Account closure
Closing an AWS account, followed by a post-closure period
Account ID
The 12-digit identifier of an AWS account
GovCloud (US)
Isolated AWS regions for US government and regulated workloads
Global services
AWS services not tied to one region, like IAM and Route 53
CloudFront certificate region
CloudFront uses ACM certificates from us-east-1 (N. Virginia)
Default VPC
A ready-made VPC with public subnets that AWS creates in each region
Account per workload
Using separate AWS accounts as boundaries for security, quotas and cost
Account alias
A friendly name for an AWS account's console sign-in URL
AWS Marketplace
A catalog for finding and buying third-party software and data billed via AWS
OrganizationAccountAccessRole
An admin role Organizations creates in new member accounts
aws sso login
Refreshes CLI credentials from an IAM Identity Center session
Credential provider chain
The ordered list of places SDKs and the CLI search for credentials
CloudShell
A browser-based shell preauthenticated with your console credentials
Default region
The region the CLI or SDK uses when none is given
All features
The AWS Organizations mode that enables policies like SCPs
AI opt-out policy
An Organizations policy opting accounts out of AI service content use
AWS RAM
A service for sharing resources like subnets and transit gateways across accounts

3.2 Compute: EC2, AMIs and Auto Scaling

Warm pool
Pre-initialized instances kept stopped or running, ready to join an Auto Scaling group
AMI
Amazon Machine Image: the template, including root volume snapshot, used to launch instances
Launch template
A versioned EC2 launch definition with AMI, type, network and settings
Elastic IP
A static public IPv4 address allocated to your account
EC2 Instance Connect
SSH access by pushing a temporary public key, controlled by IAM
Termination protection
An instance setting that blocks termination via API until turned off
Instance profile
The container that attaches an IAM role to an EC2 instance
Capacity Reservation
Reserved EC2 capacity for an instance type in one zone, billed while it exists
Spot diversification
Spreading Spot requests across many instance types and zones
ASG health checks
EC2 status checks and optional load balancer checks that mark instances unhealthy
Desired capacity
The number of instances an Auto Scaling group keeps running
Instance refresh
Rolling replacement of an Auto Scaling group's instances
Mixed instances policy
An Auto Scaling setting combining instance types and purchase options
Status checks
EC2 checks for underlying host problems and guest OS problems
Automatic recovery
EC2 restarting an instance on healthy hardware after a host failure
Nitro Enclaves
Isolated environments carved from an EC2 instance for processing sensitive data
EC2 Mac
macOS instances on dedicated Mac hardware
Graviton
AWS's Arm-based processors for EC2 and managed services
Lightsail
Simple virtual servers and services sold in fixed-price bundles
EC2 Image Builder
A service that builds, tests and distributes machine images on a schedule
EC2 serial console
Serial port access to an instance for boot and network troubleshooting
Scale-in protection
An Auto Scaling setting that keeps an instance from being chosen for scale-in
Termination policy
Rules an Auto Scaling group uses to choose which instance to remove
Spot price
The current hourly price for Spot capacity, adjusted gradually
DeleteOnTermination
A flag on each EBS volume attachment deciding whether it's deleted with the instance
Subnet zone
Every subnet belongs to one availability zone, which fixes where instances run

3.3 Containers, Lambda and app platforms

EC2
Elastic Compute Cloud: AWS virtual machines
Lambda
AWS serverless functions triggered by events
Fargate
Serverless compute engine for ECS and EKS containers
Task definition
The ECS blueprint describing containers, resources, networking and roles for a task
ECS service
An ECS construct that maintains a desired number of tasks and handles deployments
ECS launch types
Running ECS tasks on Fargate or on EC2 instances you manage
Task role vs execution role
The app's permissions vs the permissions ECS uses to start the task
Capacity provider
An ECS setting linking a cluster to Fargate, Fargate Spot or EC2 capacity
awsvpc mode
The ECS network mode giving every task its own elastic network interface
Fargate Spot
Discounted, interruptible Fargate capacity
EKS Pod Identity
Associating Kubernetes service accounts with IAM roles via an EKS agent
EKS Auto Mode
An EKS mode where AWS manages compute, networking and storage for nodes
Karpenter
An open-source node autoscaler that provisions nodes for pending pods
EKS access entries
EKS API objects that grant IAM principals cluster access
ECR lifecycle policy
Rules that expire old or untagged images in a repository
Pull-through cache
ECR caching images from upstream registries like Docker Hub
Lambda memory
The setting, from 128 MB to 10,240 MB, that also sets a function's CPU share
SnapStart
Lambda restoring a cached snapshot of an initialized environment to cut startup time
Function URL
A dedicated HTTPS endpoint for a Lambda function
Lambda container image
Packaging a function as an OCI image from ECR
Lambda in a VPC
Functions attached to subnets reach the internet only through NAT
Lambda alias
A named pointer, like `prod`, to a function version, with optional weights
Response streaming
Lambda sending response bytes progressively to the client
Powertools for AWS Lambda
An open-source toolkit implementing serverless best practices
AWS Batch
A managed service that runs batch jobs from queues on scalable compute
Immutable deployment
Deploying to brand-new instances, then swapping them in
Amplify Hosting
Git-based hosting and CI/CD for web front ends and full-stack apps
Deployment circuit breaker
ECS detecting failed deployments and rolling back automatically

3.4 Storage beyond S3: EBS, EFS and FSx

gp3
General purpose SSD EBS volume with baseline 3,000 IOPS and 125 MiB/s at any size
Elastic Volumes
Changing an EBS volume's size, type or performance while it's in use
Extending a file system
Growing the partition and file system after resizing a block volume
io2 Block Express
Highest-performance EBS SSD volumes for demanding databases
st1 and sc1
HDD-based EBS types for throughput-heavy sequential workloads
EBS zone scope
Each EBS volume exists in a single availability zone
Multi-Attach
Attaching one io1 or io2 volume to several instances in one zone
EBS encryption by default
A regional setting that makes new EBS volumes encrypted automatically
EBS durability
EBS replicates within one zone; gp3 is designed for 99.8%–99.9% durability
Amazon EFS
Managed, elastic NFS file storage shared across instances and zones
EFS storage classes
Standard, Infrequent Access and Archive tiers for EFS files
EFS Elastic throughput
An EFS mode that scales throughput up and down with demand, paid per use
EFS One Zone
EFS storage stored in a single availability zone at lower cost
EFS access point
An entry point to EFS that enforces a POSIX user and root directory
FSx for Windows File Server
Managed Windows file shares over SMB, integrated with Active Directory
FSx for Lustre
A managed parallel file system for HPC and ML training
FSx for NetApp ONTAP
Managed NetApp ONTAP file systems with multiprotocol access
FSx for OpenZFS
Managed OpenZFS file systems over NFS
S3 File Gateway
An on-premises appliance presenting S3 buckets as file shares
Tape Gateway
A virtual tape library that stores tapes in S3 and Glacier
Lambda with EFS
Lambda functions mounting EFS for shared, persistent files
RAID 0 on EBS
Striping volumes to add performance, without redundancy
AWS Transfer Family
Managed SFTP, FTPS, FTP and AS2 endpoints backed by S3 or EFS
EFS in-transit encryption
Mounting EFS over TLS using the EFS mount helper
Provisioned vs used billing
Paying for allocated capacity versus actual data stored
EFS mount target
A network endpoint for EFS in a subnet of one zone
File system latency
Extra latency from network and metadata operations on shared file systems
EFS replication
Continuous asynchronous replication of an EFS file system to another region or zone

3.5 Databases: RDS, Aurora and purpose-built engines

S3
Simple Storage Service: AWS object storage
RDS
Relational Database Service: managed SQL databases
DynamoDB
Serverless key-value and document database
RDS read replica
An asynchronously replicated, read-only copy of an RDS database
Multi-AZ DB cluster
An RDS deployment with a writer and two readable standbys in three zones
RDS failover
RDS promoting the standby and updating the endpoint's DNS record
RDS Proxy
A managed database proxy that pools connections and smooths failovers
IAM database authentication
Signing in to RDS or Aurora with IAM-generated tokens
RDS Blue/Green Deployments
A staging copy of an RDS database kept in sync for a fast, safe switchover
DB parameter group
A named set of engine configuration values applied to RDS databases
Storage autoscaling
RDS increasing allocated storage when free space runs low
RDS storage size
RDS allocated storage can grow but can't be reduced in place
Aurora endpoints
DNS names for the writer, balanced readers, or custom groups
Aurora replicas
Read instances that share one storage volume with the writer
Aurora I/O-Optimized
An Aurora storage configuration with no per-I/O charges
Aurora DSQL
A serverless, distributed, PostgreSQL-compatible database with multi-region active-active writes
Aurora cloning
Copy-on-write clones of an Aurora cluster
RDS Extended Support
Paid, continued support for older database major versions
RDS Custom
RDS with access to the underlying OS and database for apps needing customization
Amazon Timestream
A managed time-series database, including Timestream for InfluxDB
Stopped RDS instance
RDS allows stopping a database for up to seven days before restarting it
Enhanced Monitoring
Fine-grained OS metrics for RDS instances
Managed master password
RDS storing and rotating the admin password in Secrets Manager
Cross-region replica
A read replica in another region for low-latency reads or DR
RDS licensing
License-included pricing or bring-your-own-license for commercial engines
Aurora Limitless Database
Aurora PostgreSQL with built-in horizontal sharding
Maintenance window
A weekly time slot when RDS can apply updates
ACU
The unit of Aurora Serverless v2 capacity, about 2 GiB of memory

3.6 Networking: VPC, load balancing, DNS and hybrid links

VPC
Virtual Private Cloud: an isolated AWS network
CloudFormation
AWS infrastructure-as-code service using templates and stacks
CloudTrail
Service that logs API activity in an AWS account
Public subnet
A subnet whose route table has a default route to an internet gateway
Reserved subnet addresses
AWS reserves five addresses per subnet, for the network, router, DNS, future use and broadcast
Egress-only internet gateway
An outbound-only IPv6 gateway for a VPC
VPC peering
A private connection between two VPCs, without transitive routing
Transit Gateway
A regional hub connecting many VPCs and on-premises networks
Gateway endpoint
A free VPC endpoint for S3 or DynamoDB added as a route table target
Network Load Balancer
A layer 4 AWS load balancer for TCP, UDP and TLS with static IPs
Gateway Load Balancer
A load balancer for deploying and scaling inline network appliances
ALB targets
Instance, IP or Lambda targets behind an Application Load Balancer
Cross-zone load balancing
Spreading requests across targets in all zones, not just the node's zone
Global Accelerator
Static anycast IPs that route traffic over AWS's network to healthy endpoints
Weighted routing
A Route 53 policy splitting answers between records by weight
Failover routing
A Route 53 policy that switches to a secondary record when the primary is unhealthy
Private hosted zone
A Route 53 zone resolvable only from associated VPCs
Resolver endpoints
Inbound and outbound endpoints for hybrid DNS between VPCs and on premises
VPC Flow Logs
Records of IP traffic metadata for VPCs, subnets or interfaces
Security group reference
A rule source that is another security group, not a CIDR
VPN tunnels
Each AWS Site-to-Site VPN has two tunnels on separate endpoints
Direct Connect encryption
Direct Connect isn't encrypted by default; MACsec or VPN adds it
VPC Lattice
A service networking layer linking services across VPCs and accounts
Zonal NAT gateways
One NAT gateway per zone, with matching routes

3.7 Security services and governance controls

GuardDuty
A threat detection service analyzing AWS logs for malicious activity
Security Hub
A service that aggregates findings and runs security posture checks
Amazon Inspector
Automated vulnerability scanning of EC2, ECR images and Lambda
AWS Config
A service recording resource configuration history and evaluating compliance rules
Config remediation
Automatically fixing noncompliant resources with Systems Manager Automation
Amazon Detective
A service that links log data into graphs to investigate security findings
Rate-based rule
A WAF rule that acts when a client exceeds a request rate
WAF web ACL
A set of WAF rules attached to an HTTP-facing resource
Firewall Manager
Central management of firewall policies across AWS Organizations accounts
AWS Network Firewall
A managed VPC firewall with stateful inspection and IPS
Cognito pools
User pools for sign-in and tokens; identity pools for temporary AWS credentials
Key policy
The resource policy every KMS key must have, controlling who can use it
Multi-Region key
Related KMS keys in several regions sharing key material
CloudHSM
Dedicated, single-tenant hardware security modules in your VPC
Unused access analysis
Access Analyzer findings for idle roles, credentials and permissions
Policy generation
Access Analyzer drafting IAM policies from logged activity
Permissions boundary
A managed policy setting the maximum permissions of a user or role
Security Lake
A security data lake normalizing logs into OCSF
Verified Access
Zero-trust access to corporate apps without a VPN
Log archive account
A dedicated account holding tamper-resistant logs
Parameter Store
Systems Manager storage for config values and SecureString secrets
Audit Manager
A service that continuously collects audit evidence
Leaked key response
Revoking an exposed credential and investigating its activity
AWS Private CA
A managed private certificate authority
Runtime Monitoring
GuardDuty using an agent to watch process and file activity
Security group defaults
Deny all inbound, allow all outbound until rules are added
Code signing
Lambda accepting only packages signed by approved publishers
Region restriction SCP
An SCP denying requests to unapproved regions
Key deletion
KMS keys are deleted only after a 7–30 day waiting period

3.8 Integration, analytics and AI services

HTTP API vs REST API
API Gateway's lower-cost HTTP APIs versus feature-rich REST APIs
WebSocket API
An API Gateway type for persistent two-way connections
Usage plan
API Gateway throttling and quotas applied per API key
Lambda authorizer
A function that API Gateway calls to allow or deny a request
Integration timeout
The time API Gateway waits for a backend, 29 seconds by default
AppSync
Managed GraphQL APIs plus real-time subscriptions and events
Standard vs Express
Step Functions workflow types for long, auditable runs or fast, high-volume ones
Distributed Map
A Step Functions state that processes large datasets in parallel
Amazon EMR
Managed big data frameworks like Spark on EC2, EKS or serverless
OpenSearch Service
Managed OpenSearch for search, logs and analytics
Athena federated query
Querying external sources from Athena through connectors
Athena cost
Athena charges per TB scanned, so layout matters
QuickSight
AWS's business intelligence service for dashboards
MWAA
Amazon Managed Workflows for Apache Airflow
Bedrock Knowledge Bases
Managed retrieval-augmented generation over your documents
Bedrock Guardrails
Configurable safety filters for generative AI inputs and outputs
Bedrock AgentCore
AWS services for deploying and operating AI agents
Bedrock model choice
Foundation models from several providers through one API
Provisioned throughput
Reserved model capacity billed by time
Bedrock data privacy
Bedrock doesn't use customer prompts or outputs to train base models
SageMaker AI
AWS's service for building, training and deploying ML models
Q Developer
AWS's generative AI coding and cloud assistant
Textract
A service extracting text and structured data from documents
Rekognition
Image and video analysis as a managed service
Transcribe and Polly
Speech-to-text and text-to-speech services
Comprehend
A natural language processing service for entities and sentiment

3.9 Management, infrastructure as code and operations

Change set
A preview of the changes a CloudFormation stack update will make
Drift detection
CloudFormation comparing deployed resources to their template
StackSets
Deploying a CloudFormation stack across many accounts and regions
DeletionPolicy
A CloudFormation attribute deciding what happens to a resource on deletion
Stack rollback
CloudFormation undoing a failed create or update
Cross-stack reference
Sharing values between stacks via exported outputs and imports
Fn::GetAtt
A CloudFormation function returning a resource attribute, like an ARN
AWS CDK
A framework defining AWS infrastructure in languages like TypeScript or Python
cdk bootstrap
Preparing an account and region with resources CDK needs to deploy
AWS SAM
A CloudFormation extension and CLI for serverless apps
Session Manager
Browser or CLI shell access to instances through Systems Manager
Patch Manager
Systems Manager feature for scanning and installing OS patches
Run Command
Systems Manager running commands across managed instances
AWS Health Dashboard
A view of AWS service events and those affecting your account
Service Quotas
A console and API for viewing and requesting AWS limits
Compute Optimizer
A service recommending optimal resources from usage data
Event history
CloudTrail's default 90-day record of management events
CloudTrail Lake
A managed store for querying activity logs with SQL
Resource Explorer
Searching resources across regions and accounts
Fault Injection Service
AWS's managed chaos engineering service
cfn-lint and Guard
Template linting and policy-as-code checks for CloudFormation
Custom resource
Template logic run by your Lambda during stack operations
Stack policy
A JSON policy blocking update actions on chosen stack resources
Dynamic reference
A template placeholder resolved from Secrets Manager or Parameter Store
IaC generator
A CloudFormation feature creating templates from existing resources

Sample practice questions

  1. What does AWS Organizations provide?

    1. A searchable directory of the company's employees and their roles
    2. A way to merge two AWS regions into one larger region
    3. One shared S3 bucket that every account in the company uses
    4. Central management of many accounts, with consolidated billing and SCPs

    Answer: D. Central management of many accounts, with consolidated billing and SCPs Using separate accounts per workload or environment is an AWS best practice; Control Tower automates a landing zone.

  2. Which AWS service provides resizable virtual machines?

    1. AWS Lambda
    2. Amazon EC2
    3. Amazon S3
    4. Amazon RDS

    Answer: B. Amazon EC2 EC2 instance families target general purpose, compute, memory, storage or accelerated (GPU) workloads, including AWS Graviton (Arm) chips.

  3. Which AWS service runs code in response to events without provisioning servers, billed per request and duration?

    1. Amazon EC2
    2. AWS Lambda
    3. Amazon Lightsail
    4. AWS Batch

    Answer: B. AWS Lambda Lambda functions can run for up to 15 minutes per invocation.

  4. Which AWS service provides block storage volumes for EC2 instances?

    1. Amazon S3 (Simple Storage Service)
    2. Amazon EBS (Elastic Block Store)
    3. Amazon EFS (Elastic File System)
    4. Amazon DynamoDB (key-value store)

    Answer: B. Amazon EBS (Elastic Block Store) EBS volumes live in one availability zone; EFS is a shared NFS file system across zones.

  5. Which AWS service provides managed relational databases such as PostgreSQL, MySQL, SQL Server and Oracle?

    1. Amazon DynamoDB
    2. Amazon RDS
    3. Amazon Neptune
    4. Amazon Redshift

    Answer: B. Amazon RDS RDS handles backups, patching and Multi-AZ failover. Amazon Aurora is AWS's cloud-native MySQL and PostgreSQL compatible engine.

  6. What is an Amazon VPC?

    1. A VPN client that employees install to reach AWS resources
    2. A content delivery network with edge locations worldwide
    3. An isolated virtual network with your own IP ranges and subnets
    4. A managed DNS service for registering and routing domains

    Answer: C. An isolated virtual network with your own IP ranges and subnets Public subnets route to an internet gateway; private subnets reach the internet through a NAT gateway.

  7. What does Amazon GuardDuty analyze to detect threats?

    1. Your application source code in Git repositories
    2. Invoices and billing data for unusual spend
    3. Sources like CloudTrail events, VPC Flow Logs and DNS logs
    4. Only the security groups attached to instances

    Answer: C. Sources like CloudTrail events, VPC Flow Logs and DNS logs You turn it on; no agents are needed for the basic data sources.

  8. Which AWS service is a cloud data warehouse?

    1. Amazon RDS
    2. Amazon Redshift
    3. Amazon DocumentDB
    4. Amazon EFS

    Answer: B. Amazon Redshift Athena queries data in S3 with SQL without loading it into a warehouse.

  9. Which AWS tool gives recommendations across cost, performance, security, fault tolerance and service limits?

    1. AWS Artifact
    2. Amazon Inspector only
    3. AWS Snowball
    4. AWS Trusted Advisor

    Answer: D. AWS Trusted Advisor The AWS Well-Architected Tool reviews workloads against the six pillars of the Well-Architected Framework.

  10. What does an AWS service control policy (SCP) do?

    1. Grants administrator access to every user in every account
    2. Encrypts all of the data stored in an account with one key
    3. Controls which network traffic can flow between VPCs
    4. Caps the permissions accounts can use; it grants nothing itself

    Answer: D. Caps the permissions accounts can use; it grants nothing itself Effective permissions are the intersection of SCPs and the identity's own IAM policies.

Practice all 261 questions

More Cloud and DevOps