CompTIA CySA+ Practice Questions: Cloud Security

45 free, exam-style CompTIA CySA+ (CS0-003) practice questions covering Cloud Security. Each question shows the correct answer and a clear explanation. Ready for the real thing? Take the full timed quiz below.

🚀 Take the full CompTIA CySA+ quiz 📘 CompTIA CySA+ study guide

Q1. Which cloud service model provides the MOST management control? (Q-924449)

Explanation: IaaS provides the most control as customers manage OS and applications. Learn more.

Q2. Which cloud security responsibility falls on the customer in an IaaS model? (Q-924482)

Explanation: In IaaS, customers manage guest OS security while the provider handles physical/hypervisor layers. Learn more.

Q3. Which AWS service provides centralized security logging? (Q-924487)

Explanation: AWS CloudTrail logs API calls and account activity. Learn more.

Q4. Which Azure service provides secrets management? (Q-924490)

Explanation: Azure Key Vault stores and manages cryptographic keys, certificates, and secrets. Learn more.

Q5. Which AWS feature enforces resource tagging compliance? (Q-924492)

Explanation: AWS Config Rules automate compliance checks (e.g., required tags). Learn more.

Q6. Which Google Cloud service provides centralized logging? (Q-924495)

Explanation: Google Cloud Logging aggregates logs across services. Learn more.

Q7. Which of the following is a risk of container image repositories? (Q-924496)

Explanation: Public repositories may host compromised or vulnerable container images. Learn more.

Q8. What is the MAIN security benefit of ephemeral environments? (Q-628034)

Explanation: Ephemeral systems are temporary, limiting persistent attack opportunities. Learn more.

Q9. Which AWS service detects unusual API activity? (Q-924499)

Explanation: Amazon GuardDuty uses ML to detect anomalous API calls and compromised credentials. Learn more.

Q10. Which of the following is a risk of serverless architectures? (Q-924500)

Explanation: Serverless functions triggered by events may expose new attack vectors. Learn more.

Q11. Which Azure service provides just-in-time VM access? (Q-924503)

Explanation: Azure Security Center's JIT access reduces exposure of management ports. Learn more.

Q12. What is the MAIN security benefit of immutable infrastructure? (Q-628040)

Explanation: Immutable systems are replaced rather than modified, eliminating unauthorized changes. Learn more.

Q13. Which AWS service detects unused IAM permissions? (Q-924505)

Explanation: IAM Access Analyzer identifies unused permissions for least-privilege refinement. Learn more.

Q14. Which of the following is a risk of over-permissioned API keys? (Q-924506)

Explanation: Over-permissioned keys allow excessive access when leaked. Learn more.

Q15. What is the PRIMARY purpose of a cloud access security broker (CASB)? (Q-628044)

Explanation: CASBs act as gatekeepers between users and cloud apps, enforcing DLP, authentication, etc. Learn more.

Q16. Which Google Cloud service provides workload identity federation? (Q-924509)

Explanation: Cloud IAM's workload identity federation allows external identity providers. Learn more.

Q17. Which of the following is a risk of infrastructure-as-code (IaC)? (Q-924510)

Explanation: IaC templates with errors can propagate insecure configurations rapidly. Learn more.

Q18. What does CWPP stand for in cloud security? (Q-628049)

Explanation: CWPPs secure workloads across VMs, containers, and serverless environments. Learn more.

Q19. Which AWS service provides managed rule-based policy evaluation? (Q-924513)

Explanation: AWS Config evaluates resources against compliance rules. Learn more.

Q20. Which AWS service provides secrets rotation? (Q-924516)

Explanation: AWS Secrets Manager automatically rotates database credentials and API keys. Learn more.

Q21. Which Azure service provides just-in-time network access control? (Q-924519)

Explanation: JIT VM Access in Azure Security Center temporarily opens management ports. Learn more.

Q22. Which Google Cloud service provides workload identity federation? (Q-924521)

Explanation: Workload Identity Federation allows external identities to access GCP resources. Learn more.

