Flashcards · AWS · Free
AWS flashcards, generated for you.
Example AWS study cards to learn from right now — then generate a full set from your own notes (plus a practice quiz) and export to Quizlet or Anki. Free, no account needed.
Example AWS flashcards
What is an IAM role and when would you use it instead of IAM users?
An IAM role is a set of permissions without permanent credentials. Use roles for: EC2 instances, Lambda functions, cross-account access, and temporary elevated privileges. Roles are assumed temporarily and return temporary credentials.
What does the AWS CLI command `aws s3 cp` do and give a practical example.
Copies files to/from S3. Example: `aws s3 cp /local/file.txt s3://mybucket/path/file.txt` uploads a file. Use `--recursive` flag to copy entire directories.
What is the difference between security groups and NACLs?
Security groups: stateful, instance-level, allow rules only, default deny. NACLs: stateless, subnet-level, allow and deny rules, evaluated in order. Security groups are primary; NACLs are secondary.
How do you SSH into an EC2 instance and what are common permission errors?
Use `ssh -i /path/to/key.pem ec2-user@<public-ip>`. Common errors: key permissions too open (fix: `chmod 400 key.pem`), wrong username (use ec2-user, ubuntu, or admin), or security group not allowing port 22.
What is an S3 bucket policy and how does it differ from IAM policies?
S3 bucket policy: resource-based, attached to bucket, controls access to that specific bucket. IAM policy: identity-based, attached to user/role, controls what that principal can do across AWS. Bucket policies can grant public access; IAM policies cannot.
Describe the AWS VPC (Virtual Private Cloud) model and its key components.
VPC: isolated network environment with custom IP range (CIDR). Key components: subnets (partition VPC into AZs), route tables (define traffic rules), Internet Gateway (public access), NAT Gateway (outbound-only access for private subnets), security groups, NACLs.
What is the difference between RDS Multi-AZ and read replicas?
Multi-AZ: synchronous standby in different AZ, automatic failover, same endpoint, high availability. Read replicas: asynchronous copies (same or different region), separate endpoints, for read scaling. Multi-AZ for resilience; replicas for performance.
How do you scale an EC2 Auto Scaling Group and what triggers scaling?
ASG uses scaling policies: target tracking (maintain metric like CPU %), step scaling (thresholds), simple scaling (single adjustment). Launch template defines instance config. Min/max/desired capacity controls bounds. CloudWatch alarms trigger scale-up/down actions.
What is CloudFront and what are common use cases?
CloudFront: CDN that caches content at edge locations globally. Use cases: serve static assets (S3), reduce origin load, accelerate dynamic content, DDoS protection. Configure origin (S3, EC2, ALB), TTL, behaviors (path-based routing), cache headers.
Explain the AWS Lambda execution model and how to optimize cold starts.
Lambda: serverless compute, triggered by events, billed per invocation and memory-duration. Execution: initialization (cold start) → function code. Optimize cold starts: provisioned concurrency, smaller package size, arm64 architecture, connection reuse in code, layer pre-warming.
Make your own AWS study set
Flashcards for related topics
Studying AWS to build with AI? MindloomHQ turns it into real skills — structured courses, agent projects, and certificates.
Explore MindloomHQ →