Curated

Cloud Application Security (4.1–4.7)

0 votes

Questions48

  1. Question 1

    Cloud Application Security

    A developer commits a cloud access key to a public source repository by mistake. What should the team do FIRST?

    Show the answer

    Correct answerB. Revoke the exposed key and issue a new one

    AWhy not this: An ignore list only prevents future commits and leaves the exposed key valid.

    BWhy this is right: Revocation invalidates the exposed credential immediately, which limits misuse.

    CWhy not this: More logging helps detection later but does not stop use of the leaked key.

    DWhy not this: History rewriting cannot recall copies already scraped or cloned by others.

    Once a key is public it must be treated as compromised, so revoking and replacing it comes first. Deleting the commit does not help because copies and scrapers may already have captured the key.

    Open this question
  2. Question 2

    Cloud Application Security

    Under the shared responsibility model, who is responsible for the security of the code of an application a customer deploys on an IaaS virtual machine?

    Show the answer

    Correct answerB. The customer

    AWhy not this: The hypervisor vendor supplies virtualization software and has no role in customer application code.

    BWhy this is right: The customer deploys and controls the application, so securing its code is the customer's duty in IaaS.

    CWhy not this: The provider secures the infrastructure layers, not the code customers deploy on their own VMs.

    DWhy not this: The data center operator handles physical facilities, not application-level security.

    In IaaS the provider secures the facilities, hardware and virtualization layer, while the customer owns everything it deploys, including application code. The provider does not review or secure customer code, so assigning it to the provider confuses IaaS with a managed SaaS model.

    Open this question
  3. Question 3

    Cloud Application Security

    An API returns an order record for any order ID in the URL, and an authenticated user changes the ID to view another customer's order. Which OWASP API Security Top 10 risk is this?

    Show the answer

    Correct answerB. Broken object level authorization

    AWhy not this: The user logged in legitimately; the weakness is in access checks, not identity proof.

    BWhy this is right: The API fails to verify the caller's right to the specific object, letting IDs be swapped.

    CWhy not this: This risk concerns excessive requests or resource use, not access to other users' data.

    DWhy not this: This involves the server fetching attacker-chosen URLs, which is not occurring here.

    The user is authenticated, but the API does not check whether that user may access the specific object requested; this is broken object level authorization. Broken authentication concerns weak identity verification, which is not the flaw here.

    Open this question
  4. Question 4

    Cloud Application Security

    A team moves a legacy application to a PaaS platform unchanged. It relies on an unauthenticated internal admin endpoint and a hard-coded database password, and the team plans to rely on the provider's network controls. Which action BEST addresses the pitfalls this migration creates?

    Show the answer

    Correct answerD. Redesign the app to authenticate every endpoint and fetch secrets from a managed secrets service

    AWhy not this: Obscurity through a port change does not authenticate anyone, and a binary-embedded password is still extractable.

    BWhy not this: A WAF filters web attacks but does not fix missing authentication or an embedded credential.

    CWhy not this: Subnet restriction relies on the perimeter trust that cloud migration undermines, and rotating a hard-coded secret by hand is fragile.

    DWhy this is right: It removes both the implicit-trust assumption and the embedded secret, fixing the root causes.

    Lifting and shifting assumes a trusted internal network that the cloud lacks, so each endpoint must authenticate and secrets must come from a managed secrets service. Network placement or a WAF only layers on top of the flaws and leaves the weaknesses in place.

    Open this question
  5. Question 5

    Cloud Application Security

    A team must threat-model a new cloud payment service. They want a risk-centric, seven-stage method that begins with business objectives and ends with attack simulation and risk and impact analysis. Which methodology fits?

    Show the answer

    Correct answerB. PASTA

    AWhy not this: ATASM structures analysis around architecture, threats, attack surfaces and mitigations, not seven stages.

    BWhy this is right: PASTA is a seven-stage, risk-centric process from business objectives through attack simulation and impact analysis.

    CWhy not this: STRIDE classifies threats into six categories; it is not a staged, business-driven process.

    DWhy not this: DREAD rates threat severity on five factors; it does not run a staged process from objectives.

    PASTA is a risk-centric, seven-stage process that starts from business objectives and proceeds through attack simulation to risk and impact analysis. STRIDE only categorizes threat types and DREAD only scores severity; neither is a staged process.

    Open this question
  6. Question 6

    Cloud Application Security

    A company moves a customer-facing application to IaaS. A security review notes that a hypervisor flaw could let one tenant's workload reach another tenant's memory. Which cloud-specific risk does this describe?

    Show the answer

    Correct answerC. Shared technology vulnerabilities

    AWhy not this: Jurisdiction concerns which laws apply to data location, not technical isolation between tenants.

    BWhy not this: An insider threat is a provider employee misusing privileged access, not a tenant-to-tenant isolation flaw.

    CWhy this is right: Shared hypervisor, hardware or platform components can fail isolation and expose one tenant to another.

    DWhy not this: Limited visibility concerns missing logs and telemetry, not a flaw in the shared virtualization layer.

    Multitenancy relies on shared underlying components such as the hypervisor, so a flaw there can break isolation between tenants. A CSP insider threat involves a provider employee abusing access, not a technical isolation failure between tenants.

    Open this question
  7. Question 7

    Cloud Application Security

    A code review finds a cloud web app builds database queries by concatenating user-supplied form values into SQL strings. Which fix BEST removes the underlying vulnerability?

    Show the answer

    Correct answerC. Use parameterized queries

    AWhy not this: Hashing input would break the values and does not stop injected SQL from being interpreted.

    BWhy not this: A WAF can block known patterns but is a compensating control; the flawed query remains.

    CWhy this is right: Parameters separate code from data, so input cannot alter the SQL statement structure.

    DWhy not this: Encryption at rest protects stored data from media theft, not injection through the application.

    Parameterized queries keep user input as data, never as executable SQL, which removes the injection flaw in the code. A WAF rule only filters some attacks at the perimeter and leaves the vulnerable code in place.

    Open this question
  8. Question 8

    Cloud Application Security

    A SaaS provider stores a European firm's customer records in a data center abroad. A foreign court orders the provider to hand over data from that data center. Which risk does this MOST directly illustrate?

    Show the answer

    Correct answerA. Legal and jurisdiction issues

    AWhy this is right: Data location subjects it to foreign law and compelled disclosure that may conflict with the customer's regulatory duties.

    BWhy not this: Visibility gaps concern missing monitoring data; the data is not exposed by an unnoticed event.

    CWhy not this: Insider threat means a provider employee abusing access; here the disclosure is lawfully compelled.

    DWhy not this: Shared technology flaws are technical isolation failures, unrelated to a court order.

    Data stored in another country can fall under that country's laws and court orders, which may conflict with the customer's own obligations. Lack of visibility concerns monitoring gaps, which is not the issue when a lawful order compels disclosure.

    Open this question
  9. Question 9

    Cloud Application Security

    A pipeline gate must show that a new release of a cloud order service meets its non-functional requirements: response time at peak traffic, recovery when an instance fails, and capacity growth under autoscaling. Which tests belong in that gate? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Failover test that terminates running instancesB. Scalability test that drives autoscaling eventsD. Load test at peak concurrent users

    AWhy this is right: Verifies recovery when an instance fails, a resilience requirement, so it is non-functional.

    BWhy this is right: Verifies capacity grows correctly under autoscaling, a scalability requirement, so it is non-functional.

    CWhy not this: Checks that business rules still work, which is functional behavior, not performance or resilience.

    DWhy this is right: Measures response time under peak traffic, a performance requirement, so it is non-functional.

    EWhy not this: Unit tests check that code returns correct results, which is functional behavior, not performance or resilience.

    Non-functional testing measures how the system performs: load tests cover response time, failover tests cover recovery, and scalability tests cover capacity growth. A regression test of business rules is tempting but checks functional behavior, which is what the system does, not how well it performs. A unit test of the tax calculation is also functional.

    Open this question
  10. Question 10

    Cloud Application Security

    A scan of a containerized application must identify third-party libraries with published CVEs and flag restrictive open-source licenses. Which methodology fits best?

    Show the answer

    Correct answerC. Software Composition Analysis (SCA)

    AWhy not this: Probes a running application from outside for exploitable behavior; it does not inventory libraries or licenses.

    BWhy not this: Analyzes your own source code for insecure patterns; it does not match libraries to CVEs or licenses.

    CWhy this is right: Inventories third-party components and matches them to known vulnerabilities and license terms.

    DWhy not this: Uses an in-app agent during testing to find flaws in running code; it is not a dependency inventory.

    SCA inventories third-party and open-source components and matches them against vulnerability databases and license data. SAST is tempting because it analyzes code without running it, but it examines the code your team wrote for flaws, not the known vulnerabilities and licenses of bundled libraries.

    Open this question
  11. Question 11

    Cloud Application Security

    During functional test runs in a staging environment, a team wants security findings that point to the exact vulnerable line of code. The tool must work from an agent inside the running application. Which approach should it use?

    Show the answer

    Correct answerA. Interactive Application Security Testing (IAST)

    AWhy this is right: An in-app agent watches code execute during tests and reports the vulnerable line, combining runtime and code visibility.

    BWhy not this: Finds code-level flaws, but analyzes source without running the application and uses no in-app agent.

    CWhy not this: Checks third-party components against known vulnerabilities; it does not observe the app's own code running.

    DWhy not this: Tests the running application from outside, so it sees symptoms but cannot locate the vulnerable line of code.

    IAST places an agent or sensor inside the running application and observes code execution during testing, so it reports flaws with code-level location. DAST also tests a running application, but it works from outside and cannot identify the vulnerable line of code.

    Open this question
  12. Question 12

    Cloud Application Security

    A retailer is defining business requirements for a new cloud-hosted order system under a secure SDLC. Which inputs should shape its security requirements? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Classification of the data the system will storeD. The organization's risk appetite for the applicationE. Recovery time and recovery point objectives set by the businessF. Regulatory and contractual obligations for payment data

    AWhy this is right: Data classification sets how strongly the data must be protected, so it drives requirements.

    BWhy not this: Test coverage is a verification metric from the test phase, not a business need.

    CWhy not this: Tool selection is an implementation choice made after requirements are set.

    DWhy this is right: Risk appetite defines how much risk the business accepts, which shapes the controls required.

    EWhy this is right: RTO and RPO express business availability needs that shape resilience requirements.

    FWhy this is right: Regulatory and contractual duties are core business requirements that security must meet.

    Security requirements come from business drivers: data sensitivity, legal and contractual duties, availability and recovery needs, and risk appetite. Test coverage and tooling are implementation and verification details that appear in later phases and do not define what the business needs.

    Open this question
  13. Question 13

    Cloud Application Security

    During requirements gathering for a new cloud application, a team learns it will store EU residents' personal data. What should the team do with this business requirement?

    Show the answer

    Correct answerC. Translate it into security and privacy requirements that are traced through design, code and test

    AWhy not this: Compliance is built in from the start; testing only verifies it, and late discovery forces costly rework.

    BWhy not this: The customer stays accountable for its data and application, so the provider cannot meet this alone.

    CWhy this is right: Early translation into traceable requirements lets each later phase implement and verify the obligation.

    DWhy not this: Maintenance fixes flaws after release; it is not where business obligations are first addressed.

    Business requirements such as legal obligations must be turned into specific security and privacy requirements early, then traced through design, coding and testing. Deferring them to testing is tempting but makes rework costly, and design choices already made may not meet them.

    Open this question
  14. Question 14

    Cloud Application Security

    Which SDLC methodology completes each phase in strict sequence before the next phase begins?

    Show the answer

    Correct answerD. Waterfall

    AWhy not this: Agile delivers in short iterations and revisits phases, so phases are not completed once in sequence.

    BWhy not this: Kanban is a continuous-flow work management method, not a sequential phase model.

    CWhy not this: Spiral repeats cycles driven by risk analysis, so it is iterative rather than strictly sequential.

    DWhy this is right: Waterfall runs sequential phases, each completed before the next starts.

    Waterfall is a linear model: requirements, design, code, test and maintain each finish before the next starts. Agile is the common confusion; it works in short iterations and revisits phases repeatedly instead of finishing them in sequence.

    Open this question
  15. Question 15

    Cloud Application Security

    A company exposes several microservices to mobile clients. It wants one entry point that authenticates callers, enforces per-client rate limits and routes each request to the correct backend service. Which component BEST meets this need?

    Show the answer

    Correct answerD. API gateway

    AWhy not this: It monitors and audits database queries and has no role in routing or throttling client API requests.

    BWhy not this: It validates XML messages and schemas, which does not provide general authentication, quotas or routing.

    CWhy not this: It filters HTTP traffic for web attacks but does not manage per-client quotas or route to microservices.

    DWhy this is right: It acts as the single front door for APIs, handling authentication, rate limiting and routing to services.

    An API gateway is the single entry point that authenticates API callers, applies throttling and routes requests to backend services. A WAF inspects HTTP traffic for attacks such as SQL injection and cross-site scripting but does not manage client identity, quotas or service routing.

    Open this question
  16. Question 16

    Cloud Application Security

    A cloud application uses envelope encryption for records in object storage. Each record's data key is stored next to the record in wrapped (encrypted) form. Which design BEST ensures that an attacker who copies the entire storage bucket cannot decrypt the records?

    Show the answer

    Correct answerD. Keep the master key in a managed KMS or HSM, separate from storage, and allow only authorized application identities to request unwrap operations

    AWhy not this: A master key stored beside the data is copied with it, so a bucket copy gives the attacker everything needed to decrypt.

    BWhy not this: Obscuring file names is security through obscurity; the wrapped keys are still easy to find and gain no cryptographic protection.

    CWhy not this: A key that protects keys but sits in the same place only moves the problem; copying the bucket still yields the whole chain.

    DWhy this is right: The master key never leaves the KMS or HSM, and unwrap calls are access-controlled, so stolen records and wrapped keys cannot be decrypted.

    The wrapped data keys are useless without the master key, so keeping that key in a KMS or HSM outside the bucket, with unwrap limited to authorized identities, means a copied bucket cannot be decrypted. Storing the master key beside the records is tempting for speed, but it is copied along with the data and gives the attacker the whole key chain.

    Open this question
  17. Question 17

    Cloud Application Security

    A cloud tenant stores regulated data encrypted with keys held in the provider's key management service. Auditors require that the provider's staff can never use the tenant's keys to decrypt the data. Which approach BEST satisfies this?

    Show the answer

    Correct answerA. Keys generated and held by the tenant outside the provider, with encryption done before upload

    AWhy this is right: The provider only sees ciphertext and never holds the keys, so its staff cannot decrypt the data.

    BWhy not this: Rotation changes key age, not who controls the keys; the provider still holds and uses them.

    CWhy not this: Keys still live in provider-operated infrastructure, and the service uses them to decrypt, so provider access is not excluded.

    DWhy not this: TLS protects data in transit only and does nothing about provider access to data at rest.

    Encrypting client-side with keys the tenant generates and holds outside the provider means the provider never has key material to decrypt the data. Customer-managed keys inside the provider's KMS still reside in provider-operated infrastructure, so provider access cannot be fully excluded.

    Open this question
  18. Question 18

    Cloud Application Security

    A public REST API fronts a multi-tenant SaaS app. Partners call it from server-side code, and a leaked key must not let one tenant read another tenant's records. Which design BEST meets this?

    Show the answer

    Correct answerC. OAuth 2.0 access tokens with short lifetimes, scoped per tenant, validated at the API gateway and enforced again by object-level authorization in the service

    AWhy not this: Protects credential storage and transport, but static credentials carry no scope and do not enforce tenant-level authorization.

    BWhy not this: Authenticates the client but performs no per-object authorization, so any authenticated caller could request other tenants' records.

    CWhy this is right: Limits token lifetime and scope, and enforces tenant boundaries in the service itself, so a leaked credential cannot cross tenants.

    DWhy not this: Long-lived static keys give a leak a long exposure window, and an IP restriction does nothing about tenant data authorization.

    Short-lived, tenant-scoped tokens limit the impact of a leak, and object-level authorization in the service stops cross-tenant access (broken object level authorization). Mutual TLS only authenticates the channel and does not decide which records a caller may read.

    Open this question
  19. Question 19

    Cloud Application Security

    A build pipeline pulls container base images from a public registry. The team must be sure each image is unmodified and was published by the expected maintainer. Which control BEST achieves this?

    Show the answer

    Correct answerD. Verify digital signatures on images and pin them by digest before they are admitted to the pipeline

    AWhy not this: A questionnaire is vendor assessment evidence and gives no technical proof about a specific image.

    BWhy not this: Finds known vulnerabilities, but a tampered or counterfeit image with no known flaws would still pass.

    CWhy not this: An SBOM with licenses supports licensing and inventory, and does not prove authenticity or integrity.

    DWhy this is right: Signatures establish who published the image and that it is unchanged, and digest pinning fixes the exact content used.

    Signature verification proves authenticity (the expected publisher) and integrity (no modification), and digest pinning ties the build to that exact image. A vulnerability scan finds known flaws but cannot show who published an image or whether it was tampered with.

    Open this question
  20. Question 20

    Cloud Application Security

    A company plans to adopt a SaaS analytics provider that will process customer personal data. Which activity BEST supports vendor assessment before signing the contract?

    Show the answer

    Correct answerC. Reviewing the provider's independent audit reports, such as SOC 2 Type II, against the company's security requirements

    AWhy not this: Confirms the installer's authenticity and integrity after selection, not the vendor's overall security and compliance posture.

    BWhy not this: License review addresses legal use of components, not whether the vendor's controls are adequate for personal data.

    CWhy this is right: Independent audit evidence shows how the vendor's controls operate and can be compared with requirements, which is vendor assessment.

    DWhy not this: Software composition analysis addresses vulnerable open-source components, not the vendor's due diligence as a whole.

    Vendor assessment evaluates the provider's security and compliance posture, and independent audit reports are standard evidence for it. A signature check on an installer addresses authenticity of software, not the vendor's overall risk.

    Open this question
  21. Question 21

    Cloud Application Security

    A team deploys cloud infrastructure from templates and has found untracked changes in production that no one approved. Which actions enforce configuration management over those templates? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Keep the templates in version control and deploy only from reviewed commitsC. Require approved pull requests and block direct pushes to the release branchD. Compare running configuration against the approved baseline to detect drift

    AWhy not this: Unrecorded manual edits bypass change control and break the link between baseline and production.

    BWhy this is right: Deploying only from reviewed, versioned commits makes each production state traceable to an approved change.

    CWhy this is right: Required approvals and blocked direct pushes enforce change control on the release branch.

    DWhy this is right: Drift detection against the approved baseline exposes changes made outside the process.

    EWhy not this: Local copies and verbal approvals leave no reviewed, versioned record of what reached production.

    Version-controlled templates, gated changes and baseline drift detection together make every production change authorized and traceable. Unrecorded manual edits bypass change control and recreate the untracked-change problem, even when made during incidents. Deploying local copies after verbal approval leaves no traceable record of the change.

    Open this question
  22. Question 22

    Cloud Application Security

    Production runs a build that nobody can trace to a specific source revision, which slows incident investigation. Which configuration management practice BEST prevents this?

    Show the answer

    Correct answerB. Tagging each release in version control and building only from the tagged commit

    AWhy not this: STRIDE is a threat-modeling method; it finds threats but does not link builds to source revisions.

    BWhy this is right: A tagged commit identifies the exact source of every release, so any deployed build can be traced and reproduced.

    CWhy not this: Date-based file names are ad hoc and do not tie an artifact to a controlled source revision.

    DWhy not this: Scanning detects vulnerabilities in a build but gives no record of which revision produced it.

    Tagging releases and building only from tagged commits gives traceability from deployed artifact to exact source, which is core to versioning. Vulnerability scanning finds flaws but does not record which source revision produced a build.

    Open this question
  23. Question 23

    Cloud Application Security

    What is the OWASP Application Security Verification Standard (ASVS) used for?

    Show the answer

    Correct answerC. A tiered set of security requirements for building and verifying applications

    AWhy not this: Splitting duties between provider and customer describes the shared responsibility model.

    BWhy not this: Rating threats by damage and discoverability describes DREAD, a threat-modeling scoring method.

    CWhy this is right: ASVS lists security requirements at increasing verification levels for developers and testers to build against and verify.

    DWhy not this: A seven-stage attack simulation process describes PASTA, a threat-modeling methodology.

    ASVS is a catalog of application security requirements, organized in verification levels, that teams use to design, build and test secure applications. The scoring model describes DREAD, a threat-rating method, not a secure coding requirements standard.

    Open this question
  24. Question 24

    Cloud Application Security

    A cloud forum application stores user comments and renders them unchanged on pages that other users view. Attackers' comments now run scripts in those viewers' browsers. Which control BEST removes the root cause?

    Show the answer

    Correct answerD. Context-aware output encoding of untrusted data when it is rendered

    AWhy not this: Parameterized queries separate SQL code from data, but the problem here is rendering, not query construction.

    BWhy not this: Rate limiting slows abuse volume but does not stop a single malicious comment from executing.

    CWhy not this: Encryption at rest protects stored data from disclosure; it does not change how comments are displayed.

    DWhy this is right: Encoding untrusted data for its HTML context stops the browser from executing it, which removes the XSS root cause.

    The flaw is cross-site scripting: untrusted data is sent to the browser as active content. Context-aware output encoding makes the browser treat it as text. Parameterized queries stop SQL injection, a different injection flaw that does not affect how data is rendered.

    Open this question
  25. Question 25

    Cloud Application Security

    A company wants employees of a partner organization to use their own corporate credentials to reach its cloud application, without the company creating or managing accounts for them. Which approach meets this need?

    Show the answer

    Correct answerC. Federated identity

    AWhy not this: A CASB enforces policy on cloud usage and does not establish trust between identity domains.

    BWhy not this: MFA adds authentication factors but does not let one organization accept another's identities.

    CWhy this is right: A trust between the two organizations lets partner users sign in with their home credentials.

    DWhy not this: Secrets management protects keys and credentials used by workloads, not partner user logins.

    Federated identity builds a trust relationship between identity domains, so the partner's identity provider authenticates its own users and the application accepts the resulting assertions. MFA only strengthens authentication and does not remove the need for accounts or a trust link between organizations.

    Open this question
  26. Question 26

    Cloud Application Security

    A company adopts a cloud identity provider as the trust source for several SaaS applications that act as relying parties. Which three functions should the identity provider perform? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Issue signed assertions or tokens that the applications validateB. Supply user attributes, such as group membership, as claimsD. Authenticate users and enforce the configured MFA policy

    AWhy this is right: Relying parties trust the tokens or assertions the IdP signs and issues.

    BWhy this is right: The IdP passes attributes such as groups as claims so applications can make access decisions.

    CWhy not this: Shadow IT discovery and DLP on SaaS traffic are CASB functions, not IdP functions.

    DWhy this is right: Verifying credentials and enforcing MFA is a core IdP function.

    EWhy not this: Storage encryption is done by each SaaS provider's key management, not by the identity provider.

    An IdP authenticates users, applies MFA, issues signed tokens or assertions, and passes identity attributes as claims to relying parties. Discovering unsanctioned services and applying DLP to SaaS traffic is the job of a cloud access security broker. Encrypting each application's stored data is the SaaS provider's job.

    Open this question
  27. Question 27

    Cloud Application Security

    Employees must sign in separately to 12 cloud applications, which leads to password fatigue and reused passwords. Which solution lets one authentication grant access to all of them?

    Show the answer

    Correct answerA. Single sign-on

    AWhy this is right: SSO gives access to many applications after one authentication, removing repeated credential prompts.

    BWhy not this: A CASB enforces security policy over cloud use and does not unify user logins.

    CWhy not this: Certificate management handles issuing and renewing certificates, not user sign-in across applications.

    DWhy not this: MFA adds factors to each login but users would still authenticate separately to every application.

    Single sign-on lets a user authenticate once and then access multiple applications without re-entering credentials, which reduces the number of passwords to remember or reuse. MFA strengthens each login but does not cut the number of separate sign-ins.

    Open this question
  28. Question 28

    Cloud Application Security

    In a SAML-based setup, a SaaS application receives a signed assertion stating that the user was authenticated and completed MFA. Which component produced that assertion?

    Show the answer

    Correct answerD. Identity provider

    AWhy not this: A CASB sits between users and cloud services to enforce policy and does not issue authentication assertions.

    BWhy not this: The service provider is the application that consumes and validates the assertion, not the issuer.

    CWhy not this: A key management service holds cryptographic keys for data protection and does not authenticate users.

    DWhy this is right: The IdP verifies credentials, applies MFA and issues the signed assertion to the application.

    The identity provider authenticates the user and issues the signed assertion, which the application trusts. The service provider is the application that consumes the assertion, so it is the opposite side of the exchange.

    Open this question
  29. Question 29

    Cloud Application Security

    A team sets secure coding standards, requires peer review, and defines test entry and exit criteria for every release, to reduce defects before they are introduced. Which practice is this?

    Show the answer

    Correct answerD. Quality assurance

    AWhy not this: Quality control checks finished builds for defects; it does not set preventive standards and process gates.

    BWhy not this: DAST tests a running application for vulnerabilities; it is one testing technique, not a lifecycle process.

    CWhy not this: Abuse case testing simulates malicious misuse of features; it does not define coding standards or release criteria.

    DWhy this is right: QA defines standards, reviews and release criteria across the lifecycle to prevent defects rather than only find them.

    Quality assurance is the process-focused, preventive effort that builds standards and criteria into the lifecycle to stop defects early. Quality control inspects and tests built products to find defects that already exist, so it is reactive.

    Open this question
  30. Question 30

    Cloud Application Security

    Every documented use case of a cloud payments API passes testing. The team now wants to test whether an authenticated user can deliberately chain valid calls to exceed a transfer limit. Which approach fits best?

    Show the answer

    Correct answerA. Abuse case testing

    AWhy this is right: Abuse case testing designs malicious scenarios against valid features, exposing business logic flaws like limit bypass.

    BWhy not this: DAST probes for known flaw classes such as injection; it lacks knowledge of business rules like transfer limits.

    CWhy not this: Functional testing confirms documented behavior works; it does not model deliberate misuse of valid features.

    DWhy not this: SCA finds vulnerable or restricted third-party components; it does not test business rule bypass.

    Abuse case testing models an attacker deliberately misusing legitimate functionality, such as chaining valid calls to defeat a business rule. DAST scans for generic vulnerability classes and cannot reason about the intended transfer limit.

    Open this question
  31. Question 31

    Cloud Application Security

    Which kind of scenario is used to design abuse case tests?

    Show the answer

    Correct answerC. A malicious actor misusing a feature to harm the system

    AWhy not this: A normal user completing a task is a use case, which functional testing covers.

    BWhy not this: License issues in dependencies are found by Software Composition Analysis, not abuse case design.

    CWhy this is right: Abuse cases describe attacker misuse of features, and the tests verify the application withstands it.

    DWhy not this: Peak traffic scenarios belong to non-functional load testing, not misuse by an attacker.

    Abuse cases describe how an attacker could misuse intended functionality, and the tests check that the application resists this. Normal task flows are use cases and belong to functional testing.

    Open this question
  32. Question 32

    Cloud Application Security

    Where should developers obtain open-source packages so that only vetted versions end up in builds?

    Show the answer

    Correct answerC. An internal repository holding approved, scanned packages

    AWhy not this: A personal mirror is uncontrolled and unaudited, so its contents cannot be trusted as validated.

    BWhy not this: Search results can lead to look-alike or typosquatted packages, so they are not a validated source.

    CWhy this is right: A curated internal repository serves only reviewed, scanned versions, so builds cannot pull unvetted code.

    DWhy not this: Using the latest tag pulls whatever was published most recently, including unreviewed or compromised releases.

    An internal artifact repository serves only packages that have been reviewed and scanned, so builds use known-good versions. Pulling the latest tag from a public registry lets unvetted or tampered versions enter the build.

    Open this question
  33. Question 33

    Cloud Application Security

    A critical flaw is announced in a popular library. The security team cannot tell which of its cloud applications include it. Which practice would have BEST allowed a quick answer?

    Show the answer

    Correct answerB. Keeping a software bill of materials for each application

    AWhy not this: Signature checks confirm origin and integrity at download time but do not record where components are used.

    BWhy this is right: A component inventory maps each library and version to the applications that use it, so exposure can be found fast.

    CWhy not this: Dynamic scans test running behavior and often cannot reveal which embedded libraries and versions are present.

    DWhy not this: A questionnaire assesses a vendor's practices, not which libraries your applications contain.

    A software bill of materials lists every third-party component and version in an application, so affected applications can be found and patched quickly. Signature checks only prove where a package came from and that it was unaltered, not which applications contain it.

    Open this question
  34. Question 34

    Cloud Application Security

    A team plans to add an open-source library from a public repository to a cloud-hosted application. Which actions validate the library before approval? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersB. Verify the release checksum or signature against the maintainers' published valueC. Review the license terms for compatibility with the application's distributionD. Scan the library for known vulnerabilities with software composition analysisF. Check the project's maintenance activity and responsiveness to security reports

    AWhy not this: Open-source projects typically have no audited service organization report, so this is not a workable validation step.

    BWhy this is right: Comparing the checksum or signature with the maintainers' published value confirms the artifact is genuine and unaltered.

    CWhy this is right: License review confirms the terms permit the intended use and distribution, a core part of validating open-source use.

    DWhy this is right: Software composition analysis finds known vulnerabilities and flags risky components before approval.

    EWhy not this: Download counts show popularity, not safety; popular packages are also targeted by malicious copies and typosquats.

    FWhy this is right: Maintenance health shows whether flaws will be fixed and reports answered, which affects long-term risk.

    Validating open-source software means confirming the artifact is genuine, free of known vulnerabilities, legally usable and actively maintained. Popularity is not a security control, and volunteer projects do not normally provide SOC 2 reports.

    Open this question
  35. Question 35

    Cloud Application Security

    What do containers on the same host share that virtual machines on the same hypervisor do not?

    Show the answer

    Correct answerC. The host operating system kernel

    AWhy not this: Each virtual machine carries its own guest OS; containers do not include a full guest OS.

    BWhy not this: A hypervisor is what VMs run on; containers do not need a separate one each.

    CWhy this is right: Containers share the host OS kernel, which is why they are lighter than VMs.

    DWhy not this: Virtualized hardware is how VMs are presented by the hypervisor; containers do not rely on it.

    Containers virtualize at the operating system level and share the host kernel, which makes them lightweight. Virtual machines each run a full guest operating system on virtualized hardware provided by the hypervisor.

    Open this question
  36. Question 36

    Cloud Application Security

    A SaaS platform accepts document uploads that may contain malware. The team wants to open each file and watch its behavior in an isolated environment before it reaches production storage. Which control BEST meets this need?

    Show the answer

    Correct answerC. Sandboxing

    AWhy not this: DAM watches database queries and access; it does not analyze the behavior of uploaded files.

    BWhy not this: An API gateway authenticates, rate-limits and routes API calls; it does not run files in isolation.

    CWhy this is right: Sandboxing isolates untrusted files so their behavior can be observed safely, away from production.

    DWhy not this: A WAF inspects web requests for attack patterns; it does not execute uploaded files in isolation to observe behavior.

    Sandboxing runs untrusted code or files in an isolated environment, so malicious behavior can be observed without harming production systems. A WAF filters HTTP traffic by rules and signatures. It does not detonate uploaded files to observe what they do.

    Open this question
  37. Question 37

    Cloud Application Security

    Microservices run in containers across a 40-node cluster. When a node fails, its workloads must be rescheduled onto healthy nodes and replicas scaled with load. Which technology provides this?

    Show the answer

    Correct answerC. Kubernetes

    AWhy not this: Docker Engine runs containers on a single host; it does not coordinate rescheduling across a cluster.

    BWhy not this: A load balancer spreads traffic across running instances but does not reschedule or create workloads.

    CWhy this is right: Kubernetes orchestrates containers: it schedules, self-heals after node failure and scales replicas.

    DWhy not this: A registry stores and distributes container images; it does not schedule or run workloads.

    Kubernetes is a container orchestrator: it schedules containers across nodes, restarts or reschedules them after failures and scales replicas automatically. A load balancer only distributes traffic to running instances and cannot place or recreate workloads on other nodes.

    Open this question
  38. Question 38

    Cloud Application Security

    What should a cloud application use to store and retrieve database passwords at runtime instead of hardcoding them?

    Show the answer

    Correct answerD. A secrets management service

    AWhy not this: An SSO portal authenticates users to applications, not application-to-database credentials.

    BWhy not this: Committing secrets to a repository exposes them in source history even if the repository is private.

    CWhy not this: A CASB enforces policy over cloud service use; it does not store application credentials.

    DWhy this is right: A secrets manager holds credentials encrypted, restricts and logs access, and serves them at runtime.

    A secrets management service stores credentials centrally, encrypts them, controls access and audits retrieval, so applications fetch them at runtime. A private Git repository still places secrets in source code, which is the problem being avoided.

    Open this question
  39. Question 39

    Cloud Application Security

    A company must keep encryption keys inside an HSM-backed cloud KMS, rotate yearly without re-encrypting all stored data, and stop key administrators from decrypting data. Which design meets all three?

    Show the answer

    Correct answerA. Envelope encryption with an HSM-backed master key, re-wrapping data keys on rotation, with separate duty roles

    AWhy this is right: The HSM-held master key stays protected, rotation only re-wraps data keys, and separated roles block admin decryption.

    BWhy not this: Software keys stored beside the data break the HSM-backed key protection requirement.

    CWhy not this: Exporting keys leaves the KMS boundary, and a shared admin role fails separation of duties.

    DWhy not this: Using one key directly on data means yearly rotation requires re-encrypting all the data.

    Envelope encryption with an HSM-backed master key keeps the master key in the HSM, lets rotation re-wrap data keys instead of re-encrypting data, and separate administrator and user roles prevent admins from decrypting. A single key used directly on data forces full re-encryption on rotation.

    Open this question
  40. Question 40

    Cloud Application Security

    A cloud console requires administrators to enter a password and a security question answer. An auditor says this is not multi-factor authentication. Which change meets the requirement?

    Show the answer

    Correct answerC. Require a hardware security key at sign-in

    AWhy not this: SSO reduces repeated sign-ins but does not add a second authentication factor.

    BWhy not this: Another security question is still something you know, so it stays a single factor category.

    CWhy this is right: A hardware key is a possession factor, which combines with the password to make real MFA.

    DWhy not this: A longer password strengthens a knowledge factor but adds no second factor category.

    MFA needs factors from different categories. A password and a security answer are both knowledge factors, so adding a hardware key (something you have) makes it true MFA. A second security question is still knowledge and adds no new factor category.

    Open this question
  41. Question 41

    Cloud Application Security

    A company wants a second factor requested only when a sign-in comes from an unfamiliar location or device, so routine logins stay quick. What should it configure?

    Show the answer

    Correct answerB. Risk-based (adaptive) authentication

    AWhy not this: Rotating passwords changes a knowledge factor on a schedule and ignores sign-in context.

    BWhy this is right: Adaptive authentication scores context like location and device and prompts for MFA when risk rises.

    CWhy not this: SSO cuts the number of logins but does not assess sign-in context to trigger a second factor.

    DWhy not this: Federation shares identities across organizations; it does not decide when to prompt for a factor.

    Risk-based (adaptive) authentication evaluates context such as location and device and triggers MFA only when risk is elevated. SSO reduces how often users sign in but does not evaluate context or decide when to ask for another factor.

    Open this question
  42. Question 42

    Cloud Application Security

    A company must scan files already stored in a sanctioned SaaS platform and remove risky sharing links, without agents or rerouting user traffic. Which approach fits?

    Show the answer

    Correct answerD. API-based CASB integration

    AWhy not this: Federation handles authentication to the SaaS app and does not scan or remediate stored files.

    BWhy not this: A forward proxy needs endpoint configuration or agents and only sees traffic that flows through it.

    CWhy not this: A reverse proxy inspects live sessions, not files already stored before it was deployed.

    DWhy this is right: API integration reads and remediates stored content and settings in the SaaS app without touching traffic.

    An API-based CASB connects directly to the SaaS provider, so it can inspect data at rest, including files shared before deployment, and remediate sharing without agents or traffic changes. Proxy modes only see traffic passing through them, not existing stored content.

    Open this question
  43. Question 43

    Cloud Application Security

    Which practice defines cloud environments in version-controlled, machine-readable files so they can be deployed repeatably through a pipeline?

    Show the answer

    Correct answerC. Infrastructure as code

    AWhy not this: It tests a running application for vulnerabilities; it does not describe how environments are built.

    BWhy not this: It identifies and ranks design-level threats; it produces no deployable environment definitions.

    CWhy this is right: Environments are declared in version-controlled files and deployed by a pipeline, giving repeatable, consistent builds.

    DWhy not this: It scans source code for flaws without a running system; it does not define or deploy environments.

    Infrastructure as code describes environments in version-controlled files, so a pipeline can deploy identical environments repeatedly. Static code analysis only examines application source for flaws and does not provision or define environments.

    Open this question
  44. Question 44

    Cloud Application Security

    Which are characteristics of Agile software development? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Requirements and design that may change during developmentC. Frequent stakeholder feedback between iterationsD. Work delivered in short iterations called sprints

    AWhy not this: This describes the sequential Waterfall model, not Agile, which overlaps and repeats activities.

    BWhy this is right: Agile expects requirements and design to evolve as the team learns more.

    CWhy this is right: Agile reviews each iteration with stakeholders, so feedback shapes the next iteration.

    DWhy this is right: Agile delivers working increments in short time-boxed sprints rather than one large release.

    EWhy not this: The Agile Manifesto values working software over comprehensive documentation, not the reverse.

    Agile builds software in short iterations, gathers feedback often and accepts changing requirements and design. Strict phase-by-phase sign-off describes Waterfall, where each phase must finish before the next starts. The Agile Manifesto values working software over comprehensive documentation.

    Open this question
  45. Question 45

    Cloud Application Security

    Which design practice lets a cloud application add or remove instances freely without losing user session data?

    Show the answer

    Correct answerA. Storing session state in an external shared data store

    AWhy this is right: Externalized state means no instance holds unique data, so instances can be added or removed freely.

    BWhy not this: Hard-coded addresses make the client depend on specific instances and block elastic scaling.

    CWhy not this: Local memory ties each session to one instance, so scaling in or an instance failure loses that session.

    DWhy not this: A single instance cannot scale out and is a single point of failure, which runs against cloud design.

    Stateless application design keeps session state outside the instances, in a shared store, so any instance can serve any request and instances can scale in or out. Local memory ties sessions to one instance, so removing that instance loses the data.

    Open this question
  46. Question 46

    Cloud Application Security

    A cloud development team understands common vulnerability categories but needs training on specific security requirements it can verify before releasing web applications. Which resource BEST supports this training?

    Show the answer

    Correct answerD. OWASP ASVS

    AWhy not this: The OWASP Top 10 highlights major web application risks rather than providing comprehensive verification requirements.

    BWhy not this: The API Security Top 10 highlights common API risks rather than providing a general web application verification standard.

    CWhy not this: The CWE Top 25 identifies dangerous software weaknesses rather than defining application security verification requirements.

    DWhy this is right: ASVS provides specific application security requirements that teams can use to guide development and verification.

    OWASP ASVS provides security requirements for developing and verifying web applications. The OWASP Top 10 builds awareness of major web application risks but is not a comprehensive verification standard.

    Open this question
  47. Question 47

    Cloud Application Security

    A multitenant application delegates authentication to a managed identity provider but implements tenant authorization itself. Static analysis finds no critical issues, and release approval requires ASVS verification evidence without duplicating provider testing. Which approach BEST meets these constraints?

    Show the answer

    Correct answerD. Map applicable requirements to responsible components, assess provider evidence, and verify application-enforced controls.

    AWhy not this: Provider assurance does not establish that the application's independently implemented tenant authorization is effective.

    BWhy not this: Source review alone misses runtime and integration behavior needed to demonstrate applicable security requirements.

    CWhy not this: Delegated authentication still requires relevant assurance and integration verification; blanket identity exclusions leave gaps.

    DWhy this is right: Requirement-level responsibility mapping supports relevant provider assurance while preserving verification of application controls.

    ASVS verification should cover applicable requirements with evidence appropriate to each responsible component, including application-enforced authorization and integration behavior. Delegating authentication does not justify excluding identity-related requirements or transferring assurance to the application's tenant authorization.

    Open this question
  48. Question 48

    Cloud Application Security

    A cloud API authenticates individual users, but its downstream transaction records identify only the gateway's service account. Users can dispute initiating transactions even though the records are protected from modification. Which STRIDE threat should the team prioritize?

    Show the answer

    Correct answerC. Repudiation

    AWhy not this: Users are authenticated; the stated weakness is missing attribution downstream, not impersonation.

    BWhy not this: The records are protected from modification; the weakness is their inability to attribute actions to users.

    CWhy this is right: Transactions cannot be reliably attributed to individual users, allowing users to deny initiating them.

    DWhy not this: Nothing indicates that users can obtain permissions beyond those they are authorized to exercise.

    Repudiation arises because the transaction evidence cannot establish which user initiated an action. Spoofing involves impersonating an identity; the missing user attribution does not establish that impersonation occurred.

    Open this question