AWS Certified Cloud Practitioner Security and Compliance Summary
Checked 11/2/26
Security and Compliance: key points
- AWS secures the cloud itself; the customer secures what they put in the cloud.
- Protect the root user with MFA and do not use it for everyday tasks.
- Importance
- ★★★★★ (5 / 5)
- Weight
- About 20 of 65 Cloud Practitioner (CLF-C02) questions (30%)
The AWS shared responsibility model, security and compliance resources such as AWS Artifact, governance and monitoring, and access management with IAM users, groups, roles, policies, MFA, and the root user, plus security services such as AWS Shield, AWS WAF, Amazon GuardDuty, and Amazon Inspector.
📖 See more Security and Compliance concepts →Security and Compliance: 10 sample questions
Question 1. Under the AWS shared responsibility model, who is responsible for the physical security of AWS data centers?
- ① The customer and AWS equally
- ② The customer
- ③ The customer's internet provider
- ④ AWS
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ④ AWS
Key point: Security OF the cloud (buildings, hardware) = AWS
AWS is responsible for security *of* the cloud: the buildings, hardware, and global network. Physical data center security is fully AWS's job.
Wrong choices
- The customer: Customers cannot enter AWS data centers, so they cannot protect them.
- The customer and AWS equally: Physical security is entirely AWS's job.
- The customer's internet provider: Internet providers have no role in AWS data center security.
Question 2. A company runs Amazon EC2 instances. Who is responsible for installing security patches on the guest operating system of these instances?
- ① The AWS Marketplace seller of the instance type
- ② AWS Professional Services
- ③ The customer
- ④ AWS
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ③ The customer
Key point: EC2 guest OS patching = customer
With Amazon EC2 (IaaS), the customer manages the guest operating system, including security patches, plus the applications and data on it.
Wrong choices
- AWS: AWS patches the host and hardware, not the guest operating system on EC2.
- AWS Professional Services: Professional Services can be hired for projects, but patching is not automatically their job.
- The AWS Marketplace seller of the instance type: Instance types are not sold by Marketplace sellers, and they do not patch your servers.
Question 3. An auditor asks a company for AWS's security and compliance reports, such as SOC reports. Where can the company download them?
- ① AWS Artifact
- ② Amazon Inspector
- ③ AWS Config
- ④ AWS Security Hub
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ① AWS Artifact
Key point: AWS compliance reports on demand = AWS Artifact
AWS Artifact is a self-service portal for downloading AWS security and compliance reports and reviewing certain agreements with AWS.
Wrong choices
- AWS Config: AWS Config tracks the settings of your own resources, not AWS's audit reports.
- AWS Security Hub: Security Hub collects security findings about your account.
- Amazon Inspector: Inspector scans your workloads for software vulnerabilities.
Question 4. What is the best practice for the AWS account root user?
- ① Share its password with all administrators
- ② Turn on MFA and use it only for the few tasks that need it
- ③ Create access keys for it so scripts can use it
- ④ Use it for daily administration work
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ② Turn on MFA and use it only for the few tasks that need it
Key point: Root user: MFA on, rarely used
The root user has full access to the account. Protect it with multi-factor authentication (MFA) and use it only for tasks that only the root user can do.
Wrong choices
- Use it for daily administration work: Daily work should use IAM identities with limited permissions.
- Create access keys for it so scripts can use it: Root access keys are a big risk and should not be created.
- Share its password with all administrators: Sharing credentials removes accountability and raises risk.
Question 5. An application on Amazon EC2 needs to read files in an Amazon S3 bucket. What is the most secure way to give it access?
- ① Put the instance in an IAM group
- ② Attach an IAM role to the EC2 instance
- ③ Use the root user's credentials
- ④ Store an IAM user's access keys on the instance
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ② Attach an IAM role to the EC2 instance
Key point: App on EC2 needs AWS access = IAM role
An IAM role gives temporary credentials that rotate automatically. Attaching a role to the instance means no long-term keys are stored on the server.
Wrong choices
- Store an IAM user's access keys on the instance: Long-term keys stored on a server can be stolen.
- Put the instance in an IAM group: IAM groups hold users, not EC2 instances.
- Use the root user's credentials: The root user should never be used by applications.
Question 6. A security team wants a record of who made each AWS API call, when, and from where. Which service should it use?
- ① AWS CloudTrail
- ② AWS Config
- ③ Amazon Inspector
- ④ Amazon CloudWatch
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ① AWS CloudTrail
Key point: Who did what (API calls) = CloudTrail
AWS CloudTrail records actions taken in an AWS account, including API calls, the identity that made them, the time, and the source address. It is key for auditing.
Wrong choices
- Amazon CloudWatch: CloudWatch collects performance metrics and logs, not a record of who called each API.
- AWS Config: Config records resource settings over time, not every API call by user.
- Amazon Inspector: Inspector scans for software vulnerabilities.
Question 7. Which AWS service protects all AWS customers against common DDoS attacks automatically and at no extra cost?
- ① AWS WAF
- ② AWS Shield Standard
- ③ Amazon GuardDuty
- ④ AWS Shield Advanced
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ② AWS Shield Standard
Key point: Free automatic DDoS protection = Shield Standard
AWS Shield Standard is turned on for all customers automatically at no extra charge. It protects against common network and transport layer DDoS attacks.
Wrong choices
- AWS Shield Advanced: Shield Advanced adds more protection and support, but it is a paid service.
- AWS WAF: AWS WAF filters web requests with rules you set, and it is charged by use.
- Amazon GuardDuty: GuardDuty detects threats from account activity; it is a paid service.
Question 8. A company's website is being hit by SQL injection attempts. Which service can block these harmful web requests?
- ① AWS WAF
- ② Security groups
- ③ AWS Shield Standard
- ④ Amazon Inspector
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ① AWS WAF
Key point: Filter harmful web requests (SQLi, XSS) = AWS WAF
AWS WAF is a web application firewall. You set rules that look at web requests and block common attacks such as SQL injection and cross-site scripting.
Wrong choices
- AWS Shield Standard: Shield Standard protects against DDoS attacks, not SQL injection in web requests.
- Security groups: Security groups allow or block traffic by port and address, not by what is inside a web request.
- Amazon Inspector: Inspector finds vulnerabilities but does not block web requests.
Question 9. A company wants a service that keeps watching its AWS accounts for signs of threats, such as an instance talking to known bad IP addresses or unusual API activity. Which service should it use?
- ① Amazon Detective
- ② Amazon Inspector
- ③ Amazon GuardDuty
- ④ Amazon Macie
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ③ Amazon GuardDuty
Key point: Continuous threat detection = GuardDuty
Amazon GuardDuty is a threat detection service. It analyzes sources such as AWS CloudTrail events, VPC Flow Logs, and DNS logs to spot suspicious behavior.
Wrong choices
- Amazon Inspector: Inspector looks for software vulnerabilities, not suspicious activity.
- Amazon Detective: Detective helps investigate findings after they are found.
- Amazon Macie: Macie finds sensitive data in Amazon S3.
Question 10. A company wants automatic scanning of its Amazon EC2 instances for known software vulnerabilities and risky network exposure. Which service should it use?
- ① Amazon Macie
- ② AWS Trusted Advisor
- ③ Amazon GuardDuty
- ④ Amazon Inspector
▼ Show answer and explanation▲ Hide answer and explanation
Answer: ④ Amazon Inspector
Key point: Vulnerability scanning = Inspector
Amazon Inspector automatically scans workloads such as Amazon EC2 instances for known software vulnerabilities and unintended network exposure.
Wrong choices
- Amazon GuardDuty: GuardDuty watches for threat activity, not missing software patches.
- AWS Trusted Advisor: Trusted Advisor gives best-practice checks, not software vulnerability scans.
- Amazon Macie: Macie finds sensitive data in S3.
Test yourself.
Written by AI · Not yet reviewed by staff