CCSK Cloud Application Security — Questions and Answers
Question 1: Which methodology integrates security practices directly into the DevOps pipeline for cloud applications?
- DevSecOps (Correct answer)
- Agile Security
- Waterfall Assurance
- SecureOps
Correct answer: DevSecOps
DevSecOps embeds security checks and automation throughout the DevOps pipeline so vulnerabilities are caught early in the development lifecycle.
Question 2: According to the CSA CCSK guidance, which phase of the Secure Software Development Lifecycle (SSDLC) should threat modeling occur?
- Testing
- Design (Correct answer)
- Deployment
- Operations
Correct answer: Design
Threat modeling should be performed during the Design phase so that security requirements and mitigations are built into the architecture before code is written.
Question 3: What is the primary purpose of a Web Application Firewall (WAF) deployed in front of a cloud-hosted application?
- Encrypt data at rest
- Filter and monitor HTTP/HTTPS traffic to block application-layer attacks (Correct answer)
- Manage user identities and access tokens
- Provide DDoS protection at the network layer
Correct answer: Filter and monitor HTTP/HTTPS traffic to block application-layer attacks
A WAF inspects HTTP/HTTPS traffic and blocks application-layer attacks such as SQL injection and cross-site scripting before they reach the application.
Question 4: In cloud-native application development, which practice helps ensure that secrets such as API keys and database credentials are NOT hardcoded in source code?
- Code obfuscation
- Use of a secrets management service or vault (Correct answer)
- Role-based access control
- Static application security testing
Correct answer: Use of a secrets management service or vault
Secrets management services (e.g., HashiCorp Vault or cloud-native equivalents) store and inject credentials at runtime, preventing them from being embedded in source code.
Question 5: Which OWASP resource specifically addresses the most critical security risks found in web applications and is commonly referenced in CCSK cloud application security?
- OWASP SAMM
- OWASP ASVS
- OWASP Top 10 (Correct answer)
- OWASP Testing Guide
Correct answer: OWASP Top 10
The OWASP Top 10 is the widely recognized list of the most critical web application security risks and is a key reference for cloud application security.
Question 6: Static Application Security Testing (SAST) tools analyze an application to find vulnerabilities at which stage?
- At runtime during production
- During the design phase before coding begins
- By examining source code or binaries without executing the program (Correct answer)
- By monitoring live network traffic
Correct answer: By examining source code or binaries without executing the program
SAST analyzes source code, bytecode, or binaries in a non-running state, enabling early detection of vulnerabilities before deployment.
Question 7: In the context of cloud application security, what does the term 'shift left' mean?
- Moving workloads to a different cloud region
- Integrating security activities earlier in the development lifecycle (Correct answer)
- Shifting responsibility for security from developers to operations
- Migrating on-premises apps to the cloud
Correct answer: Integrating security activities earlier in the development lifecycle
Shifting left means incorporating security testing and reviews earlier in the SDLC — during design and development — rather than waiting until testing or deployment.
Question 8: Which security concern is most critical when exposing microservices through a public API in a cloud environment?
- Excessive logging of non-sensitive events
- Lack of proper authentication and authorization controls on API endpoints (Correct answer)
- Using HTTP instead of HTTPS for internal service communication
- Deploying microservices in a single availability zone
Correct answer: Lack of proper authentication and authorization controls on API endpoints
Without strong authentication and authorization controls, unauthorized actors can access or abuse API endpoints, making this the most critical security concern for public APIs.
Question 9: What is the role of an API Gateway in a cloud-native application architecture from a security perspective?
- It replaces the need for encryption between services
- It provides a centralized enforcement point for authentication, rate limiting, and traffic inspection (Correct answer)
- It eliminates the need for WAF by providing full application-layer protection
- It manages container orchestration and scaling
Correct answer: It provides a centralized enforcement point for authentication, rate limiting, and traffic inspection
An API Gateway acts as a centralized control point that enforces authentication, rate limiting, logging, and policy-based access across all API calls.
Question 10: In container security for cloud applications, which practice reduces the attack surface of a running container?
- Running containers as the root user to allow all operations
- Using minimal base images and removing unnecessary packages (Correct answer)
- Storing secrets inside the container image layers
- Disabling read-only file system restrictions
Correct answer: Using minimal base images and removing unnecessary packages
Minimal base images reduce the number of installed packages and therefore the attack surface, limiting the tools available to an attacker who compromises the container.
Question 11: What is the primary security risk of using third-party or open-source libraries in cloud-deployed applications?
- They always require additional licensing fees
- They may contain known vulnerabilities that are inherited by the application (supply chain risk) (Correct answer)
- They are incompatible with cloud IAM systems
- They prevent the use of container technologies
Correct answer: They may contain known vulnerabilities that are inherited by the application (supply chain risk)
Open-source and third-party dependencies can introduce known vulnerabilities into an application's supply chain, which attackers can exploit if libraries are not kept patched.
Question 12: Dynamic Application Security Testing (DAST) differs from SAST in that DAST:
- Analyzes source code without running the application
- Tests the application while it is running by sending crafted inputs and observing responses (Correct answer)
- Focuses exclusively on infrastructure misconfigurations
- Generates security policies automatically from code comments
Correct answer: Tests the application while it is running by sending crafted inputs and observing responses
DAST tools interact with a running application — simulating external attacks — making it effective at discovering runtime vulnerabilities that static analysis may miss.
Question 13: Which cloud application security control helps prevent Cross-Site Request Forgery (CSRF) attacks?
- Content Security Policy (CSP) headers
- Anti-CSRF tokens in state-changing requests (Correct answer)
- SQL parameterized queries
- TLS certificate pinning
Correct answer: Anti-CSRF tokens in state-changing requests
Anti-CSRF tokens are unique, unpredictable values embedded in forms and verified server-side, preventing attackers from tricking users into submitting unauthorized requests.
Question 14: In the CSA Cloud Controls Matrix (CCM), which domain specifically addresses application and interface security for cloud services?
- Threat and Vulnerability Management
- Application & Interface Security (AIS) (Correct answer)
- Data Security & Information Lifecycle Management
- Identity & Access Management
Correct answer: Application & Interface Security (AIS)
The CCM's Application & Interface Security (AIS) domain covers controls for secure application development, testing, and integrity of customer-facing interfaces.
Question 15: What is the purpose of a Content Security Policy (CSP) HTTP response header in web application security?
- It encrypts the HTTP response body
- It restricts the sources from which a browser can load resources, mitigating XSS attacks (Correct answer)
- It enforces HTTPS-only connections to the server
- It manages session cookie attributes such as HttpOnly and Secure
Correct answer: It restricts the sources from which a browser can load resources, mitigating XSS attacks
CSP instructs the browser to only load resources (scripts, styles, images) from trusted origins, significantly reducing the risk of Cross-Site Scripting (XSS) attacks.
Question 16: When performing penetration testing on a cloud application, which action MUST be taken before starting to avoid violating the cloud provider's terms of service?
- Enable multi-factor authentication on all accounts
- Obtain prior written authorization from the cloud provider and the application owner (Correct answer)
- Disable all WAF rules temporarily to get accurate results
- Scan only during business hours to minimize impact
Correct answer: Obtain prior written authorization from the cloud provider and the application owner
Cloud providers require customers to request explicit authorization before conducting penetration tests; failure to do so may violate terms of service and result in account suspension.
Question 17: Which secure coding practice specifically prevents SQL Injection attacks in cloud-hosted database-backed applications?
- Input length validation only
- Parameterized queries (prepared statements) (Correct answer)
- Output encoding of HTML entities
- Using stored procedures without parameterization
Correct answer: Parameterized queries (prepared statements)
Parameterized queries separate SQL code from user-supplied data, ensuring that user input is always treated as a data value and never interpreted as executable SQL.
Question 18: In a serverless cloud application, which security consideration is unique compared to traditional application hosting?
- The need to patch operating systems and runtimes
- Overly permissive function-level IAM roles and event injection via triggers (Correct answer)
- Managing physical server hardware
- Configuring hypervisor-level isolation
Correct answer: Overly permissive function-level IAM roles and event injection via triggers
Serverless functions often inherit overly permissive IAM roles, and their many event-based triggers (S3, SQS, API Gateway) can be exploited for injection attacks if inputs are not validated.
Question 19: What does the principle of 'least privilege' mean when applied to cloud application service accounts?
- Service accounts should have administrator access to simplify operations
- Service accounts should be granted only the minimum permissions necessary to perform their function (Correct answer)
- All service accounts should share the same credentials for easier management
- Service accounts do not need to follow access control policies
Correct answer: Service accounts should be granted only the minimum permissions necessary to perform their function
Least privilege limits a service account's permissions to only what is required for its specific task, reducing the blast radius if the account is compromised.
Question 20: Which approach best supports continuous security validation of cloud application deployments in a CI/CD pipeline?
- Running security scans manually once per quarter
- Integrating automated SAST, DAST, and dependency scanning into every pipeline build and blocking on critical findings (Correct answer)
- Conducting a penetration test only at the initial deployment
- Relying exclusively on the cloud provider's built-in security scanning
Correct answer: Integrating automated SAST, DAST, and dependency scanning into every pipeline build and blocking on critical findings
Embedding automated security scanning (SAST, DAST, SCA) into every CI/CD pipeline build ensures continuous validation and allows teams to catch and remediate vulnerabilities before code reaches production.
Which methodology integrates security practices directly into the DevOps pipeline for cloud applications?
What Practice Test Geeks adds beyond an AI chat for CCSK
An AI chatbot can quiz you, but it can't reproduce the exam conditions or keep your record. Here you get:
- A timed, full-length CCSK mock exam — 60 questions in 120 minutes with a 80% pass mark, modeled on the official exam's question count and time limit, followed by a score report broken down by exam domain.
- A fixed CCSK question bank: the same test every attempt, so your score is comparable from one try to the next instead of changing with every regenerated quiz.
- Progress saved on your device: completed tests, scores and missed questions stay in My Progress, so you can retake only what you got wrong.
- A printable CCSK cheat sheet you can print or save as a PDF.
- CCSK flashcards built from the same question bank.
Practice questions written with AI assistance and published by Nathan Beja, founder of Practice Test Geeks. They are not real exam questions. Exam facts are checked against the official sources linked below. These questions were checked on Nov 17, 2026 by a two-pass AI cross-check against the official content outline and verified exam facts (0 of 21 corrected; 1 still flagged for review). Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- exams.cloudsecurityalliance.org — Test delivery, fees, exam format, renewal, score release, test dates, time limit, score validity · verified Nov 2026
- cloudsecurityalliance.org — Eligibility, passing score · verified Nov 2026