CCSP domain - 16% of the exam

Cloud Application Security

Cloud Application Security is 16% of the CCSP exam. These are the objectives it covers, each with practice questions, with every answer explained.

The domain in numbers

48
Practice questions
7
Objectives
6
Easy
42
Medium

Where people go wrong

  • Treating a partial step as a fix for hardcoded secrets

    The wrong answers treat a hardcoded secret as fixed by a partial step: Base64 encoding, an environment variable, encrypting the file or image, tightening repository permissions, purging history, or rotating the value alone. Each leaves a usable credential in the code, image or version history, or leaves the pattern to recur. The durable fix moves the credential into a dedicated secrets manager that workloads read at runtime through their own identity. Once a secret has been committed, the next action is to rotate it immediately and add a secrets-scanning gate.

    See it in a sample question
  • Swapping the mechanisms of SAST, DAST, IAST and SCA

    SAST, DAST, IAST and SCA get attached to each other's mechanism. SAST reads source or byte code without running the application, so it suits catching injection flaws before release but cannot show runtime authentication or session behaviour. DAST attacks the deployed application from outside with no source needed. IAST instruments the running application and observes execution from the inside while tests drive it. SCA inventories dependencies rather than exercising or reading first-party code.

    See it in a sample question
  • Placing threat modelling after the design is fixed

    The wrong answers place threat modelling where design decisions already exist in code: coding, system testing, a pre-release penetration test, deployment or operations. Threat modelling examines architecture, trust boundaries and data flows, so it belongs in the design phase, before code is written, while a change is still cheap. SAST on pull requests and nightly DAST are valuable, but each acts on code that already exists and cannot find a flaw in a design that predates it.

    See it in a sample question
  • Giving a WAF or API gateway the other's job

    The wrong answers give one edge or data-tier control another's job. A web application firewall inspects HTTP request content at layer 7 for injection and cross-site scripting, and does not authenticate callers, enforce per-partner quotas or route to backends. An API gateway authenticates, authorises, rate-limits and routes API calls, but does not inspect request bodies for attack signatures. A network firewall sees only address and port, and database activity monitoring is detective at the data tier.

    See it in a sample question
  • Answering a dependency risk with an unrelated control

    When the risk is a vulnerable or tampered dependency, the wrong answers reach for a control aimed at something else: a web application firewall, MFA, encryption at rest, dynamic testing, peer review or SAST. None of them inventories components. A software bill of materials lists every direct and transitive component, and software composition analysis checks it against vulnerability data, so a pipeline can fail on a known critical flaw. Provenance attestation records how an artefact was built, not which components it holds.

    See it in a sample question

Objectives in this domain

What to study

The official documents this domain's practice questions cite most.

Sample questions from this domain

Free sampleCloud Application Securitymedium

A healthcare startup builds a patient-scheduling application on public-cloud IaaS, handling data classified as sensitive personal health information. A developer needs a database password for the running service and currently the value sits in a plaintext variable inside the application's version-controlled configuration file. Applying secure coding and software configuration management practices, what should the team do next to remediate this before the next release?

  • AMove the password into an environment variable set on the build server so it no longer appears in the source file.
  • BRetrieve the password at runtime from a managed secrets vault using the service's own identity, and remove it from version control. Correct
  • CEncrypt the configuration file at rest in the repository and commit the encrypted version alongside the code.
  • DRestrict repository access to the two senior developers who maintain the scheduling service and leave the value in place.
Recognise that hardcoded application secrets must be removed from version control and retrieved at runtime from a managed secrets vault. Secrets committed to a repository persist in history, cannot be rotated cleanly and are exposed to anyone who can read the code. Secure configuration management resolves this by storing the secret in a managed vault and having the service retrieve it at runtime under its own identity, so the credential never lives in source.

Why A is wrong: Using an environment variable removes the literal string from the file and feels like progress, but the secret is still unmanaged, unrotated and readable to anyone with host access, so it does not meet the standard for protecting a sensitive credential.

Why B is correct: Fetching the secret at runtime from a managed vault keyed to the service identity keeps the credential out of source control, supports rotation and access logging, and is the recognised secure practice for handling application secrets.

Why C is wrong: Encrypting the file at rest sounds protective, but the decryption key must then live somewhere and the secret still travels through version control, so this shifts the problem rather than removing the credential from the codebase.

Why D is wrong: Tightening repository permissions reduces who can read the file, but the secret remains committed in history and unrotated, so a single leaked clone or a former maintainer still exposes it; access control alone does not remediate a stored secret.

Free sampleCloud Application Securitymedium

A healthcare SaaS vendor deploys a patient-portal web service on public-cloud IaaS and classifies its records as sensitive personal data. Its SAST results are clean, but leadership wants evidence of how the running application actually behaves against real attacks, including authentication bypass and session flaws that only appear at runtime. Which validation activity best provides that evidence?

  • ADynamic application security testing (DAST) against the deployed portal to exercise it as an attacker would at runtime Correct
  • BRepeat SAST with an expanded ruleset to increase coverage of the source code
  • CA software composition analysis scan of third-party libraries for known vulnerable versions
  • DA configuration review of the IaaS security groups and network access controls
