AWS for Platform Engineers›Modules · Cheat sheet & self-check
Learning Hub / Cloud — OpenStack, AWS & EKS / AWS for Platform Engineers

Modules · wrap-up

Cheat sheet & self-check

21 questions across 7 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. An identity policy allows s3:GetObject, but an SCP on the account denies it. Result?

    Show answer

    B. SCPs set the maximum for an account. An explicit Deny in any applicable policy always wins.

    From lesson 01 · IAM in depth
  2. Q2. What does a role's trust policy define?

    Show answer

    B. Permissions policies say what the role can do; the trust policy says who can become the role.

    From lesson 01 · IAM in depth
  3. Q3. Why prefer roles with temporary credentials over IAM users with access keys?

    Show answer

    B. Long-lived keys leak into laptops, repos and logs. Roles (via SSO, instance profiles, Pod Identity/IRSA) give short-lived credentials.

    From lesson 01 · IAM in depth
  4. Q4. What makes a subnet 'public'?

    Show answer

    B. Public vs private is purely about routing. Instances in a public subnet also need a public IP to be reachable.

    From lesson 02 · VPC design
  5. Q5. Private-subnet nodes pull container images from ECR and read S3 all day. What cuts NAT Gateway cost?

    Show answer

    B. NAT Gateways charge per GB processed. Endpoints keep AWS-service traffic on the AWS network, often cheaper and more private.

    From lesson 02 · VPC design
  6. Q6. Why plan VPC CIDRs carefully before creating anything?

    Show answer

    B. Networks you'll want to connect must not overlap. EKS with the VPC CNI consumes VPC IPs for pods, so size generously.

    From lesson 02 · VPC design
  7. Q7. Why enforce IMDSv2 (tokens required) on instances that run containers?

    Show answer

    B. The instance metadata service hands out the instance role's credentials. IMDSv2 requires a session token (PUT request), and the hop limit stops extra network hops such as containers.

    From lesson 03 · Compute
  8. Q8. What's the main trade-off of Spot instances?

    Show answer

    B. Use Spot for fault-tolerant, stateless or batch workloads, diversify instance types, and handle interruption notices.

    From lesson 03 · Compute
  9. Q9. What does an Auto Scaling group's instance refresh do?

    Show answer

    B. It's the immutable-node rollout: new template (e.g. a new AMI), then instances are replaced in batches.

    From lesson 03 · Compute
  10. Q10. You need host- and path-based routing with TLS termination for web apps. Which load balancer?

    Show answer

    B. ALB is layer 7: it reads HTTP, routes by host and path, and terminates TLS with ACM certificates.

    From lesson 04 · Load balancing & DNS
  11. Q11. A partner requires allow-listing a fixed IP address for your endpoint. Which load balancer helps?

    Show answer

    B. NLBs can use static Elastic IPs per AZ; ALB IP addresses change over time.

    From lesson 04 · Load balancing & DNS
  12. Q12. Why use a Route 53 alias record instead of a CNAME for the zone apex (example.com)?

    Show answer

    B. DNS forbids CNAMEs at the apex. Route 53 aliases solve that for AWS targets.

    From lesson 04 · Load balancing & DNS
  13. Q13. An EBS volume is in eu-west-1a. Can an instance in eu-west-1b attach it?

    Show answer

    B. EBS lives in one availability zone. This is why Kubernetes uses WaitForFirstConsumer with EBS-backed storage classes.

    From lesson 05 · Storage
  14. Q14. Which S3 feature lets you recover an object someone overwrote or deleted?

    Show answer

    B. With versioning, overwrites and deletes create new versions or delete markers; the old versions remain recoverable.

    From lesson 05 · Storage
  15. Q15. Which storage offers a shared filesystem that pods in several AZs can mount read-write at the same time?

    Show answer

    B. EFS is a regional NFS service (ReadWriteMany). EBS is single-AZ block storage, typically attached to one node.

    From lesson 05 · Storage
  16. Q16. What is envelope encryption?

    Show answer

    B. Services (S3, EBS, EKS secrets) use envelope encryption so bulk data is encrypted locally and fast, while the master key stays in KMS with policies and audit.

    From lesson 06 · Security services
  17. Q17. Which service answers 'who called DeleteBucket yesterday, from which IP?'

    Show answer

    B. CloudTrail records AWS API calls: who, what, when, from where. Send it to a central, protected bucket for the long term.

    From lesson 06 · Security services
  18. Q18. What does GuardDuty do?

    Show answer

    B. GuardDuty is managed threat detection. It raises findings that you route to your alerting and incident process.

    From lesson 06 · Security services
  19. Q19. Why use separate AWS accounts for prod and dev instead of one account with naming conventions?

    Show answer

    B. Mistakes and compromises in dev can't touch prod resources in another account, and quotas and costs are separated too.

    From lesson 07 · Multi-account & cost
  20. Q20. What's a Service Control Policy used for?

    Show answer

    B. SCPs never grant anything; they cap what IAM policies in those accounts can allow.

    From lesson 07 · Multi-account & cost
  21. Q21. A team's bill jumps with 'NatGateway-Bytes' and 'DataTransfer' charges. What's a likely fix?

    Show answer

    B. Data processed by NAT and data transfer between AZs, regions and the internet are common hidden costs.

    From lesson 07 · Multi-account & cost