Curated

Security and Compliance 1 (2.1–2.3)

0 votes

Questions76

  1. Question 1

    Security and Compliance

    A company stores sensitive data on AWS and must document who handles storage disposal. Which disposal task is AWS responsible for?

    Show the answer

    Correct answerC. Sanitizing physical storage devices before disposal

    AWhy not this: Customers define retention requirements and manage deletion of their stored files.

    BWhy not this: Customers must manage backup retention and deletion rather than rely on account closure.

    CWhy this is right: AWS manages physical storage infrastructure, including secure sanitization and disposal.

    DWhy not this: Customers manage the retention and deletion of their snapshots.

    AWS is responsible for sanitizing and disposing of physical storage devices as part of security of the cloud. Customers remain responsible for managing their data lifecycle, including deleting files and snapshots.

    Open this question
  2. Question 2

    Security and Compliance

    A company moves a database from Amazon EC2 to Amazon RDS. After migration, which allocation of operating system patching and database schema management responsibilities is correct?

    Show the answer

    Correct answerD. AWS patches the operating system; the customer manages the schema.

    AWhy not this: Customers patch guest operating systems on EC2, but AWS handles underlying operating system patching for RDS.

    BWhy not this: This reverses the responsibilities: AWS patches the underlying operating system, and the customer manages the schema.

    CWhy not this: RDS includes AWS-managed operating system patching, but AWS does not manage the customer's database schema.

    DWhy this is right: RDS transfers underlying operating system patching to AWS while leaving database schema management with the customer.

    Amazon RDS shifts underlying operating system patching to AWS, while customers retain responsibility for database schema management. Keeping both tasks with the customer incorrectly applies the EC2 responsibility boundary to RDS.

    Open this question
  3. Question 3

    Security and Compliance

    A company stores sensitive customer records in AWS and sends them to an application over the internet. Which benefits can encryption and AWS key management provide? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Centrally manage encryption keys and control their permitted use.D. Protect records from eavesdropping while they travel over networks.E. Protect stored records from disclosure without decryption authorization.

    AWhy not this: Encryption protects confidentiality, not availability; an authorized user may still delete encrypted data.

    BWhy this is right: AWS Key Management Service supports centralized key management and policies controlling key use.

    CWhy not this: Encryption protects confidentiality; availability during an outage comes from backups and multi-Region replication.

    DWhy this is right: Encryption in transit protects data confidentiality against network eavesdropping.

    EWhy this is right: Encryption at rest makes stored data unreadable without authorized access to decryption.

    Encryption protects confidentiality at rest and in transit, while AWS key management supports centralized control of encryption keys. Encryption does not prevent deletion or keep data available; permissions, backups, retention controls, and multi-Region designs address those risks.

    Open this question
  4. Question 4

    Security and Compliance

    Which AWS service provides on-demand access to AWS compliance reports and agreements?

    Show the answer

    Correct answerD. AWS Artifact

    AWhy not this: Amazon CloudWatch collects operational metrics and logs rather than providing AWS compliance reports.

    BWhy not this: AWS CloudTrail records account activity and API events rather than providing AWS compliance reports.

    CWhy not this: AWS Config records resource configurations and evaluates them against rules.

    DWhy this is right: AWS Artifact provides on-demand access to AWS compliance reports and agreements.

    AWS Artifact provides access to AWS compliance reports and agreements. AWS Config evaluates resource configurations against rules; it does not distribute AWS compliance reports.

    Open this question
  5. Question 5

    Security and Compliance

    A company must centrally prevent administrators and root users in current and future member accounts within an organizational unit from disabling AWS CloudTrail, while preserving other permitted administration. Which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Attach an SCP denying trail-disabling actions to the organizational unit.

    AWhy not this: Policies attached to administrator roles do not restrict account root users or automatically cover future roles.

    BWhy not this: AWS Config rules detect configuration noncompliance but do not prevent the disabling action.

    CWhy not this: Alerts report activity after it occurs rather than blocking the disabling action.

    DWhy this is right: An organizational unit's SCP applies preventive permission limits to its member accounts, including root users and accounts added later.

    An SCP attached to an organizational unit sets permission limits for its member accounts, including their root users, and is inherited by accounts added later. IAM role policies do not restrict root users; AWS Config rules and alerts detect activity rather than prevent it.

    Open this question
  6. Question 6

    Security and Compliance

    AWS provides security awareness training to AWS employees, and a customer provides training to its own employees. How does the shared responsibility model classify this control?

    Show the answer

    Correct answerC. A shared control

    AWhy not this: Inherited controls are performed by AWS; the customer does not independently perform the same control for its own environment.

    BWhy not this: Physical security controls protect facilities and physical assets, rather than provide employee security awareness.

    CWhy this is right: Each organization implements awareness and training for its own employees, making it a shared control.

    DWhy not this: A customer-specific control is solely the customer's responsibility, unlike training performed by both organizations.

    Awareness and training is a shared control: AWS and the customer each train their own employees. Inherited controls are performed by AWS and inherited by the customer, rather than performed independently by both organizations.

    Open this question
  7. Question 7

    Security and Compliance

    A company stores business records in Amazon S3 and must distinguish confidential records from public records. Which task is the company's responsibility?

    Show the answer

    Correct answerB. Classify the stored records by sensitivity

    AWhy not this: AWS patches the underlying hosts supporting Amazon S3; customers do not administer those hosts.

    BWhy this is right: Customers understand their business content and are responsible for classifying their data.

    CWhy not this: AWS controls physical access to the facilities that house Amazon S3 infrastructure.

    DWhy not this: AWS replaces physical drives supporting Amazon S3 as part of managing its infrastructure.

    The customer is responsible for classifying its data, including identifying confidential and public records. AWS manages the underlying storage hosts, but that infrastructure responsibility does not include determining the sensitivity of customer content.

    Open this question
  8. Question 8

    Security and Compliance

    Which component of the AWS shared responsibility model covers protecting the infrastructure that runs AWS services?

    Show the answer

    Correct answerC. Security of the cloud

    AWhy not this: Shared controls involve responsibilities at both organizations, rather than AWS infrastructure protection alone.

    BWhy not this: Customer data ownership concerns control of customer content, not protection of AWS infrastructure.

    CWhy this is right: Security of the cloud covers AWS protection of the infrastructure that runs its services.

    DWhy not this: Security in the cloud covers customer responsibilities, rather than protection of AWS infrastructure.

    Security of the cloud is AWS's responsibility and includes protecting the infrastructure that runs AWS services. Security in the cloud refers to the customer's responsibilities for what they deploy and configure.

    Open this question
  9. Question 9

    Security and Compliance

    An auditor requests an AWS SOC report to review AWS-operated controls, rather than the company's own controls. Where should the company obtain the report?

    Show the answer

    Correct answerB. AWS Artifact

    AWhy not this: AWS Security Hub aggregates security findings and assesses security posture, rather than distributing AWS SOC reports.

    BWhy this is right: AWS Artifact provides AWS compliance reports, including SOC reports.

    CWhy not this: AWS Config records resource configurations and evaluates them against rules, rather than distributing AWS audit reports.

    DWhy not this: AWS CloudTrail records account activity, not independent audit reports about AWS-operated controls.

    AWS Artifact provides on-demand access to AWS security and compliance reports, including SOC reports. AWS CloudTrail records account activity; it does not provide independent audit reports about AWS controls.

    Open this question
  10. Question 10

    Security and Compliance

    Which compliance requirement most directly affects the choice of AWS Region for storing customer data?

    Show the answer

    Correct answerA. A legal requirement to retain data within a country

    AWhy this is right: A geographic storage restriction directly affects which AWS Regions are suitable.

    BWhy not this: Access key rotation concerns credential management rather than geographic storage location.

    CWhy not this: Activity logging supports auditing but does not establish an allowed geographic storage location.

    DWhy not this: Encryption in transit protects network traffic but does not determine where data may be stored.

    Data residency requirements can restrict the geographic locations in which data may be stored. Encryption protects data but does not, by itself, satisfy a requirement to keep data within a country.

    Open this question
  11. Question 11

    Security and Compliance

    A US healthcare provider plans to process protected health information using HIPAA-eligible AWS services. Which additional compliance step must it take before processing the information?

    Show the answer

    Correct answerB. Enter into an AWS Business Associate Addendum

    AWhy not this: An Enterprise Support plan is not a prerequisite for entering into the required agreement.

    BWhy this is right: The AWS Business Associate Addendum establishes the required contractual terms for handling protected health information.

    CWhy not this: DDoS protection does not fulfill the HIPAA requirement for a business associate agreement with AWS.

    DWhy not this: Configuration rules can support compliance monitoring but cannot replace the required agreement.

    A healthcare provider subject to HIPAA must enter into an AWS Business Associate Addendum before using eligible services for protected health information. Configuration checks can support compliance, but they do not replace this agreement.

    Open this question
  12. Question 12

    Security and Compliance

    A company is considering an AWS service for a payment application. It needs to verify whether the service is covered by AWS's PCI DSS compliance program, rather than whether its resources are configured securely. Which source should it consult?

    Show the answer

    Correct answerC. AWS Services in Scope by Compliance Program

    AWhy not this: AWS Config evaluates resource configurations against rules; it does not define AWS service coverage under compliance programs.

    BWhy not this: Security standards checks assess resources, not whether an AWS service is covered by AWS's compliance program.

    CWhy this is right: This AWS resource lists services included in the scope of specific compliance programs.

    DWhy not this: Trusted Advisor provides recommendations, not an authoritative list of services covered by AWS compliance programs.

    AWS Services in Scope by Compliance Program identifies services covered by particular AWS compliance programs. AWS Security Hub checks can reveal security issues, but they do not establish whether a service is within AWS's PCI DSS compliance scope.

    Open this question
  13. Question 13

    Security and Compliance

    An application needs to retrieve database credentials at runtime. The company also requires automatic credential rotation through a managed secrets service. Which service should it use?

    Show the answer

    Correct answerB. AWS Secrets Manager

    AWhy not this: IAM Identity Center manages workforce access to accounts and applications, not application database secrets.

    BWhy this is right: Secrets Manager provides runtime secret retrieval and supports automatic rotation of database credentials.

    CWhy not this: AWS KMS manages encryption keys; it does not store and rotate database passwords as application secrets.

    DWhy not this: Parameter Store supports encrypted values but lacks built-in automatic database credential rotation.

    AWS Secrets Manager stores credentials and supports automatic secret rotation. Systems Manager Parameter Store can store encrypted values, but it does not provide built-in automatic database credential rotation.

    Open this question
  14. Question 14

    Security and Compliance

    A company requires IAM user console passwords to contain at least 14 characters and prevents password reuse. What should an administrator configure?

    Show the answer

    Correct answerA. An IAM account password policy

    AWhy this is right: An IAM account password policy supports minimum length and password reuse prevention for IAM users.

    BWhy not this: A service control policy limits available permissions; it does not enforce IAM password composition.

    CWhy not this: A role trust policy identifies principals that can assume the role, not password requirements.

    DWhy not this: A group permissions policy grants or denies AWS actions; it does not set password requirements.

    An IAM account password policy can enforce minimum password length and prevent password reuse for IAM users. Permissions policies control allowed actions, not password composition.

    Open this question
  15. Question 15

    Security and Compliance

    What is the primary purpose of an IAM user's access key ID and secret access key?

    Show the answer

    Correct answerC. Sign programmatic requests to AWS

    AWhy not this: IAM policies define permissions; access keys authenticate programmatic requests.

    BWhy not this: Password-based IAM user console sign-in uses an account identifier, user name, and password.

    CWhy this is right: Access keys sign requests made through tools such as AWS SDKs and the AWS CLI.

    DWhy not this: An MFA device supplies an additional authentication factor; an access key pair does not.

    An access key ID and secret access key are used to sign programmatic AWS requests. IAM users normally sign in to the AWS Management Console with a password, not an access key.

    Open this question
  16. Question 16

    Security and Compliance

    Which AWS capabilities support user authentication or authenticated access to AWS accounts? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Multi-factor authentication (MFA)D. IAM Identity CenterE. Cross-account IAM roles

    AWhy not this: IAM user groups organize users for permission assignment and cannot authenticate or assume roles.

    BWhy this is right: MFA requires an additional factor to verify a user's identity during authentication.

    CWhy not this: SCPs set the maximum permissions for accounts in an organization; they do not verify who a user is.

    DWhy this is right: IAM Identity Center provides centralized workforce sign-in and access to assigned AWS accounts.

    EWhy this is right: Cross-account IAM roles let trusted principals obtain temporary credentials for another account.

    MFA adds an authentication factor, IAM Identity Center provides workforce sign-in, and cross-account roles provide temporary access to another account. IAM user groups organize permission assignments and SCPs set permission limits for accounts; neither authenticates users.

    Open this question
  17. Question 17

    Security and Compliance

    A company must close a standalone AWS account, but its IAM administrator cannot perform the closure. Which approach preserves root-user security while completing the task?

    Show the answer

    Correct answerA. Use an MFA-protected root sign-in for closure, then sign out.

    AWhy this is right: This uses protected root access only for a task that requires it.

    BWhy not this: Additional IAM permissions cannot authorize the root-only closure of a standalone account.

    CWhy not this: An IAM role cannot acquire root-only capabilities through permissions policies.

    DWhy not this: AdministratorAccess through IAM Identity Center does not provide root-only capabilities.

    Closing a standalone AWS account requires the root user. Protect root access with MFA and reserve it for tasks that require it; AdministratorAccess does not grant root-only capabilities.

    Open this question
  18. Question 18

    Security and Compliance

    An IAM user has an identity policy allowing object deletion, and an S3 bucket policy also allows it. Another applicable identity policy explicitly denies deletion. What happens?

    Show the answer

    Correct answerB. Deletion fails because an explicit deny overrides allows.

    AWhy not this: A resource-based allow does not override an applicable explicit deny.

    BWhy this is right: An applicable explicit deny takes precedence over the identity-based and resource-based allows.

    CWhy not this: Policy attachment order does not determine which permissions take precedence.

    DWhy not this: AWS does not resolve policy conflicts by counting allow and deny policies.

    An applicable explicit deny overrides permissions granted by identity-based or resource-based policies. Policy evaluation does not count allow statements or favor the most recently attached policy.

    Open this question
  19. Question 19

    Security and Compliance

    A company is reviewing how IAM can support its staff and applications. Which capabilities does IAM provide? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Assign shared permissions through IAM user groups.C. Require MFA for IAM users.D. Provide temporary credentials through IAM roles.

    AWhy not this: EBS provides volume encryption using AWS KMS keys; IAM controls access rather than encrypting volume data.

    BWhy this is right: Permissions attached to an IAM user group apply to its member users.

    CWhy this is right: IAM supports MFA to strengthen user authentication.

    DWhy this is right: Assuming an IAM role provides temporary security credentials.

    EWhy not this: Amazon GuardDuty analyzes CloudTrail and other logs for threats; IAM does not detect malicious activity.

    FWhy not this: AWS Secrets Manager stores and rotates database credentials; IAM does not manage application passwords.

    IAM supports MFA for users, roles that provide temporary credentials, and user groups for shared permissions. EBS encryption, threat detection from CloudTrail logs (Amazon GuardDuty) and password rotation (AWS Secrets Manager) come from other services.

    Open this question
  20. Question 20

    Security and Compliance

    Which AWS service creates users and attaches policies that control their access to AWS resources?

    Show the answer

    Correct answerC. AWS Identity and Access Management (IAM)

    AWhy not this: Amazon Cognito provides identity capabilities for application customers, not IAM user administration.

    BWhy not this: AWS Organizations manages multiple accounts and organizational controls, not IAM users.

    CWhy this is right: IAM manages IAM users and the policies that define their access to AWS resources.

    DWhy not this: AWS Resource Access Manager shares resources across accounts rather than creating users and attaching policies.

    IAM creates IAM users and uses policies to control access to AWS resources. AWS Resource Access Manager shares resources between accounts but does not create users or attach permission policies to them.

    Open this question
  21. Question 21

    Security and Compliance

    A company needs encryption at rest for objects in Amazon S3, with every use of the key recorded in AWS CloudTrail and no custom cryptographic code. Which option BEST meets this?

    Show the answer

    Correct answerB. S3 server-side encryption with AWS KMS keys

    AWhy not this: S3-managed keys encrypt at rest, but key use is handled by S3 and does not appear as auditable key usage in CloudTrail.

    BWhy this is right: AWS KMS keys encrypt objects at rest, need no custom code, and log each key use to CloudTrail for auditing.

    CWhy not this: A custom library means writing and maintaining cryptographic code, and AWS cannot log use of keys it does not manage.

    DWhy not this: Macie discovers and classifies sensitive data; it does not encrypt objects or log key use.

    Server-side encryption with AWS KMS keys encrypts objects at rest with no custom code, and each use of the KMS key is logged in CloudTrail. S3-managed keys also encrypt at rest, but their use is not recorded as key usage events.

    Open this question
  22. Question 22

    Security and Compliance

    A security team must find out which IAM user deleted a security group yesterday. Where should the team look?

    Show the answer

    Correct answerD. AWS CloudTrail event history

    AWhy not this: Trusted Advisor gives best-practice checks and recommendations, not an activity log.

    BWhy not this: GuardDuty reports suspected threats as findings; it is not the record of every API call.

    CWhy not this: Flow Logs record IP traffic to and from network interfaces, not who made API calls.

    DWhy this is right: CloudTrail records account API calls with the caller identity, time and source IP address.

    CloudTrail records API calls, including the identity, time and source IP address of each caller, so it shows who deleted the security group. VPC Flow Logs capture network traffic metadata, not API activity.

    Open this question
  23. Question 23

    Security and Compliance

    Which AWS service provisions and manages SSL/TLS certificates to encrypt data in transit between users and AWS-hosted websites?

    Show the answer

    Correct answerB. AWS Certificate Manager

    AWhy not this: Inspector scans workloads for vulnerabilities; it does not provide certificates.

    BWhy this is right: Certificate Manager provisions and renews SSL/TLS certificates that enable encryption in transit.

    CWhy not this: Shield protects against DDoS attacks; it does not issue certificates or encrypt traffic.

    DWhy not this: Artifact provides compliance reports and agreements, not certificates for encryption.

    AWS Certificate Manager provisions, manages and renews SSL/TLS certificates, which encrypt data in transit. AWS Shield is tempting but protects against DDoS attacks and does not encrypt traffic.

    Open this question
  24. Question 24

    Security and Compliance

    A company wants to collect application and operating system log files from its Amazon EC2 instances in one place. Which service should it use?

    Show the answer

    Correct answerC. Amazon CloudWatch Logs

    AWhy not this: Cost Explorer analyzes spending and usage, not log files.

    BWhy not this: Shield provides DDoS protection and does not store logs from instances.

    CWhy this is right: CloudWatch Logs centralizes, stores and searches log files from EC2 instances and applications.

    DWhy not this: Artifact supplies compliance reports and agreements; it does not collect instance logs.

    Amazon CloudWatch Logs collects, stores and lets you search log files from EC2 instances and applications. AWS Artifact is tempting because it relates to compliance, but it only provides reports and agreements.

    Open this question
  25. Question 25

    Security and Compliance

    Which measure protects AWS root user sign-in if its password is stolen?

    Show the answer

    Correct answerC. Enable multi-factor authentication

    AWhy not this: An IAM policy cannot be attached to the root user to restrict its permissions.

    BWhy not this: An IAM group controls permissions for its members, not root user authentication.

    CWhy this is right: An additional authentication factor protects sign-in when the password is compromised.

    DWhy not this: A root access key enables programmatic access and adds risk rather than protecting console sign-in.

    Multi-factor authentication requires an additional authentication factor, so a stolen password alone is insufficient. IAM policies cannot restrict the root user by attaching a read-only policy to it.

    Open this question
  26. Question 26

    Security and Compliance

    A developer changes teams and no longer manages Amazon EC2 instances, but still needs access to application logs. What should an administrator do?

    Show the answer

    Correct answerA. Remove EC2 permissions and retain required log access

    AWhy this is right: Removing obsolete permissions while retaining necessary access aligns permissions with current duties.

    BWhy not this: Employment alone does not justify retaining permissions unrelated to current responsibilities.

    CWhy not this: Shared credentials reduce accountability and do not remove unnecessary permissions.

    DWhy not this: Administrator access exceeds the stated need to access application logs.

    Permissions should change with job responsibilities: remove access that is no longer needed while retaining required access. Keeping old permissions creates unnecessary access even when the employee remains with the company.

    Open this question
  27. Question 27

    Security and Compliance

    A company uses IAM Identity Center with an external identity provider. A finance group needs the same read-only AWS permissions in several accounts; which configuration should the administrator use?

    Show the answer

    Correct answerD. Assign a read-only permission set to the group for each account

    AWhy not this: Service control policies set maximum available permissions but do not grant access to a workforce group.

    BWhy not this: An IAM user group belongs to one account and cannot contain an external identity provider's workforce group.

    CWhy not this: IAM permissions boundaries apply to IAM users or roles, not directly to external workforce groups, and do not grant access.

    DWhy this is right: A permission set supplies reusable permissions for group assignments across selected AWS accounts.

    IAM Identity Center permission sets define access that can be assigned to users or groups in selected AWS accounts. Service control policies set permission limits; they do not grant the finance group access.

    Open this question
  28. Question 28

    Security and Compliance

    What does the principle of least privilege require when granting AWS permissions?

    Show the answer

    Correct answerC. Grant only the access needed for assigned tasks

    AWhy not this: Restricting the Region does not justify access to unnecessary services or actions.

    BWhy not this: Members of the same team can have different responsibilities and access requirements.

    CWhy this is right: Permissions limited to required tasks follow the principle of least privilege.

    DWhy not this: Authentication verifies identity; it does not justify administrator permissions.

    Least privilege means granting only the permissions needed for assigned tasks. Team membership alone does not establish identical access needs for every member.

    Open this question
  29. Question 29

    Security and Compliance

    Employees need one portal to access several AWS accounts and supported business applications using their existing workforce identities. Which service best meets this need?

    Show the answer

    Correct answerD. AWS IAM Identity Center

    AWhy not this: Amazon Cognito primarily authenticates application customers rather than centralizing workforce access to AWS accounts.

    BWhy not this: AWS Directory Service provides managed directory capabilities, not the requested multi-account and application access portal.

    CWhy not this: AWS Organizations manages accounts and governance but does not provide the requested workforce access portal.

    DWhy this is right: IAM Identity Center connects workforce identities to assigned AWS accounts and applications through an access portal.

    AWS IAM Identity Center provides centralized workforce access to AWS accounts and supported applications through an access portal. Amazon Cognito primarily provides identity capabilities for users of web and mobile applications.

    Open this question
  30. Question 30

    Security and Compliance

    A company must keep traffic unreadable if intercepted between clients and its Application Load Balancer. Which option meets this requirement?

    Show the answer

    Correct answerB. A TLS certificate from AWS Certificate Manager on the listener

    AWhy not this: KMS-encrypted EBS volumes protect stored data at rest, not network traffic.

    BWhy this is right: A TLS certificate enables HTTPS, which encrypts data in transit between clients and the load balancer.

    CWhy not this: Log file validation detects tampering with CloudTrail logs. It does not encrypt traffic.

    DWhy not this: S3 server-side encryption protects stored objects at rest, not data moving over the network.

    Encryption in transit uses TLS, and a certificate on the load balancer listener makes client connections HTTPS. KMS-encrypted EBS volumes and S3 server-side encryption protect data at rest, not traffic crossing the network.

    Open this question
  31. Question 31

    Security and Compliance

    A company uses several AWS security services across many accounts. It wants one place to view and prioritize their security findings. Which service should it use?

    Show the answer

    Correct answerD. AWS Security Hub

    AWhy not this: Inspector scans workloads for vulnerabilities. It is a source of findings, not a cross-service aggregator.

    BWhy not this: CloudTrail records API activity for auditing. It does not consolidate and prioritize findings from security services.

    CWhy not this: Shield protects against DDoS attacks. It does not aggregate findings from other security services.

    DWhy this is right: Security Hub collects and prioritizes findings from multiple AWS security services and partner products in one place.

    AWS Security Hub aggregates findings from AWS security services and partner tools across accounts into one view, and also runs security checks. Amazon Inspector is one of the finding sources, not the aggregator, since it only scans workloads for vulnerabilities.

    Open this question
  32. Question 32

    Security and Compliance

    An EC2 instance has started sending traffic to an IP address on a known threat list. Which service detects this by analyzing VPC Flow Logs, DNS logs and CloudTrail events?

    Show the answer

    Correct answerD. Amazon GuardDuty

    AWhy not this: Inspector finds vulnerabilities and exposure in workloads. It does not detect runtime threat activity from log analysis.

    BWhy not this: Shield mitigates DDoS attacks. It does not analyze logs to detect compromised instances.

    CWhy not this: Security Hub aggregates findings from other services. It does not do the log-based threat detection itself.

    DWhy this is right: GuardDuty analyzes flow, DNS and CloudTrail data to detect suspicious activity such as contact with threat-listed IPs.

    Amazon GuardDuty is a threat detection service that analyzes VPC Flow Logs, DNS logs and CloudTrail events to flag suspicious activity such as communication with malicious IPs. Security Hub only aggregates findings that other services produce.

    Open this question
  33. Question 33

    Security and Compliance

    Which three AWS services does a customer use to protect resources from vulnerabilities and attacks? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Amazon InspectorC. AWS ShieldE. AWS WAF

    AWhy this is right: Inspector scans workloads for software vulnerabilities and unintended network exposure.

    BWhy not this: Artifact supplies compliance reports and agreements. It does not protect running resources.

    CWhy this is right: Shield protects applications from DDoS attacks.

    DWhy not this: CloudWatch monitors metrics, logs and alarms. It is not a protection service.

    EWhy this is right: WAF filters malicious web requests aimed at protected applications.

    FWhy not this: Config records resource configuration and compliance. It does not defend against attacks.

    Amazon Inspector finds software vulnerabilities, AWS WAF filters malicious web requests, and AWS Shield defends against DDoS attacks. AWS Artifact only provides compliance reports and agreements, so it does not protect resources.

    Open this question
  34. Question 34

    Security and Compliance

    Which task is the customer's responsibility when running an Amazon EC2 instance?

    Show the answer

    Correct answerD. Configuring the instance's security group rules

    AWhy not this: Replacing failed hardware is part of the AWS-managed infrastructure, not a customer task.

    BWhy not this: Data center power is part of the AWS facilities, so AWS maintains it.

    CWhy not this: The global network is AWS infrastructure that AWS operates.

    DWhy this is right: Security group rules are customer-configured network controls for the instance, so this is the customer's task.

    Security group rules control traffic to the customer's instances, so configuring them is security in the cloud and belongs to the customer. Power, hardware and the global network are part of the AWS infrastructure, which AWS operates.

    Open this question
  35. Question 35

    Security and Compliance

    Which task does AWS perform for a company that stores data in Amazon DynamoDB?

    Show the answer

    Correct answerD. Patching the servers and host software that run the service

    AWhy not this: Encrypting sensitive fields in the application is a customer task.

    BWhy not this: The customer decides what data it stores and how it is used.

    CWhy not this: IAM policies for table access are set by the customer, as part of managing access.

    DWhy this is right: DynamoDB is managed, so AWS patches and maintains the hosts and software that run it.

    DynamoDB is a managed service, so AWS patches and maintains the servers and software behind it. Access policies, data choices and application-level encryption remain the customer's responsibility, even though the service is managed.

    Open this question
  36. Question 36

    Security and Compliance

    Which of the following is an AWS responsibility under the shared responsibility model?

    Show the answer

    Correct answerA. Controlling physical access to AWS data centers

    AWhy this is right: Physical security of data centers is part of the infrastructure AWS runs and protects.

    BWhy not this: Enabling MFA for IAM users is part of the customer's account security.

    CWhy not this: Operating system firewalls on instances are configured by the customer.

    DWhy not this: The customer decides how long its own data is kept.

    AWS secures the facilities that house its infrastructure, including controlling who can physically enter data centers. Firewalls on instances, data retention and MFA for IAM users are configured by the customer.

    Open this question
  37. Question 37

    Security and Compliance

    A company runs workloads on Amazon EC2 instances. Which statement correctly divides responsibility for the hypervisor and the guest operating system?

    Show the answer

    Correct answerB. AWS manages the hypervisor; the customer patches the guest operating system

    AWhy not this: This inverts both layers: AWS runs the hypervisor and the customer patches the guest OS.

    BWhy this is right: AWS operates the hypervisor as part of the infrastructure; the customer patches the guest operating system it controls.

    CWhy not this: AWS, not the customer, manages the hypervisor, so this reverses the host-layer split.

    DWhy not this: AWS does manage the hypervisor, but the guest OS on an EC2 instance is the customer's to patch.

    On EC2, AWS operates the virtualization layer, including the hypervisor. The guest operating system on the instance is the customer's to patch and configure. Assuming AWS patches the guest OS confuses EC2 with a managed service.

    Open this question
  38. Question 38

    Security and Compliance

    An application needs permission only to read objects in one S3 bucket. Available AWS managed policies grant broader access. What should an administrator do?

    Show the answer

    Correct answerB. Create a customer managed policy scoped to the required objects

    AWhy not this: AmazonS3ReadOnlyAccess grants read access beyond the single bucket the application needs.

    BWhy this is right: A customer managed policy can restrict permissions to reading objects in the specified bucket.

    CWhy not this: AmazonS3FullAccess allows unnecessary write and administrative actions across S3 resources.

    DWhy not this: Allowing all read actions grants access to services and resources the application does not need.

    A customer managed policy can limit access to the required S3 actions and resources. AmazonS3ReadOnlyAccess is read-only, but its broader resource access exceeds the application's needs.

    Open this question
  39. Question 39

    Security and Compliance

    Which IAM identity collection lets administrators assign the same job-specific permissions to several IAM users?

    Show the answer

    Correct answerD. An IAM user group

    AWhy not this: An IAM role is an identity that can be assumed; it is not a collection of IAM users.

    BWhy not this: An access key is a credential for programmatic access, not a collection for assigning permissions.

    CWhy not this: A password policy controls password requirements, not users' permissions to AWS resources.

    DWhy this is right: Policies attached to an IAM user group grant common permissions to its member users.

    An IAM user group collects IAM users so attached policies grant them common permissions. An IAM role is an assumable identity, not a collection of users.

    Open this question
  40. Question 40

    Security and Compliance

    A company uses an external identity provider and wants employees to access multiple AWS accounts through one portal. Which solution centrally manages their account assignments?

    Show the answer

    Correct answerC. Connect the identity provider to IAM Identity Center

    AWhy not this: Cross-account roles provide access between accounts but do not alone provide a central workforce portal and assignment system.

    BWhy not this: Root-user MFA protects root sign-in; it does not manage employee access across accounts.

    CWhy this is right: IAM Identity Center integrates with external identity providers and centrally assigns workforce access to AWS accounts.

    DWhy not this: Separate IAM users duplicate identities instead of using the existing identity provider for centralized access.

    IAM Identity Center connects an existing identity provider to a central access portal and manages workforce assignments across AWS accounts. Cross-account IAM roles enable account-to-account access but do not alone provide centralized workforce assignments and a portal.

    Open this question
  41. Question 41

    Security and Compliance

    Which task requires root-user access in a standalone AWS account?

    Show the answer

    Correct answerC. Changing the root user's password

    AWhy not this: An IAM principal with appropriate permissions can attach policies to IAM roles.

    BWhy not this: An IAM principal with appropriate permissions can change an IAM user's password.

    CWhy this is right: IAM administrator permissions do not authorize changing the root user's password.

    DWhy not this: An IAM principal with appropriate permissions can create IAM user groups.

    Changing the root user's password requires root-user access or the root password recovery process. An appropriately authorized IAM administrator can change IAM user passwords, create groups, and attach role policies.

    Open this question
  42. Question 42

    Security and Compliance

    An administrator in a standalone AWS account has billing permissions, but IAM access to Billing is deactivated. Who must activate IAM access to Billing?

    Show the answer

    Correct answerB. The AWS account root user

    AWhy not this: Billing permissions take effect for the relevant pages only after the root user activates IAM access.

    BWhy this is right: The root user controls the account setting that activates IAM user and role access to Billing.

    CWhy not this: AdministratorAccess cannot replace the root user's required activation of IAM access to Billing.

    DWhy not this: Assuming a role does not bypass the root-controlled Billing access setting.

    The root user must activate IAM access to Billing before IAM users and roles can use the relevant billing permissions. AdministratorAccess does not bypass this account-level prerequisite.

    Open this question
  43. Question 43

    Security and Compliance

    A company replaces a database it manages on Amazon EC2 with an Amazon RDS database. Which task shifts from the company to AWS?

    Show the answer

    Correct answerC. Installing database engine software on the server

    AWhy not this: Customers remain responsible for deciding who may access their business records.

    BWhy not this: Customers still design and maintain their application's database tables.

    CWhy this is right: RDS installs database engine software as part of provisioning the managed database.

    DWhy not this: Customers remain responsible for determining the sensitivity of their data.

    Amazon RDS handles installation of database engine software, which customers handle for self-managed databases on EC2. Customers still design their database tables and control access to their data.

    Open this question
  44. Question 44

    Security and Compliance

    A company configures security settings for its applications, while AWS configures security settings for its infrastructure. Why is configuration management a shared responsibility?

    Show the answer

    Correct answerB. Each party configures the components under its control.

    AWhy not this: AWS, not the customer, configures the underlying physical infrastructure.

    BWhy this is right: AWS configures its infrastructure, and customers configure their own applications and resources.

    CWhy not this: Customers remain responsible for configuring their application security settings.

    DWhy not this: Customers manage their application settings; AWS approval of each setting is not required by the shared responsibility model.

    Configuration management is shared because AWS and customers configure different components under their respective control. Sharing a control does not mean AWS approves or manages customers' application settings.

    Open this question
  45. Question 45

    Security and Compliance

    A company moves an application from Amazon EC2 to AWS Lambda using a container image that it builds and maintains. Which patching responsibility remains with the company?

    Show the answer

    Correct answerA. Patching software in the function's container image

    AWhy this is right: Customers maintain the software they package in Lambda container images, including applying updates and rebuilding images.

    BWhy not this: AWS maintains firmware on the physical servers supporting Lambda.

    CWhy not this: AWS manages and patches the underlying Lambda host operating system.

    DWhy not this: AWS manages the virtualization infrastructure that runs Lambda functions.

    Customers must update and rebuild their Lambda container images to address vulnerable software. Lambda removes responsibility for the underlying host operating system, but not for software packaged in a customer-maintained image.

    Open this question
  46. Question 46

    Security and Compliance

    Which security control is shared between AWS and customers, with each party performing it for the components it manages?

    Show the answer

    Correct answerD. Patch management

    AWhy not this: AWS controls physical access to its data centers.

    BWhy not this: Customers determine how their data should be classified.

    CWhy not this: AWS manages disposal of the physical hardware used to provide its services.

    DWhy this is right: AWS and customers patch the components each manages.

    Patch management is a shared control: AWS patches infrastructure it manages, while customers patch software they manage. Physical data center access is controlled by AWS rather than shared with customers.

    Open this question
  47. Question 47

    Security and Compliance

    A company must show how an S3 bucket's settings changed over time and whether each change broke a compliance rule. Which service provides this?

    Show the answer

    Correct answerC. AWS Config

    AWhy not this: CloudTrail logs API calls and who made them, but it does not assess configurations against rules.

    BWhy not this: CloudWatch collects metrics, logs and alarms; it does not track configuration history.

    CWhy this is right: AWS Config keeps configuration history and evaluates resources against compliance rules.

    DWhy not this: AWS Artifact provides AWS's compliance reports, not a record of the customer's resource configuration.

    AWS Config records resource configuration history and evaluates it against rules to show compliance. CloudTrail records who made API calls but does not evaluate configurations against compliance rules.

    Open this question
  48. Question 48

    Security and Compliance

    Which feature encrypts Amazon S3 objects at rest as AWS stores them?

    Show the answer

    Correct answerD. Server-side encryption

    AWhy not this: Versioning keeps multiple object versions for recovery; it does not encrypt anything.

    BWhy not this: Amazon Inspector scans for vulnerabilities; it does not encrypt stored objects.

    CWhy not this: HTTPS encrypts data in transit between client and S3; it does not encrypt the stored object.

    DWhy this is right: Server-side encryption encrypts objects as S3 writes them, so stored data is protected at rest.

    Server-side encryption has S3 encrypt each object before writing it to disk, which protects data at rest. HTTPS protects data moving to and from S3, which is encryption in transit, not stored data.

    Open this question
  49. Question 49

    Security and Compliance

    A compliance requirement says the guest operating system must be patched. For which service does this duty fall to the customer?

    Show the answer

    Correct answerD. Amazon EC2

    AWhy not this: S3 is a managed storage service; AWS manages the underlying infrastructure and OS.

    BWhy not this: RDS is managed; AWS patches the underlying operating system of the database host.

    CWhy not this: Lambda is serverless; AWS manages the operating system and runtime environment.

    DWhy this is right: On EC2 the customer manages the guest OS, so patching it is the customer's duty.

    With Amazon EC2 the customer manages the guest OS, including patches, so this compliance duty is theirs. RDS, Lambda and S3 are managed services where AWS handles the underlying operating system.

    Open this question
  50. Question 50

    Security and Compliance

    Which report lists every user in an account with the status of their passwords, access keys and MFA devices?

    Show the answer

    Correct answerD. IAM credential report

    AWhy not this: AWS Artifact reports describe AWS's own compliance, not the account's users.

    BWhy not this: CloudTrail event history shows API activity, not the state of each user's credentials.

    CWhy not this: A CloudWatch dashboard displays metrics and alarms, not credential status.

    DWhy this is right: The credential report lists all IAM users with password, access key and MFA status.

    The IAM credential report is an access report listing all users and the status of their credentials, such as passwords, access keys and MFA. CloudTrail event history shows recent API activity, not a credential inventory.

    Open this question