Quizzes · The core four

Security

Level 0 questions on Security. Read the pillar first if it's new to you.

  • 15 questions, from a pool of 135
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1An SCP on Todo.io's Prod OU allows s3:*. A role in Prod has no IAM policies that mention S3, and the bucket has no bucket policy. Can the role read objects from a bucket in Prod?

Choose one answer

Learn it: SCP (service control policy) · IAM (Identity and Access Management) · Set up AWS: Day 0

Question 2Why does Todo.io keep its apps out of the management account of its organization?

Choose one answer

Learn it: AWS Organizations · SCP (service control policy) · Set up AWS: Day 0

Question 3Todo.io's auditors require that nobody in the Prod account can ever stop CloudTrail logging. Which control meets the requirement?

Choose one answer

Learn it: SCP (service control policy) · Controls (guardrails) · Set up AWS: Day 0 with Control Tower

Question 4Todo.io hires five engineers who need access to both the Dev and Prod accounts, with less access in Prod. What is the recommended way to set this up?

Choose one answer

Learn it: IAM Identity Center · Permission set · Set up AWS: Day 0

Question 5Todo.io runs six AWS accounts and wants a single bill, with usage across all six counted together for volume pricing. What gives them that?

Choose one answer

Learn it: AWS Organizations

Question 6Todo.io attaches an SCP to its Workloads OU. The Prod and Dev accounts sit in that OU, and a Sandbox OU sits inside it. Which accounts does the SCP apply to?

Choose one answer

Learn it: AWS Organizations · SCP

Question 7Todo.io wants to stop anyone, including the root user, from deleting the audit bucket in its Prod account. Prod is a member account. Can an SCP do that?

Choose one answer

Learn it: SCP (service control policy) · Root user

Question 8An SCP on the Prod OU denies a set of RDS actions. Which of these does the SCP NOT restrict?

Choose one answer

Learn it: SCP (service control policy) · Service-linked role

Question 9Todo.io may only run in us-east-1 and eu-west-1, in every account, now and in future accounts. What enforces that?

Choose one answer

Learn it: SCP (service control policy) · Controls (guardrails) · Region

Question 10Todo.io creates a new member account from its management account with AWS Organizations. Nobody knows a password for the new account. How does an administrator get in the first time?

Choose one answer

Learn it: AWS Organizations · Set up AWS: Day 0 · IAM role

Question 11Why does Todo.io put Prod and Dev in separate AWS accounts rather than in one account?

Choose one answer

Learn it: AWS account

Question 12Todo.io wants every production account, including ones it adds next year, to get the same guardrails automatically. What should it do?

Choose one answer

Learn it: AWS Organizations · SCP

Question 13Todo.io wants a multi-account setup with central logging, single sign-on and guardrails, built the AWS-recommended way, with the least work. What should it use?

Choose one answer

Learn it: AWS Control Tower · Set up AWS: Day 0 with Control Tower · Landing zone

Question 14A teammate says that once Todo.io uses Control Tower, it no longer uses AWS Organizations. Which statement is true?

Choose one answer

Learn it: AWS Control Tower

Question 15Todo.io needs a new account for its data team. It must arrive with logging on, guardrails applied and sign-in through Identity Center already set up. What creates it?

Choose one answer

Learn it: Account Factory

Question 16Why does a Control Tower landing zone keep every account's logs in a separate Log Archive account?

Choose one answer

Learn it: Landing zone · Set up AWS: Day 0 with Control Tower

Question 17Todo.io wants to be told whenever an S3 bucket in any account becomes public. Teams must still be able to make the change. Which kind of Control Tower control fits?

Choose one answer

Learn it: Controls (guardrails)

Question 18Nobody in Todo.io's Prod account, not even an administrator, may ever be able to turn off CloudTrail. Which kind of Control Tower control fits?

Choose one answer

Learn it: Controls (guardrails)

Question 19A teammate edits one of Control Tower's SCPs by hand in the Organizations console. What does Control Tower do?

Choose one answer

Learn it: AWS Control Tower

Question 20Todo.io had three accounts before it set up Control Tower. Can they be governed by it?