Q23. What does CWPP stand for in cloud security? (Q-628059)

Explanation: CWPPs secure workloads across VMs, containers, and serverless. Learn more.

Q24. Which of the following is a risk of container orchestration tools? (Q-924524)

Explanation: Kubernetes/Docker APIs may be misconfigured for unauthorized access. Learn more.

Q25. Which AWS service detects unused IAM permissions? (Q-924525)

Explanation: IAM Access Analyzer identifies unused permissions for least privilege. Learn more.

Q26. Which Google Cloud service provides confidential computing? (Q-924527)

Explanation: Confidential VMs use AMD SEV to encrypt memory during processing. Learn more.

Q27. Which of the following is a risk of infrastructure-as-code (IaC)? (Q-924528)

Explanation: IaC errors can propagate insecure configurations rapidly. Learn more.

Q28. What does CWPP stand for in cloud security? (Q-628067)

Explanation: CWPPs secure workloads across VMs, containers, and serverless. Learn more.

Q29. Which AWS service provides managed rule-based policy evaluation? (Q-924531)

Explanation: AWS Config evaluates resources against compliance rules. Learn more.

Q30. Which AWS service detects unused IAM permissions? (Q-924533)

Explanation: IAM Access Analyzer identifies unused permissions for least privilege. Learn more.

Q31. Which of the following is a risk of over-permissioned API keys? (Q-924534)

Explanation: Over-permissioned keys allow excessive access when leaked. Learn more.

Q32. What is the PRIMARY purpose of a cloud access security broker (CASB)? (Q-628072)

Explanation: CASBs act as gatekeepers between users and cloud apps. Learn more.

Q33. Which Google Cloud service provides workload identity federation? (Q-924537)

Explanation: Workload Identity Federation allows external identities to access GCP resources. Learn more.

Q34. Which of the following is a risk of infrastructure-as-code (IaC)? (Q-924538)

Explanation: IaC templates with errors can propagate insecure configurations rapidly. Learn more.

Q35. What does CWPP stand for in cloud security? (Q-628077)

Explanation: CWPPs secure workloads across VMs, containers, and serverless. Learn more.

Q36. Which AWS service provides managed rule-based policy evaluation? (Q-924541)

Explanation: AWS Config evaluates resources against compliance rules. Learn more.

Q37. Which AWS service detects unused IAM permissions? (Q-924543)

Explanation: IAM Access Analyzer identifies unused permissions for least privilege. Learn more.

Q38. Which of the following is a risk of over-permissioned API keys? (Q-924544)

Explanation: Over-permissioned keys allow excessive access when leaked. Learn more.

Q39. What is the PRIMARY purpose of a cloud access security broker (CASB)? (Q-628082)

Explanation: CASBs act as gatekeepers between users and cloud apps. Learn more.

Q40. Which Google Cloud service provides workload identity federation? (Q-924547)

Explanation: Workload Identity Federation allows external identities to access GCP resources. Learn more.

Q41. Which of the following is a risk of infrastructure-as-code (IaC)? (Q-924548)

Explanation: IaC templates with errors can propagate insecure configurations rapidly. Learn more.

Q42. Which cloud security posture management (CSPM) capability helps identify misconfigurations in cloud environments?

Explanation: CSPM tools continuously monitor cloud environments for compliance violations and misconfigurations. Learn more.

Q43. What is the primary function of a CASB (Cloud Access Security Broker)?

Explanation: CASBs act as a gatekeeper, enforcing enterprise security policies as users access cloud-based resources. Learn more.

Q44. Cloud audit logs show API calls creating access keys from an unusual region. What is the best interpretation?

Explanation: Unexpected identity and access API activity from unusual locations can indicate compromised cloud credentials. Learn more.

Q45. Which source is most useful for identifying successful and failed authentication attempts in a cloud tenant?

Explanation: Identity provider logs record authentication attempts, locations, devices, and conditional access outcomes. Learn more.

More CompTIA CySA+ practice topics