DAST exercises a running application from the outside to reveal authentication and session flaws that only appear at runtime. Dynamic testing sends crafted requests to a live instance and observes responses, so it detects execution-dependent weaknesses such as broken authentication and weak session management that static source analysis and inventory scans cannot see.

Why A is correct: DAST drives the running application from the outside with malicious inputs, exposing authentication bypass and session-handling flaws that only surface during execution, which directly matches the request for runtime behavioural evidence.

Why B is wrong: Broader SAST rules improve source coverage, which sounds thorough, but static analysis cannot observe live authentication or session behaviour, so it cannot supply the runtime evidence leadership is asking for.

Why C is wrong: Composition analysis is valuable for flagging vulnerable dependencies, but it inspects component inventories rather than exercising the live application, so it does not reveal runtime authentication or session weaknesses.

Why D is wrong: Reviewing security groups hardens the infrastructure layer the vendor is responsible for, but it examines network configuration, not the application's runtime authentication and session logic, so it addresses a different risk.

Free sampleCloud Application Securitymedium

During which phase of the secure SDLC is threat modelling most valuable, given that it aims to identify design weaknesses before any code is committed?

  • AThe requirements phase, before any functionality or data flow has been decided
  • BThe design phase, where the architecture and data flows are defined and can still be changed cheaply Correct
  • CThe testing phase, so that identified threats can be confirmed against the built system
  • DThe deployment phase, once the production environment configuration is known
Threat modelling belongs in the design phase, where architectural flaws are cheapest to correct before code exists. Threat modelling reasons about trust boundaries, components and data flows, which are all products of design. Performing it in the design phase catches architectural weaknesses when remediation means changing a diagram rather than rewriting shipped code.

Why A is wrong: The requirements phase is where security requirements are gathered, but there is not yet enough design detail (trust boundaries, components, data flows) for a meaningful threat model, so this is too early.

Why B is correct: Threat modelling examines the architecture, trust boundaries and data flows, so it delivers the most value in the design phase while changes remain inexpensive and no code has yet been written.

Why C is wrong: Testing can validate that mitigations work, but discovering a design flaw only at this stage forces expensive rework, so threat modelling here is far later than ideal.

Why D is wrong: Deployment configuration matters for operational hardening, but waiting until deployment to model threats means design flaws are already baked into the code and costly to remove.

Free sampleCloud Application Securitymedium

A fintech firm exposes a set of RESTful microservices from a public PaaS environment to third-party partner applications. The services process confidential financial records. Partners have varied trust levels, and the firm needs a single enforcement point to authenticate callers, apply per-partner rate limits, and route requests to the correct backend service. Which architectural component BEST provides this capability?

  • AA web application firewall placed in front of each microservice to sign inbound partner traffic.
  • BApplication virtualisation to package each microservice so partners run a consumer-side instance.
  • CAn API gateway that authenticates callers, enforces per-partner rate limits, and routes requests to backend services. Correct
  • DDatabase activity monitoring on the backing datastores to record which partner accessed which record.
An API gateway centralises authentication, rate limiting, and routing for exposed APIs, making it the correct enforcement point for managing third-party API consumers. An API gateway sits between consumers and backend services and consolidates cross-cutting concerns such as credential validation, per-consumer rate limiting, and routing, which is exactly the set of controls needed to safely expose microservices to partners of differing trust.

Why A is wrong: A WAF inspects and filters HTTP requests for malicious content, but it does not natively authenticate API callers, enforce per-partner quotas, or route requests to specific backends.

Why B is wrong: Application virtualisation isolates and delivers applications to endpoints, which does nothing to broker, authenticate, or rate limit inbound partner API calls at a central point.

Why C is correct: An API gateway is the single managed entry point that handles caller authentication, throttling and quotas per consumer, and request routing to the appropriate microservice.

Why D is wrong: Database activity monitoring provides visibility and alerting at the data tier, but it is a detective control and cannot authenticate, throttle, or route the API traffic itself.

Free sampleCloud Application Securitymedium

A development team wants a single artefact that lists every third-party and open-source component in a container image, including transitive dependencies, so that when a new vulnerability is disclosed they can immediately tell whether the image is affected. Which artefact provides this?

  • AA static application security testing (SAST) report for the source code
  • BA penetration test report covering the running container
  • CA software bill of materials (SBOM) generated for the image Correct
  • DA signed provenance attestation for the build pipeline
Recognise that an SBOM is the component inventory used to map new vulnerabilities to affected software artefacts. An SBOM enumerates each direct and transitive component with version data, so a security team can query it against a new advisory and determine impact without rescanning; other assurance artefacts describe behaviour or origin, not composition.

Why A is wrong: SAST inspects first-party source for coding flaws; it is tempting because it is a supply-chain-adjacent scan, but it does not enumerate third-party and transitive components.

Why B is wrong: A penetration test records exploitable weaknesses found at runtime, which is useful assurance, but it is not a component inventory and will not list every dependency.

Why C is correct: An SBOM is the formal inventory of every component and dependency in a build, so it is exactly what lets a team map a newly disclosed CVE to affected images.

Why D is wrong: Provenance attestation proves how and where an artefact was built, which strengthens supply-chain trust, but it records build metadata rather than the list of bundled components.

Other domains in this exam

See also the CCSP cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by ISC2. Original, blueprint-aligned practice material only.