Choose one answer

Learn it: AWS Control Tower

Question 21Which statement about Control Tower's controls is true?

Choose one answer

Learn it: Controls (guardrails)

Question 22An engineer signs in to the IAM Identity Center access portal and opens the Prod account. What credentials do they get in Prod?

Choose one answer

Learn it: IAM Identity Center · Temporary credentials

Question 23Todo.io assigns the ReadOnlyAccess permission set to an engineer in its Audit account. What does Identity Center create in the Audit account?

Choose one answer

Learn it: Permission set

Question 24Todo.io already manages its staff in Okta. It wants people to sign in to AWS with the same accounts, and leavers to lose AWS access when they are removed from Okta. What should it do?

Choose one answer

Learn it: IAM Identity Center

Question 25An engineer leaves Todo.io. They had access to all six accounts through IAM Identity Center. What is the quickest way to remove their access everywhere?

Choose one answer

Learn it: IAM Identity Center

Question 26An engineer needs full access in Dev but must only be able to look, not change, in Prod. How should Todo.io set this up in IAM Identity Center?

Choose one answer

Learn it: Permission set

Question 27Todo.io expects 50,000 people to sign up to manage their todos. Should those customers be created in IAM Identity Center?

Choose one answer

Learn it: IAM Identity Center · IAM

Question 28Roles named AWSReservedSSO_AdministratorAccess_… appear in Todo.io's Prod account. Where did they come from?

Choose one answer

Learn it: IAM Identity Center

Question 29Todo.io wants every member of staff to use MFA when they sign in to AWS. Staff sign in through IAM Identity Center. Where should MFA be required?

Choose one answer

Learn it: MFA (multi-factor authentication)

Question 30What does an engineer see after signing in to the IAM Identity Center access portal?

Choose one answer

Learn it: IAM Identity Center

Question 31In Todo.io's Prod account, a developer's role has an IAM policy that allows dynamodb:DeleteTable. An SCP attached to the Prod OU denies dynamodb:DeleteTable. The developer tries to delete a table. What happens?

Choose one answer

Learn it: IAM policy · SCP (service control policy) · Set up AWS: Wrong Region

Question 32Todo.io's founder signs in as the root user every day to manage everything. Which change best follows AWS security best practice?

Choose one answer

Learn it: Root user · Set up AWS: Day 0

Question 33Todo.io creates a new IAM role and attaches no policies to it. What can something using the role do?

Choose one answer

Learn it: IAM (Identity and Access Management) · IAM policy

Question 34Todo.io created an IAM role while the console was set to us-east-1. Can an app running in eu-west-1 use the role?

Choose one answer

Learn it: IAM (Identity and Access Management) · Region

Question 35A Todo.io Lambda function must write to a DynamoDB table. How should it get that permission?

Choose one answer

Learn it: IAM role · Lambda

Question 36Which statement describes a resource-based policy?

Choose one answer

Learn it: IAM policy

Question 37A developer may create Lambda functions, but gets AccessDenied when choosing an existing execution role for a new function. What is missing?

Choose one answer

Learn it: iam:PassRole

Question 38Which part of an IAM role decides who is allowed to assume it?

Choose one answer

Learn it: IAM role

Question 39Todo.io's report job only reads items from the Todos table. Which policy follows the principle of least privilege?

Choose one answer

Learn it: IAM policy

Question 40In the ARN arn:aws:dynamodb:us-east-1:111122223333:table/Todos, what is 111122223333?

Choose one answer

Learn it: ARN (Amazon Resource Name)

Question 41Todo.io's staging database was deleted at 3 a.m. last night. Which service shows who deleted it, and from which IP address?

Choose one answer

Learn it: CloudTrail · Set up AWS: Create the database

Question 42Todo.io never created a CloudTrail trail. Can it still see who changed a security group yesterday?

Choose one answer

Learn it: CloudTrail

Question 43Todo.io must keep a record of every AWS API call for seven years. What does it need?

Choose one answer

Learn it: CloudTrail

Question 44Todo.io wants one trail that records every account and every Region in its organization. What should it create?

Choose one answer

