EduFlow
AWS Cloud Foundations

Checkpoint: Identity and Security

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

This policy is attached to Sam, yet aws s3 ls s3://lantern-posters/ returns AccessDenied. Why?

JSON
{
  "Effect": "Allow",
  "Action": "s3:ListBucket",
  "Resource": "arn:aws:s3:::lantern-posters/*"
}
Question 2 of 5

Lantern’s GitHub Actions workflow deploys the site to S3. What is the recommended way to give it AWS permissions?

Question 3 of 5

A developer’s policies include an Allow for ec2:* on * and this statement. What happens when they launch an instance in us-east-1?

JSON
{
  "Effect": "Deny",
  "Action": "ec2:*",
  "Resource": "*",
  "Condition": { "StringNotEquals": { "aws:RequestedRegion": "eu-west-1" } }
}
Question 4 of 5

A volunteer leaves Lantern. Everyone signs in through IAM Identity Center with permission sets in the dev and production accounts. What do you do?

Question 5 of 5

A scanner reports that an active access key for Lantern’s IAM user export-bot was pushed to a public GitHub repository an hour ago. What should you do first?

5 questions unanswered