Quibank app: now on the App Store — free, works offline. Get the app ↗

25 Security: Shared Responsibility & Compliance Practice Questions & Answers

Every Security: Shared Responsibility & Compliance practice question from the AWS Cloud Practitioner Practice Test, with the correct answer and a short explanation.

Start practice test →
  1. 1. A company runs a web application on Amazon EC2 instances. An audit finds that a security patch is missing from the Linux guest operating system on those instances. Who is responsible for applying it?

    • A.AWS, because Amazon EC2 is a managed service that patches every instance
    • B.Both equally, because each party must apply half of the patches needed
    • C.AWS, because the guest operating system runs on servers that AWS owns
    • D.The customer, because it maintains the guest operating system on Amazon EC2✓ Answer

    On Amazon EC2 the customer controls the guest operating system, so its updates and security patches fall on the customer. AWS secures the host and virtualization layer underneath, and owning the servers does not extend that duty to the guest OS.

    Ref QB-QGN8PGSource: AWS Shared Responsibility Model (aws.amazon.com/compliance/shared-responsibility-model)Report a problem with this question

  2. 2. A startup moving to AWS is dividing security tasks between its own team and AWS. Which task belongs entirely to AWS?

    • A.Patching the applications that its team installs on its instances
    • B.Setting the inbound rules on security groups attached to its instances
    • C.Classifying the business data that its instances store and process
    • D.Maintaining the virtualization layer that runs beneath customer instances✓ Answer

    The virtualization layer is part of the infrastructure that runs AWS services, which is security of the cloud. Security group rules, data classification and application patching are all things the customer configures or owns, even though AWS supplies the security group feature.

    Ref QB-8ZTD9HSource: AWS Shared Responsibility Model, security of the cloudReport a problem with this question

  3. 3. An auditor asks a company which type of control it inherits completely from AWS, with nothing for the company to carry out. Which control fits?

    • A.Physical and environmental controls at AWS data centers✓ Answer
    • B.Configuration management for databases and software
    • C.Awareness and training for the company's employees
    • D.Patch management for guest operating systems and apps

    Physical and environmental controls come fully from AWS, so the customer inherits them and can cite AWS's evidence. Patch management, configuration management and awareness and training are shared controls in which each party has its own part to perform.

    Ref QB-RGZJUHSource: AWS Shared Responsibility Model, inherited controlsReport a problem with this question

  4. 4. A compliance manager is documenting patch management as a shared control for workloads on Amazon EC2. Which description of the split is accurate?

    • A.AWS patches guest operating systems, and the customer patches the host software
    • B.AWS patches the infrastructure, and the customer patches its guest OS and apps✓ Answer
    • C.AWS patches the applications it hosts, and the customer patches the firmware
    • D.AWS patches everything on each instance, and the customer approves the schedule

    Patch management is shared because each party patches the layer it controls: AWS fixes flaws in the infrastructure, and the customer patches its guest operating systems and applications. Firmware and host software are never in the customer's hands.

    Ref QB-9Z6REJSource: AWS Shared Responsibility Model, shared controls: patch managementReport a problem with this question

  5. 5. A company's security policy asks who must train its developers to handle customer data securely. Under the shared responsibility model, who provides that training?

    • A.AWS Support trains each account's users, because every plan includes it
    • B.The company trains both workforces, because it owns all compliance duties
    • C.The company trains its own staff, because each party trains its own people✓ Answer
    • D.AWS trains the company's staff, because training is an inherited control

    Awareness and training is a shared control split by workforce: AWS trains AWS employees, and each customer trains its own people. AWS training its own staff does nothing for the customer's developers, so the duty cannot be inherited.

    Ref QB-SGCWZJSource: AWS Shared Responsibility Model, shared controls: awareness and trainingReport a problem with this question

  6. 6. A team moves a self-managed database from Amazon EC2 to Amazon RDS. Which security task stops being the team's job after the move?

    • A.Choosing whether the database and snapshots are encrypted
    • B.Patching the operating system underneath the database engine✓ Answer
    • C.Controlling network access with the VPC and security groups
    • D.Managing database logins with the engine's own accounts

    Amazon RDS is a managed service, so AWS takes over the database host and its operating system. The customer still controls network access with the VPC and security groups, database logins through engine features, and the choice to encrypt.

    Ref QB-AZH3MKSource: Amazon RDS User Guide, Security in Amazon RDSReport a problem with this question

  7. 7. A company rebuilds an application that ran on Amazon EC2 as AWS Lambda functions using a managed runtime. Which statement describes how its security responsibility changes?

    • A.It gives up IAM permissions to AWS, but keeps securing the hosts for functions
    • B.It hands its code, data and permissions to AWS, which now secures them all
    • C.It keeps its code, data and permissions, and no longer patches a guest OS✓ Answer
    • D.It keeps patching a guest OS, since functions still run on instances it owns

    With AWS Lambda managed runtimes, AWS operates the servers and takes on patching the runtime, so there is no guest OS for the customer to maintain. The customer always keeps ownership of its function code, its data and who has permission to use them.

    Ref QB-TGQ87MSource: AWS Lambda Developer Guide, Understanding the shared responsibility model for Lambda runtime managementReport a problem with this question

  8. 8. A company compares Amazon EC2, Amazon RDS, AWS Lambda and Amazon DynamoDB for a new workload. Which service leaves the company with the most security work to carry out itself?

    • A.Amazon DynamoDB, because the company manages the storage hardware for tables
    • B.Amazon RDS, because the company manages the database host and its OS patches
    • C.AWS Lambda, because the company manages the servers that run each function
    • D.Amazon EC2, because the company manages the guest OS and installed software✓ Answer

    Amazon EC2 is infrastructure as a service, so the customer handles the guest OS, installed software and the security group on each instance. The more abstracted the service, the more of that stack AWS runs, and on Amazon RDS, AWS Lambda and Amazon DynamoDB the hosts and hardware are AWS's job.

    Ref QB-3Z2RDBSource: AWS Shared Responsibility Model, responsibility varies by service usedReport a problem with this question

  9. 9. A bank's external auditor asks for a copy of AWS's latest SOC report. Which AWS service should the bank use to download it?

    • A.AWS Artifact, which provides AWS compliance reports on demand✓ Answer
    • B.Amazon Macie, which stores AWS certifications for auditors
    • C.AWS Config, which keeps AWS audit reports for each account
    • D.AWS Security Hub, which publishes SOC reports for customers

    AWS Artifact is the on-demand source for AWS security and compliance documents such as SOC reports, PCI reports and ISO certifications, and it also handles agreements such as the BAA. The other three services evaluate the customer's own resources or data rather than publishing AWS's reports.

    Ref QB-KG8WYBSource: AWS Artifact User Guide, What is AWS ArtifactReport a problem with this question

  10. 10. A retailer downloads AWS's PCI DSS report from AWS Artifact and plans to give it to its auditor as proof that the retailer itself is PCI DSS compliant. What is the problem with this plan?

    • A.The report lapses on download, so the retailer must request a new one for audits
    • B.The report covers one Region, so the retailer needs a copy for every Region
    • C.The report covers AWS, so the retailer must still show its own compliance✓ Answer
    • D.The report is secret, so the retailer cannot share it with an outside auditor

    Artifact documents show AWS's compliance and can support an audit as evidence about the cloud layer. The customer still has to develop or obtain documents showing that its own company and its use of AWS comply.

    Ref QB-DGSTX9Source: AWS Artifact User Guide, What is AWS ArtifactReport a problem with this question

  11. 11. A company that handles health records wants to check whether a particular AWS service is covered for HIPAA workloads before using it. Where should it look?

    • A.The AWS Well-Architected Tool reviews of the workload
    • B.The AWS Health Dashboard notices about each service
    • C.The AWS Trusted Advisor checks run against the account
    • D.The AWS Services in Scope by Compliance Program page✓ Answer

    AWS Services in Scope by Compliance Program lists which services fall under each program, such as HIPAA, PCI, SOC, FedRAMP and ISO. Trusted Advisor, the Well-Architected Tool and the Health Dashboard deal with account checks, workload reviews and service events, not program scope.

    Ref QB-VYKNC9Source: AWS Services in Scope by Compliance Program (aws.amazon.com/compliance/services-in-scope)Report a problem with this question

  12. 12. A payments company confirmed that one AWS service it uses is in scope for PCI DSS and assumes that every other AWS service it uses is covered too. What should it understand?

    • A.Scope is set per Region, so all services in a covered Region are included
    • B.Scope is set per Support plan, so a higher plan includes every service
    • C.Scope is set per service and program, so each service must be checked✓ Answer
    • D.Scope is set per account, so one covered service covers the whole account

    Compliance requirements vary among AWS services: a service in scope for one program may not be in scope for another, so each service is checked against each program. Accounts, Regions and Support plans do not extend coverage to other services.

    Ref QB-CGEGS8Source: AWS Services in Scope by Compliance Program (aws.amazon.com/compliance/services-in-scope)Report a problem with this question

  13. 13. A consultant is mapping clients to compliance programs by industry. Which pairing is accurate?

    • A.Healthcare with FedRAMP, and card payments with PCI DSS
    • B.Card payments with PCI DSS, and US government with FedRAMP✓ Answer
    • C.Card payments with HIPAA, and US government with PCI DSS
    • D.Healthcare with PCI DSS, and US government with HIPAA

    PCI DSS is the standard for payment card data, FedRAMP is the US government's cloud security program, and HIPAA is the US health care law. The wrong pairings each swap one of these, which is the usual error on this topic.

    Ref QB-UY8B78Source: AWS Compliance Programs (aws.amazon.com/compliance/programs)Report a problem with this question

  14. 14. A sales deck says: "AWS is HIPAA certified, so any application hosted on it is HIPAA compliant." What is wrong with this claim?

    • A.HIPAA has no formal certification, and the customer answers for its own use✓ Answer
    • B.HIPAA has a yearly exam for staff, and each customer must pass it through AWS
    • C.HIPAA has no certification for AWS itself, but each app must buy one from AWS
    • D.HIPAA has a certification for AWS, but it must be renewed in each Region used

    AWS lists HIPAA among laws and regulations for which there is no formal certification. AWS supports customers with eligible services and a BAA, but each customer remains responsible for complying with the law in its own use of AWS.

    Ref QB-FGGGACSource: AWS Compliance Programs, laws and regulations (aws.amazon.com/compliance/programs)Report a problem with this question

  15. 15. A company in Germany must keep its customer records stored in Europe. Who decides the location where this content is stored on AWS?

    • A.AWS, by copying content across Regions to protect its durability
    • B.The customer, by choosing the Region where it stores its content✓ Answer
    • C.The auditor, by approving the Region named in the AWS Artifact report
    • D.AWS, by placing content in the Region closest to each end user

    The customer owns its content and chooses the Regions that hold it. AWS says it will not move content out of the chosen Region without agreement, except as needed to provide services the customer started or to comply with law or a binding order.

    Ref QB-XYABQBSource: AWS Data Privacy FAQ (aws.amazon.com/compliance/data-privacy-faq)Report a problem with this question

  16. 16. A company wants data protected while it travels between users' browsers and its website, not just when it sits on disk. Which encryption type and tool match that goal?

    • A.Encryption at rest, using AWS KMS keys on the storage volumes
    • B.Encryption in transit, using AWS Secrets Manager for passwords
    • C.Encryption in transit, using TLS certificates on the connection✓ Answer
    • D.Encryption at rest, using the Amazon S3 server-side default

    Data moving across a network is protected by encryption in transit, and TLS on the connection is the standard way to do it. AWS KMS volume keys and Amazon S3 default encryption protect stored data, and AWS Secrets Manager stores and rotates credentials rather than encrypting connections.

    Ref QB-EG565BSource: AWS Certificate Manager documentation; AWS Well-Architected Framework, Security Pillar, data protection in transitReport a problem with this question

  17. 17. A company wants HTTPS on its public website and needs a service that will provision the TLS certificates and keep them renewed. Which service fits?

    • A.AWS Certificate Manager, since it issues and renews these certificates✓ Answer
    • B.AWS Key Management Service, since it issues and renews these certificates
    • C.AWS Secrets Manager, since it issues and renews these certificates
    • D.AWS CloudHSM, since it issues and renews these certificates for the site

    AWS Certificate Manager provisions, deploys and renews TLS certificates for integrated services. AWS KMS and AWS CloudHSM hold encryption keys, and AWS Secrets Manager stores and rotates credentials such as database passwords, so none of them is the certificate service.

    Ref QB-WYXYHASource: AWS Certificate Manager User GuideReport a problem with this question

  18. 18. A defense contractor's policy requires encryption keys to live in dedicated, single-tenant hardware, with the company keeping full control of the keys and algorithms. Which service meets this policy?

    • A.AWS Certificate Manager, because its certificates sit on private hardware
    • B.AWS Secrets Manager, because stored credentials act as dedicated keys
    • C.AWS KMS, because this managed service gives each customer its own hardware
    • D.AWS CloudHSM, because the company controls keys on dedicated hardware✓ Answer

    AWS CloudHSM provides single-tenant hardware security modules in which the customer fully controls keys and algorithms, in exchange for more customer responsibility. AWS KMS is a managed service, so it suits teams that do not need dedicated hardware.

    Ref QB-9GCG95Source: AWS CloudHSM User Guide, What is AWS CloudHSMReport a problem with this question

  19. 19. A team uploads a new object to an Amazon S3 general purpose bucket without choosing any encryption setting. What happens to the object at rest?

    • A.Amazon S3 stores it unencrypted until the team adds a customer-provided key
    • B.Amazon S3 encrypts it automatically with server-side keys that S3 manages✓ Answer
    • C.Amazon S3 stores it unencrypted until the team turns on default encryption
    • D.Amazon S3 encrypts it once the team creates a key of its own in AWS KMS

    Amazon S3 now applies server-side encryption with S3 managed keys to all new uploads as the base level, so no setup is needed. SSE-KMS and DSSE-KMS are additional options a team can choose, not preconditions for encryption.

    Ref QB-RY6BP4Source: Amazon S3 User Guide, Protecting data with server-side encryptionReport a problem with this question

  20. 20. A company wants a managed service for creating and controlling encryption keys used with Amazon EBS, Amazon S3 and Amazon RDS, with no hardware to operate and with each key use logged. Which choice fits?

    • A.AWS CloudHSM, because a single-tenant cluster needs no customer management
    • B.AWS Secrets Manager, because rotating credentials also encrypts each volume
    • C.Amazon Macie, because finding sensitive data also encrypts it in each service
    • D.AWS KMS, because it is managed and AWS CloudTrail logs each use of its keys✓ Answer

    AWS KMS is the managed key service that integrates with services such as Amazon EBS, Amazon S3 and Amazon RDS, and AWS CloudTrail records use of its keys. AWS CloudHSM adds customer responsibility, while AWS Secrets Manager and Amazon Macie handle credentials and sensitive data discovery rather than keys.

    Ref QB-GJSYFDSource: AWS KMS Developer Guide, AWS Key Management Service overviewReport a problem with this question

  21. 21. A production database was deleted overnight. The security lead needs to know which identity deleted it, and when. Which service answers that question?

    • A.AWS CloudTrail, because it records the API calls made in the account✓ Answer
    • B.AWS Config, because it records resource configuration over time
    • C.Amazon CloudWatch, because it tracks metrics and database alarms
    • D.Amazon Inspector, because it scans account resources for flaws

    AWS CloudTrail records API activity, including the identity, time and action, so it answers who did what and when. Amazon CloudWatch covers performance and alarms, AWS Config covers how a resource was configured, and Amazon Inspector covers software vulnerabilities.

    Ref QB-Z2Y53ESource: AWS CloudTrail User Guide, How CloudTrail worksReport a problem with this question

  22. 22. An auditor asks which ports a security group allowed three months ago, and whether that setting met company rules at the time. Which service is built to answer this?

    • A.AWS Config, which keeps configuration history and evaluates resources✓ Answer
    • B.Amazon CloudWatch, which keeps port settings and evaluates each rule
    • C.AWS CloudTrail, which keeps metric history and evaluates each threshold
    • D.Amazon GuardDuty, which keeps network rule history and evaluates compliance

    AWS Config records resource configuration history and uses Config rules to flag noncompliant resources, so it shows what a resource looked like at a past time. AWS CloudTrail shows who changed it, and Amazon CloudWatch and Amazon GuardDuty do not keep configuration history.

    Ref QB-FJENACSource: AWS Config Developer Guide, What Is AWS ConfigReport a problem with this question

  23. 23. An operations team wants an alert and an automated action whenever CPU use on its Amazon EC2 instances stays above 80% for 10 minutes. Which service should it use?

    • A.Amazon Detective, since its findings act on performance drops
    • B.Amazon CloudWatch, since its alarms act on metric thresholds✓ Answer
    • C.AWS CloudTrail, since its trails act on CPU usage records
    • D.AWS Config, since its rules act on each instance's CPU load

    Amazon CloudWatch collects metrics and its alarms watch thresholds and can trigger automated actions. AWS CloudTrail records API calls, AWS Config evaluates configuration, and Amazon Detective investigates the root cause of security findings.

    Ref QB-Y2MTVCSource: Amazon CloudWatch User Guide, What is Amazon CloudWatchReport a problem with this question

  24. 24. A company relies on AWS CloudTrail Event history and now needs seven years of API activity records to satisfy a regulator. What should it set up?

    • A.A CloudTrail trail that delivers log files to an Amazon S3 bucket it specifies✓ Answer
    • B.A longer retention period on Event history, which then holds the records itself
    • C.An AWS Config rule that stores each API call in the history of its resource
    • D.A CloudWatch alarm that copies each API call into Event history every day

    Event history is free and automatic but covers only a limited recent window of management events, and that window cannot be extended. Long-term retention needs a trail delivering to an Amazon S3 bucket you specify.

    Ref QB-EJ3B5BSource: AWS CloudTrail User Guide, How CloudTrail worksReport a problem with this question

  25. 25. A security engineer wants to trim an IAM role down to least privilege and needs to see which AWS services the role has actually used and which it has not. Which information helps most?

    • A.Amazon CloudWatch dashboards, which show services by metric volume
    • B.IAM credential reports, which show services each role can still use
    • C.IAM last accessed information, which shows services used and when✓ Answer
    • D.AWS Shield Advanced reports, which show services attacked and when

    Last accessed information shows which services and actions an identity has used, so unused permissions can be removed to reach least privilege. Credential reports list user credential status, not service use, and the Shield and CloudWatch views do not show what a role has used.

    Ref QB-X29GQBSource: IAM User Guide, Refine permissions using last accessed informationReport a problem with this question

Other topics in this exam

Practice questions built from the domains and task statements in the published AWS exam guide (CLF-C02). AWS and AWS Certified Cloud Practitioner are trademarks of Amazon.com, Inc. or its affiliates; this site is not affiliated with or endorsed by Amazon Web Services, and these are not real exam questions. Fees, scoring, exam languages, Support plans, service names and prices change over time — confirm the current details on the AWS website before you book. The real exam also has multiple-response questions, which this single-answer practice does not reproduce. AWS exam guide (CLF-C02) →