Learn it: CloudTrail

Question 45Someone tried to delete Todo.io's audit bucket, and IAM denied it. Does CloudTrail record the attempt?

Choose one answer

Learn it: CloudTrail

Question 46One teammate changes a setting in the console, another with the CLI, and the app with the SDK. Which does CloudTrail record?

Choose one answer

Learn it: CloudTrail · Set up AWS: Create the database

Question 47A bucket policy changed overnight. Which service tells Todo.io who changed it?

Choose one answer

Learn it: CloudTrail · AWS Config

Question 48An administrator in Todo.io's Dev account tries to turn off the organization trail. What happens?

Choose one answer

Learn it: CloudTrail

Question 49What does AWS CloudTrail record?

Choose one answer

Learn it: CloudTrail

Question 50Todo.io looks in CloudTrail Event history in us-east-1 for a call made in eu-west-1, and can't find it. Why?

Choose one answer

Learn it: CloudTrail · Region

Question 51A user reports an error. Todo.io's engineers want to read what the app printed while handling that request. Where do they look?

Choose one answer

Learn it: CloudWatch Logs

Question 52In CloudWatch Logs, what holds the logs for one app or one Lambda function?

Choose one answer

Learn it: CloudWatch Logs

Question 53Todo.io's logs are kept forever by default, and the bill keeps growing. It only needs 30 days. What should it do?

Choose one answer

Learn it: CloudWatch Logs

Question 54Todo.io's app on EC2 writes log files, but nothing shows up in CloudWatch Logs. What is needed?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · CloudWatch Logs

Question 55Todo.io wants to be alerted when its app logs more than 10 ERROR lines in a minute. What should it set up?

Choose one answer

Learn it: CloudWatch Logs

Question 56An EC2 instance in a public subnet sends its log lines to CloudWatch Logs. Which way do they travel?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · CloudWatch Logs

Question 57Can Todo.io's CloudWatch Logs show who deleted the staging database?

Choose one answer

Learn it: CloudWatch Logs · CloudTrail

Question 58Todo.io wants every log line from the last hour that mentions user u-123. What is the quickest way?

Choose one answer

Learn it: CloudWatch Logs

Question 59Todo.io's app logs each user's password when they sign in, to help with debugging. What should Todo.io do?

Choose one answer

Learn it: CloudWatch Logs

Question 60Inside a CloudWatch Logs log group, what is a log stream?

Choose one answer

Learn it: CloudWatch Logs

Question 61Todo.io wants to see how a security group's rules looked last Tuesday, and every change since. Which service shows that?

Choose one answer

Learn it: AWS Config

Question 62A Config rule checks that no S3 bucket is public. A teammate makes a bucket public. Does the rule stop it?

Choose one answer

Learn it: AWS Config · Control Tower controls

Question 63What does an AWS Config rule mark each resource it checks as?

Choose one answer

Learn it: AWS Config

Question 64AWS Config shows that a bucket became public at 14:02. Where should Todo.io look to find out who did it?

Choose one answer

Learn it: AWS Config · CloudTrail

Question 65What are Control Tower's detective controls built from?

Choose one answer

Learn it: AWS Config · Controls (guardrails)

Question 66Todo.io's auditors want ongoing evidence that every EBS volume is encrypted. What provides it?

Choose one answer

Learn it: AWS Config

Question 67Which requirement points to AWS Config rather than an SCP?

Choose one answer

Learn it: Controls (guardrails)

Question 68What does AWS Config record?

Choose one answer

Learn it: AWS Config

Question 69Todo.io turned on AWS Config in us-east-1 only. Resources in eu-west-1 aren't being recorded. Why?

Choose one answer

Learn it: AWS Config · Region

Question 70Todo.io wants one view of compliance across all its accounts and Regions. What gives that?

Choose one answer

Learn it: AWS Config

Question 71Todo.io moves "update the monthly stats" out of its API function and into a worker, with an SQS queue between them. What should the API function's execution role gain?

Choose one answer

Learn it: SQS (Simple Queue Service) · Lambda · IAM policy · VPC (Virtual Private Cloud)

Question 72Before Day 0, Todo.io's developer deployed everything signed in as the root user. After Day 0, how should they sign in to the Prod account?

Choose one answer

Learn it: Root user · IAM Identity Center

Question 73What does "AWS account" mean?

Choose one answer

Learn it: AWS account

Question 74Which term is this? "A container for AWS resources, with its own identities and its own bill."

Choose one answer

Learn it: AWS account

Question 75Which AWS term is described by this analogy? "A flat in an apartment building. Separate locks, separate meter."

Choose one answer

Learn it: AWS account

Question 76What does "Root user" mean?

Choose one answer

Learn it: Root user

Question 77Which term is this? "The identity you sign in as with the account's email address. It can do almost anything; only an SCP can limit it."

Choose one answer

Learn it: Root user

Question 78Which AWS term is described by this analogy? "The master key to the whole building."

Choose one answer

Learn it: Root user

Question 79What does "MFA (multi-factor authentication)" mean?

Choose one answer

Learn it: MFA (multi-factor authentication)

Question 80Which term is this? "A second proof of identity, like a code from an app or a security key, on top of a password."

Choose one answer

Learn it: MFA (multi-factor authentication)

Question 81Which AWS term is described by this analogy? "A PIN on top of the key card."

Choose one answer

Learn it: MFA (multi-factor authentication)

Question 82What does "AWS Organizations" mean?

Choose one answer

Learn it: AWS Organizations

Question 83Which term is this? "Groups many AWS accounts under one management account, with one bill and shared guardrails."

Choose one answer

Learn it: AWS Organizations

Question 84Which AWS term is described by this analogy? "The building management company that owns every flat."

Choose one answer

Learn it: AWS Organizations

Question 85What does "SCP (service control policy)" mean?

Choose one answer

Learn it: SCP (service control policy)

Question 86Which term is this? "An organization-wide guardrail that sets the most any identity in an account may do."

Choose one answer

Learn it: SCP (service control policy)

Question 87Which AWS term is described by this analogy? "The building's rules. Your lease can't give you permission to break them."

Choose one answer

Learn it: SCP (service control policy)

Question 88What does "IAM Identity Center" mean?

Choose one answer

Learn it: IAM Identity Center

Question 89Which term is this? "One place for people to sign in and get access to many AWS accounts."

Choose one answer

Learn it: IAM Identity Center

Question 90Which AWS term is described by this analogy? "The front desk that hands you a temporary key card for whichever flat you're cleared for."

Choose one answer

Learn it: IAM Identity Center

Question 91What does "Permission set" mean?

Choose one answer

Learn it: Permission set

Question 92Which term is this? "A reusable bundle of permissions that Identity Center turns into a role in each account you assign it to."

Choose one answer

Learn it: Permission set

Question 93Which AWS term is described by this analogy? "A job description that comes with the right keys in every building."

Choose one answer

Learn it: Permission set

Question 94What does "AWS Control Tower" mean?

Choose one answer

Learn it: AWS Control Tower

Question 95Which term is this? "Sets up and governs a multi-account AWS environment (a landing zone) for you."

Choose one answer

Learn it: AWS Control Tower

Question 96Which AWS term is described by this analogy? "A developer who builds the whole apartment complex to code, then inspects it regularly."

Choose one answer

Learn it: AWS Control Tower

Question 97What does "Landing zone" mean?

Choose one answer

Learn it: Landing zone

Question 98Which term is this? "A ready-made, well-run multi-account AWS environment for your workloads, set up for you by Control Tower."

Choose one answer

Learn it: Landing zone

Question 99Which AWS term is described by this analogy? "A finished business park, with roads, security gates, CCTV and empty units ready to rent."

Choose one answer

Learn it: Landing zone

Question 100What does "Account Factory" mean?

Choose one answer

Learn it: Account Factory

Question 101Which term is this? "Control Tower's way to create new AWS accounts from a standard template."

Choose one answer

Learn it: Account Factory

Question 102Which AWS term is described by this analogy? "A vending machine for pre-furnished flats."

Choose one answer

Learn it: Account Factory

Question 103What does "Controls (guardrails)" mean?

Choose one answer

Learn it: Controls (guardrails)

Question 104Which term is this? "Control Tower's rules for every account in an OU. Some block, some report, some check before deploying."

Choose one answer

Learn it: Controls (guardrails)

Question 105Which AWS term is described by this analogy? "Locked doors, CCTV, and a plan check before building work starts."

Choose one answer

Learn it: Controls (guardrails)

Question 106What does "IAM (Identity and Access Management)" mean?

Choose one answer

Learn it: IAM (Identity and Access Management)

Question 107Which term is this? "Decides who can do what to which AWS resource."

Choose one answer

Learn it: IAM (Identity and Access Management)

Question 108Which AWS term is described by this analogy? "The building's security office that issues every badge."

Choose one answer

Learn it: IAM (Identity and Access Management)

Question 109What does "IAM role" mean?

Choose one answer

Learn it: IAM role

Question 110Which term is this? "An identity with permissions that something can "wear" temporarily. No password."

Choose one answer

Learn it: IAM role

Question 111Which AWS term is described by this analogy? "A visitor badge that's handed out at the door and expires."

Choose one answer

Learn it: IAM role

Question 112What does "IAM policy" mean?

Choose one answer

Learn it: IAM policy

Question 113Which term is this? "A JSON document listing allowed (or denied) actions on resources."

Choose one answer

Learn it: IAM policy

Question 114Which AWS term is described by this analogy? "The list of rooms printed on the back of a badge."

Choose one answer

Learn it: IAM policy

Question 115What does "ARN (Amazon Resource Name)" mean?

Choose one answer

Learn it: ARN (Amazon Resource Name)

Question 116Which term is this? "The unique full name of an AWS resource."

Choose one answer

Learn it: ARN (Amazon Resource Name)

Question 117Which AWS term is described by this analogy? "A full postal address, down to the flat number."

Choose one answer

Learn it: ARN (Amazon Resource Name)

Question 118What does "Temporary credentials" mean?

Choose one answer

Learn it: Temporary credentials

Question 119Which term is this? "Short-lived AWS keys handed out for a role, which expire automatically."

Choose one answer

Learn it: Temporary credentials

Question 120Which AWS term is described by this analogy? "A wristband that's only valid for today."

Choose one answer

Learn it: Temporary credentials

Question 121What does "Service-linked role" mean?

Choose one answer

Learn it: Service-linked role

Question 122Which term is this? "A role an AWS service creates and owns so it can act in your account on its own behalf."

Choose one answer

Learn it: Service-linked role

Question 123Which AWS term is described by this analogy? "A contractor's own access badge, issued and controlled by the contractor's company."

Choose one answer

Learn it: Service-linked role

Question 124What does "iam:PassRole" mean?

Choose one answer

Learn it: iam:PassRole

Question 125Which term is this? "The permission to hand an existing role to an AWS service."

Choose one answer

Learn it: iam:PassRole

Question 126Which AWS term is described by this analogy? "Being allowed to lend your colleague's key card to a contractor."

Choose one answer

Learn it: iam:PassRole

Question 127What does "CloudWatch Logs" mean?

Choose one answer

Learn it: CloudWatch Logs

Question 128Which term is this? "Where applications and AWS services send their log lines."

Choose one answer

Learn it: CloudWatch Logs

Question 129Which AWS term is described by this analogy? "The building's logbook."

Choose one answer

Learn it: CloudWatch Logs

Question 130What does "CloudTrail" mean?

Choose one answer

Learn it: CloudTrail

Question 131Which term is this? "A record of every AWS API call. Who did what, when, from where."

Choose one answer

Learn it: CloudTrail

Question 132Which AWS term is described by this analogy? "The building's CCTV and visitor book."

Choose one answer

Learn it: CloudTrail

Question 133What does "AWS Config" mean?

Choose one answer

Learn it: AWS Config

Question 134Which term is this? "Records how your resources are configured over time and checks them against rules."

Choose one answer

Learn it: AWS Config

Question 135Which AWS term is described by this analogy? "A building inspector with a notebook and a camera."

Choose one answer

Learn it: AWS Config