Curated

Security Architecture 3 (2.5–2.6)

0 votes

Questions69

  1. Question 1

    Security Architecture

    A company wants a CASB to block uploads of source code to unsanctioned cloud storage as employees on managed laptops try them. What CASB mode best provides this inline control?

    Show the answer

    Correct answerA. Forward proxy on managed endpoints

    AWhy this is right: A forward proxy inspects outbound traffic from endpoints inline and can block the upload as it happens.

    BWhy not this: An audit reviews settings after the fact and does not stop user actions in real time.

    CWhy not this: API integration covers only connected sanctioned services and cannot intercept uploads to other sites.

    DWhy not this: Log discovery identifies shadow IT after the event but cannot block anything inline.

    A forward proxy sits in the path of user traffic from managed endpoints and can block uploads to any cloud service in real time. API-based mode only integrates with sanctioned services and acts after the fact, so it cannot stop an upload to an unsanctioned site.

    Open this question
  2. Question 2

    Security Architecture

    A CASB must retroactively find externally shared files in a SaaS tenant, including ones shared from unmanaged personal devices. Users cannot be redirected to any gateway. Which approach fits?

    Show the answer

    Correct answerB. API-based integration with the SaaS provider

    AWhy not this: A sinkhole blocks name resolution and cannot inventory shared files or their permissions.

    BWhy this is right: The provider's APIs expose existing files and sharing state no matter which device or network was used.

    CWhy not this: A PAC file only steers managed laptops, so unmanaged devices are missed, and it sees no stored data.

    DWhy not this: Reverse proxy needs users redirected through it, which is ruled out, and it ignores previously shared files.

    API-based integration queries the provider for stored data and sharing settings regardless of the device used or the network path. Proxy modes only see sessions routed through them, so unmanaged devices that bypass the gateway, and content shared earlier, remain invisible.

    Open this question
  3. Question 3

    Security Architecture

    A SaaS app must enforce real-time download restrictions for contractors on unmanaged personal devices, where no agent or proxy settings can be installed. Which CASB deployment best meets this?

    Show the answer

    Correct answerB. Reverse proxy integrated with the identity provider

    AWhy not this: A PAC file must be configured on each endpoint, which cannot be done on personal devices.

    BWhy this is right: Identity-provider redirection routes sessions through the proxy with no endpoint changes, enabling inline download control.

    CWhy not this: API scans run out of band and cannot restrict a download as it occurs.

    DWhy not this: An agent cannot be installed on these devices, so this is not an option.

    A reverse proxy sits in front of the application, and the identity provider redirects sessions through it, so no endpoint configuration is needed and downloads are controlled in real time. A forward proxy needs endpoint configuration that is impossible on unmanaged devices.

    Open this question
  4. Question 4

    Security Architecture

    A company wants its CASB to scan files already stored in a sanctioned SaaS file-sharing service for sensitive data. Which CASB deployment mode does this?

    Show the answer

    Correct answerC. API-based

    AWhy not this: An agent on the endpoint sees local activity and does not scan content held in the SaaS tenant.

    BWhy not this: A forward proxy inspects user traffic in transit and does not enumerate files already stored in the service.

    CWhy this is right: It uses the provider's APIs to scan stored content and settings without sitting in the traffic path.

    DWhy not this: A reverse proxy fronts the application and controls live sessions; it does not crawl stored files.

    An API-based CASB connects directly to the SaaS provider's APIs, so it can inspect data already at rest and review configuration out of band. A forward proxy only sees traffic that passes through it, so it cannot scan content that is already stored.

    Open this question
  5. Question 5

    Security Architecture

    A company exposes a cloud API to third-party apps that need read-only access to a user's calendar without ever seeing the user's password. Which approach BEST provides this?

    Show the answer

    Correct answerD. OAuth 2.0 access tokens with a limited read-only scope

    AWhy not this: basic authentication hands the user's password to the third party, which the requirement forbids.

    BWhy not this: IP allow-listing restricts network origin and grants no per-user or per-scope permission.

    CWhy not this: a shared key identifies the app and cannot limit access to one user's data by scope.

    DWhy this is right: scoped tokens delegate limited, read-only access without exposing the user's password.

    OAuth 2.0 delegates limited access through scoped tokens, so the app never handles the user's password. A shared API key identifies the app and cannot express per-user, read-only delegated permissions.

    Open this question
  6. Question 6

    Security Architecture

    A team is defining what its cloud API gateway must log so that investigators can reconstruct an abuse incident without storing secrets. Which three practices meet this need? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Forward logs to a central store that regular API users cannot modifyD. Record the authenticated identity and client ID on each requestF. Mask or omit tokens, passwords and API keys from log entries

    AWhy not this: full Authorization headers expose live tokens to anyone with log access.

    BWhy this is right: central, write-protected storage preserves evidence if a gateway is compromised or replaced.

    CWhy not this: instance-local logs are lost when instances are recycled and are easy to tamper with.

    DWhy this is right: attribution to an identity and client is essential to reconstruct who did what.

    EWhy not this: abuse often produces successful responses, so error-only logging omits it.

    FWhy this is right: masking secrets prevents logs from becoming a source of stolen credentials.

    Useful API logs name who made each request, exclude secrets, and sit in a protected central store. Logging full Authorization headers writes live credentials into logs, so anyone reading them can take over sessions.

    Open this question
  7. Question 7

    Security Architecture

    An API gateway's logs show a service account calling a customer-export endpoint at 03:00 for 4,000 sequential record IDs. Each entry records the timestamp, principal, source IP, endpoint and status code, and every call returned HTTP 200. The SOC must measure how much data left. Which field should be added to the log?

    Show the answer

    Correct answerA. Response size in bytes for each request

    AWhy this is right: Bytes returned per call, summed over the calls, give the volume of data that left through the endpoint.

    BWhy not this: The method shows the kind of call, such as GET, but not how much data each response carried.

    CWhy not this: The User-Agent helps profile the client but says nothing about the volume returned.

    DWhy not this: Latency may loosely track response size but varies with load, so it cannot measure the data returned.

    The bytes returned per request, summed across the 4,000 calls, measure how much data left. Method, User-Agent and latency describe how each call was made but not how much it returned, and a status of 200 only shows that each call succeeded.

    Open this question
  8. Question 8

    Security Architecture

    A partner portal's API validates every JWT signature correctly. A tester authenticated as a customer changes the account ID in the URL and retrieves another customer's invoices. Which fix addresses the root cause?

    Show the answer

    Correct answerB. Enforce object-level checks tying the token's subject to the requested account ID on every request

    AWhy not this: token lifetime and key rotation protect authentication, but the attacker's token is valid and legitimate.

    BWhy this is right: server-side object-level checks stop a valid user from reaching objects they do not own.

    CWhy not this: mutual TLS authenticates the connecting client and does not limit which objects a user may read.

    DWhy not this: quotas slow enumeration but still allow each unauthorized read that gets through.

    The flaw is broken object-level authorization: identity is verified, but access to the specific object is never checked. Checking ownership of each requested object on the server fixes it. Shorter token lifetimes harden authentication and do not stop a valid user from reading other users' data.

    Open this question
  9. Question 9

    Security Architecture

    A public API returns HTTP 200 for every request. Telemetry shows one authenticated client sending thousands of calls per minute and degrading latency for other tenants, and each call is individually permitted. Which control BEST addresses this?

    Show the answer

    Correct answerC. Per-client rate limiting with HTTP 429 responses at the API gateway

    AWhy not this: logging records the traffic and does not stop the excess requests from degrading service.

    BWhy not this: signing strength protects token integrity and does nothing to control request volume.

    CWhy this is right: per-client limits cap request volume and return 429 once the client exceeds its allowance.

    DWhy not this: narrower scopes restrict permitted actions, but this client's calls are already allowed.

    Rate limiting caps how many requests a client may send in a time window, protecting availability for other tenants, and rejects excess calls with HTTP 429. Narrowing scopes limits what a client may do, not how often it does it, and each call here is already permitted.

    Open this question
  10. Question 10

    Security Architecture

    Employees on managed laptops, in the office and at home, are using unapproved file-sharing SaaS apps, and the security team has no inventory of them. Which control BEST discovers these apps and rates their risk?

    Show the answer

    Correct answerC. CASB application discovery fed by secure web gateway logs

    AWhy not this: Vulnerability scans find weaknesses on hosts in scanned ranges; they do not inventory SaaS apps used from anywhere.

    BWhy not this: Package monitoring tracks third-party code dependencies in builds, not employee use of SaaS apps.

    CWhy this is right: Egress logs show which SaaS apps users reach, and the CASB catalogs them and scores their risk.

    DWhy not this: CSPM audits misconfigurations in known, sanctioned cloud accounts, not apps users adopted on their own.

    A CASB's discovery function analyzes egress traffic from proxy or secure web gateway logs to identify unsanctioned SaaS apps and score their risk. CSPM only checks the configuration of cloud accounts the company already knows about, so it cannot reveal apps outside them.

    Open this question
  11. Question 11

    Security Architecture

    A tampered build artifact reached production after an attacker compromised a persistent build server. Which three pipeline changes BEST reduce the chance of a repeat? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Sign artifacts at build and verify signatures before deploymentC. Issue short-lived, scoped credentials to the pipelineE. Use ephemeral, isolated build runners for each job

    AWhy this is right: Signature verification before deploy rejects any artifact altered after the trusted build.

    BWhy not this: Coverage checks functional quality of source code, not integrity of the build environment or artifacts.

    CWhy this is right: Short-lived scoped credentials limit what a compromised pipeline can access or publish.

    DWhy not this: A WAF filters web requests at runtime; it does not stop tampering earlier in the pipeline.

    EWhy this is right: A fresh isolated runner per job gives an attacker no persistent build server to compromise.

    FWhy not this: DAST finds runtime application flaws; it does not detect a modified artifact or secure the build host.

    Signing with pre-deploy verification detects tampering, ephemeral isolated runners remove a persistent foothold, and short-lived scoped credentials limit what a compromised runner can do. DAST, test coverage and a WAF test or shield application behavior but do not protect artifact integrity.

    Open this question
  12. Question 12

    Security Architecture

    A critical flaw is disclosed in the guest operating system of virtual machines a company runs in an IaaS offering. Which task falls to the company under the shared responsibility model?

    Show the answer

    Correct answerD. Patching the guest operating systems

    AWhy not this: Physical data center access is a provider responsibility.

    BWhy not this: Physical host hardware is maintained by the provider.

    CWhy not this: The provider operates and patches the virtualization layer in IaaS.

    DWhy this is right: In IaaS the customer controls the guest OS, so patching it is the customer's duty.

    In IaaS the provider manages hardware, facilities and the hypervisor, while the customer manages everything it installs or runs on the VM, including guest OS patching. Hypervisor patching is tempting but sits below the customer's layer.

    Open this question
  13. Question 13

    Security Architecture

    A healthcare firm replaces its on-premises collaboration server with a SaaS platform. The provider's SOC 2 report covers infrastructure, application patching and default encryption at rest. Which duty remains the firm's?

    Show the answer

    Correct answerD. Setting sharing permissions and retention rules for regulated data

    AWhy not this: The database engine is part of the provider's stack and is hardened by the provider.

    BWhy not this: Tenant network design is a provider-side infrastructure matter the customer cannot change.

    CWhy not this: In SaaS the provider maintains and patches the application, as the report states.

    DWhy this is right: The customer always owns data governance and access configuration, even when the provider runs the service.

    Even in SaaS, the customer keeps accountability for its data, user access and configuration, such as sharing permissions and retention for regulated records. Application patching is tempting but is the provider's job in SaaS and is already covered by the report.

    Open this question
  14. Question 14

    Security Architecture

    A security scan finds a third-party API key hardcoded in a function's source code. What is the best remediation?

    Show the answer

    Correct answerB. Retrieve the key from a secrets manager at runtime using the execution role

    AWhy not this: Repository encryption does not stop developers or anyone with code access from reading the key.

    BWhy this is right: A secrets manager with role-based retrieval keeps the key out of code and configuration.

    CWhy not this: Plaintext environment variables are visible to anyone who can read the function configuration.

    DWhy not this: Rotation shortens exposure but the key stays in code and in version history.

    A secrets manager keeps the key out of code and configuration, and the function's execution role controls who can retrieve it at runtime. A plaintext environment variable is tempting but still exposes the secret to anyone who can read the function configuration.

    Open this question
  15. Question 15

    Security Architecture

    A function triggered by messages from a queue builds a database query from fields in each message. A review finds an injection risk. Which control addresses it best?

    Show the answer

    Correct answerB. Validating event fields and using parameterized database queries

    AWhy not this: A WAF inspects HTTP requests; queue messages bypass it, so it cannot stop this injection.

    BWhy this is right: Validation and parameterized queries stop untrusted event data from altering the query.

    CWhy not this: Encryption at rest protects stored messages but does not stop malicious message content.

    DWhy not this: Subnet isolation limits network reach but does not sanitize input handled by the code.

    Event data is untrusted input, so the function must validate it and use parameterized queries. A WAF only inspects HTTP traffic and never sees queue-triggered events, which is why it is the tempting but wrong choice.

    Open this question
  16. Question 16

    Security Architecture

    A team moves an application to a serverless workload in a public cloud. What security responsibility remains with the customer?

    Show the answer

    Correct answerA. Securing the application code and its access permissions

    AWhy this is right: Code, configuration and permissions stay with the customer under shared responsibility.

    BWhy not this: Physical data center security is always the provider's duty in public cloud.

    CWhy not this: The provider runs and secures the hypervisor layer beneath serverless workloads.

    DWhy not this: The provider manages and patches the host OS in a serverless model, not the customer.

    In serverless, the provider manages the servers, host OS, hypervisor and facilities. The customer still owns the application code, its configuration, data and the permissions it is granted. Host OS patching is a tempting answer but belongs to the provider here.

    Open this question
  17. Question 17

    Security Architecture

    A public function behind an API gateway is hit by bot traffic, driving up cost and exhausting the backend database's connections. Which design best limits the impact while keeping legitimate service?

    Show the answer

    Correct answerD. Apply gateway rate limiting and cap function concurrency to the database's connection capacity

    AWhy not this: Removing the gateway drops throttling and authentication controls and widens exposure.

    BWhy not this: More memory and timeout add cost per invocation and do not limit how many run at once.

    CWhy not this: Fixed VMs abandon the serverless model and do not address abusive request volume.

    DWhy this is right: Throttling plus a concurrency cap bounds scaling, cost and database load.

    Serverless resources scale automatically, so quotas must bound them: gateway throttling limits abusive request rates and a concurrency cap keeps invocations within what the database can handle. More memory or timeout does not limit scaling and can raise cost.

    Open this question
  18. Question 18

    Security Architecture

    A company holds perpetual database licenses with active support and is moving the workloads to IaaS virtual machines. It wants to avoid paying for the database software twice. Which licensing approach fits?

    Show the answer

    Correct answerB. Bring-your-own-license

    AWhy not this: A reserved instance is a compute capacity discount; it does not apply existing software licenses.

    BWhy this is right: Existing supported licenses are applied to cloud VMs, so only compute is paid for.

    CWhy not this: The software fee is built into the hourly rate, so the company would pay twice for the database.

    DWhy not this: A SaaS subscription replaces the product with a new service and does not reuse perpetual licenses.

    Bring-your-own-license lets the company apply existing, supported licenses to cloud VMs, provided the vendor's terms allow cloud use, so only compute is paid for. License-included instances bundle the software fee into the hourly price, which would mean paying twice.

    Open this question
  19. Question 19

    Security Architecture

    A regulator requires that key material never leave the company's on-premises HSM, and that disconnecting it makes the cloud data unreadable at once. Which key model should the architect choose?

    Show the answer

    Correct answerA. On-premises HSM via an external key store

    AWhy this is right: Key material stays in the customer's HSM; disconnecting it cuts off decryption immediately.

    BWhy not this: The provider generates and holds the keys, so the customer has no control over key material.

    CWhy not this: The HSM is dedicated but sits in the provider's data center, so key material is not on-premises.

    DWhy not this: The key is imported into the provider's KMS, so key material leaves the HSM and a copy persists there.

    An external key store (hold your own key) keeps key material in the customer's on-premises HSM, so cutting the connection makes the data unreadable. BYOK imports the key into the provider's KMS, so the key material leaves the customer's HSM and the provider holds a copy.

    Open this question
  20. Question 20

    Security Architecture

    A company stores regulated data in a cloud object store. Policy requires the company to rotate and disable the encryption keys itself, while the provider's service still performs encryption and decryption. Which key model meets this?

    Show the answer

    Correct answerD. Customer-managed keys

    AWhy not this: Licensing model for software; it has nothing to do with who controls encryption keys.

    BWhy not this: Provider service could not decrypt the data to process it, so it would not perform encryption itself.

    CWhy not this: The provider controls the key lifecycle, so the customer cannot rotate or disable the keys itself.

    DWhy this is right: The customer controls rotation and disablement while the provider's service still encrypts and decrypts.

    Customer-managed keys let the customer control rotation, disablement and access policy while the provider's service uses them for encryption and decryption. Provider-managed keys are rotated and controlled by the provider, so the customer cannot meet the policy.

    Open this question
  21. Question 21

    Security Architecture

    A Zero Trust team wants to cut MFA fatigue for staff on managed devices on the office network, but require stronger reauthentication when a request to the payroll system comes from an unmanaged device or an impossible-travel location. Which design meets this?

    Show the answer

    Correct answerC. Risk-scored policy that triggers reauthentication only when device, location or behavior signals deviate from the baseline for the resource's sensitivity

    AWhy not this: schema validation protects the API from bad input but says nothing about the requester's context.

    BWhy not this: VLAN isolation limits network reach but cannot challenge remote or unmanaged-device requests or reduce prompts.

    CWhy this is right: signal-driven challenges reduce prompts in trusted contexts and strengthen them when risk rises.

    DWhy not this: a uniform timeout is not context-aware and increases prompts for low-risk users.

    Context-based reauthentication ties prompts to signals and resource sensitivity, so trusted contexts stay quiet and anomalous ones are challenged. A uniform timeout prompts everyone equally and ignores context, so it adds fatigue without targeting risk.

    Open this question
  22. Question 22

    Security Architecture

    A user signed in from the corporate office in the morning. That afternoon, the same session token is used from an unfamiliar country on a new device. What should a Zero Trust policy do?

    Show the answer

    Correct answerD. Require a step-up reauthentication challenge because the context changed

    AWhy not this: a token's earlier issuance does not prove the current context is trustworthy, so trusting it is implicit trust.

    BWhy not this: permanent deletion is disproportionate; a challenge can resolve legitimate travel or a new device.

    CWhy not this: adding the device to inventory without verification would authorize an unknown endpoint.

    DWhy this is right: a change in location and device is a risk signal that should trigger a step-up challenge.

    Context-based reauthentication prompts for fresh or stronger authentication when signals such as location or device differ from the established baseline. Trusting the earlier token ignores the change in context, which is what Zero Trust is designed to avoid.

    Open this question
  23. Question 23

    Security Architecture

    A Zero Trust design grants a contractor access to a finance API after strong MFA at login. Midway through the session, the contractor's endpoint loses its EDR agent and begins beaconing to an unknown host. The architect wants access withdrawn without waiting for the session to expire and without forcing a new login prompt first. What should the design use?

    Show the answer

    Correct answerB. A policy engine that re-evaluates device posture and threat signals throughout the session and tells the enforcement point to revoke access

    AWhy not this: an onboarding inventory record is a point-in-time fact and does not reflect the device's current condition.

    BWhy this is right: ongoing evaluation of posture and threat signals lets the policy engine revoke access the moment trust drops.

    CWhy not this: a static IP allow-list is a perimeter control that cannot see EDR loss or beaconing and is not reviewed in real time.

    DWhy not this: timed reauthentication is periodic and ignores device state, so the compromised endpoint keeps access until the next prompt.

    Continuous authorization re-evaluates trust throughout a session using live signals such as posture and threat telemetry, and the policy enforcement point acts on the decision at once. A shorter MFA lifetime only adds timed prompts and does not react to the compromise when it happens.

    Open this question
  24. Question 24

    Security Architecture

    An analyst notes that a user authenticated at 09:00 still holds access to a sensitive HR database at 14:00, even though the user's role changed in the HR system at noon. Which Zero Trust principle is not being met?

    Show the answer

    Correct answerB. Continuous authorization, because access decisions are not re-evaluated against current attributes during the session

    AWhy not this: the stem says nothing about device inventory; the problem is a changed user attribute.

    BWhy this is right: the stale grant persisted after the role attribute changed, so there was no ongoing re-evaluation.

    CWhy not this: nothing in the stem concerns malformed or unexpected API input.

    DWhy not this: the relationship between users and the HR database exists; the failure is that it was not rechecked later.

    The role changed mid-session, yet the original grant persisted. Continuous authorization requires access to be re-evaluated as attributes change, not decided once at login. Subject-object mapping defines who may reach what, but it does not itself cause re-evaluation during a session.

    Open this question
  25. Question 25

    Security Architecture

    An employee with valid access syncs files from the corporate cloud storage to a personal cloud account. Bucket permissions are correct and nothing is public. What is the problem and the matching control?

    Show the answer

    Correct answerC. Data leakage, addressed by DLP policies on outbound uploads

    AWhy not this: Exposure results from overly permissive access settings, but the stem says the permissions are correct.

    BWhy not this: Remanence concerns residual data after deletion; no data was deleted or reallocated here.

    CWhy this is right: Data leaving the organization through an unsanctioned channel is leakage, and DLP on outbound transfers addresses it.

    DWhy not this: Insecure storage is a weakness in the storage resource itself, and encryption at rest does not stop a user copying files out.

    Authorized data is leaving through an unsanctioned channel while permissions are sound, which is data leakage. DLP policies on outbound transfers address it. Data exposure is a misconfigured-access problem, and the stem states the permissions are correct.

    Open this question
  26. Question 26

    Security Architecture

    Customer records in a cloud storage bucket can be read by anyone on the internet because of a permissive access setting. What is this condition?

    Show the answer

    Correct answerB. Data exposure

    AWhy not this: Masking obscures sensitive values in a dataset; it is a control, not the name of this condition.

    BWhy this is right: Live data readable by unauthorized parties through a permissive access setting is data exposure.

    CWhy not this: Sovereignty concerns which legal jurisdiction governs where data is stored, not who can read it.

    DWhy not this: Remanence is residual data left on media after deletion; these records are live and readable.

    Data exposure means data is reachable by parties who should not have access, typically from a misconfigured permission such as public read. Data remanence is different: it concerns residual data left on storage after deletion, not who can read live data.

    Open this question
  27. Question 27

    Security Architecture

    A database snapshot was shared with all cloud accounts for a one-time migration and never unshared. What is the BEST remediation?

    Show the answer

    Correct answerB. Limit sharing to named account IDs and block public sharing by policy

    AWhy not this: Encryption at rest protects stored media, but principals who are granted access can still use the snapshot.

    BWhy this is right: Removing the all-accounts grant and enforcing a guardrail fixes the cause of the exposure and prevents repeats.

    CWhy not this: Overwriting blocks addresses remanence after deletion; it does nothing about the current open sharing grant.

    DWhy not this: Egress DLP watches data leaving through channels; the problem here is a permissive sharing setting.

    The snapshot is exposed because its sharing permission is too broad. Restricting it to named accounts and blocking public sharing by policy applies least privilege and prevents recurrence. Encryption at rest does not change who has been granted access.

    Open this question
  28. Question 28

    Security Architecture

    Two application servers share a subnet, and an auditor requires east-west traffic between them to be limited to the ports each workload needs. Which design meets this?

    Show the answer

    Correct answerD. Microsegmentation with workload-level policies

    AWhy not this: Larger zones leave hosts inside a zone free to talk to each other, which is the opposite of the requirement.

    BWhy not this: Always-on VPN protects remote client connectivity and does not control server-to-server flows.

    CWhy not this: A perimeter firewall sees north-south traffic and cannot filter traffic between hosts on the same subnet.

    DWhy this is right: Workload-level policy limits east-west flows to only the required ports, even within one subnet.

    Microsegmentation enforces least-privilege policy at each workload, so traffic between servers on the same subnet can be restricted. Coarse VLAN zones and perimeter firewalls do not inspect traffic between hosts inside a zone.

    Open this question
  29. Question 29

    Security Architecture

    A flat network is split into VLAN zones with a firewall controlling traffic between them to limit lateral movement. What is this design called?

    Show the answer

    Correct answerA. Segmentation

    AWhy this is right: Dividing a network into zones with filtered traffic between them is segmentation.

    BWhy not this: Applies policy per workload, not per VLAN zone, so it is finer-grained than this design.

    CWhy not this: Always-on VPN keeps a remote client tunnel connected; it does not divide the internal network.

    DWhy not this: Split tunneling sends only some client traffic through a VPN; it does not create network zones.

    Segmentation divides a network into zones and filters traffic between them, which limits how far an attacker can move. Microsegmentation goes further by applying policy to individual workloads, not to whole zones.

    Open this question
  30. Question 30

    Security Architecture

    Workloads in an autoscaling cloud environment change IP addresses constantly, so IP-based rules between VLANs keep breaking. Which approach keeps least-privilege policy attached to each workload?

    Show the answer

    Correct answerB. Microsegmentation with tag- or identity-based policies

    AWhy not this: Always-on VPN is a client connectivity feature and does not define workload-to-workload policy.

    BWhy this is right: Policy bound to workload identity or tags follows the workload regardless of its IP address.

    CWhy not this: Static ACLs still rely on IP addresses and subnets, so the same breakage continues.

    DWhy not this: A site-to-site VPN encrypts traffic between networks and does not provide per-workload access control.

    Microsegmentation policies can be bound to workload identity or tags, so they follow a workload when its address changes. Static VLAN ACLs depend on addresses and subnets, so they break as workloads scale.

    Open this question
  31. Question 31

    Security Architecture

    Storage is deployed through IaC pipelines. The architect needs public-bucket misconfigurations found before anything is provisioned, reported to developers in the pull request, and not left to runtime enforcement or alerting. Which control fits?

    Show the answer

    Correct answerC. Policy-as-code scanning of IaC templates, failing the pull request

    AWhy not this: Logs access after resources exist and supports investigation, not pre-deployment checking.

    BWhy not this: Blocks public access on live buckets at runtime, so it is preventative and acts after provisioning.

    CWhy this is right: Checks templates in the pipeline and fails the pull request, so the flaw is caught before anything is provisioned.

    DWhy not this: Alerts only after a bucket is already public, so it is detective and comes too late.

    Policy-as-code scanning of IaC templates is proactive: it finds the flaw at design and build time, before any resource exists. A block-public-access setting is preventative because it acts on live resources at runtime, so it fails the requirement to catch the problem before provisioning.

    Open this question
  32. Question 32

    Security Architecture

    Administrators have signed in to the cloud management console from unknown networks. The architect needs a control that rejects such sign-ins when attempted, not afterward. Which should be implemented?

    Show the answer

    Correct answerA. Conditional access limiting sign-in to approved networks

    AWhy this is right: Denies sign-in attempts from untrusted networks at the moment of the attempt, which is preventative.

    BWhy not this: Revoking a session after a flag is a response after access was granted, so it is corrective.

    CWhy not this: Threat modeling anticipates risk at design time but does not reject a sign-in itself.

    DWhy not this: Reports unusual sign-ins after they succeed, so it is detective.

    Conditional access enforces the restriction at sign-in time and denies the attempt, which is preventative. Alerts and post-flag revocation act only after the sign-in occurs, so they are detective or corrective and do not meet the requirement.

    Open this question
  33. Question 33

    Security Architecture

    An organization wants to ensure that no account administrator can disable audit logging in any cloud account. Which control meets this requirement?

    Show the answer

    Correct answerA. An organization-level service control policy denying the action

    AWhy this is right: A deny guardrail at the organization level blocks the action for every account, including administrators.

    BWhy not this: A runbook restores logging after the fact, so it is a corrective process.

    CWhy not this: An alert reports the change only after logging is already off, so it is detective.

    DWhy not this: Threat modeling is a design-stage proactive activity and does not enforce anything on accounts.

    An organization-level deny guardrail blocks the action even for account administrators, which makes it preventative. A SIEM alert only reports that logging was disabled after the fact, so it is detective and cannot guarantee logging stays on.

    Open this question
  34. Question 34

    Security Architecture

    A security architect must add a proactive control, in the cloud control model of proactive, preventive and detective controls, for a new service the team will deploy next month. Which action fits BEST?

    Show the answer

    Correct answerD. Validate the service's IaC templates against policy before resources are provisioned

    AWhy not this: A deny policy blocks actions when they are attempted, so it is a preventive control.

    BWhy not this: Restoring from snapshots recovers after an incident, so it is corrective.

    CWhy not this: Alerting on API calls finds activity after it happens, so it is detective.

    DWhy this is right: Checking templates against policy before provisioning stops noncompliant resources from being created, which is a proactive control.

    In the cloud control model, as in AWS Control Tower, a proactive control checks resources before they are provisioned, for example hooks that test infrastructure-as-code templates against policy. A deny policy is preventive, blocking actions as they are attempted, and API alerts are detective.

    Open this question
  35. Question 35

    Security Architecture

    Which cloud control is an example of a detective control?

    Show the answer

    Correct answerA. A SIEM rule that alerts on unusual administrative API calls

    AWhy this is right: Identifies and reports suspicious activity as it happens, which is the purpose of a detective control.

    BWhy not this: Blocks traffic before it connects, so it is preventative.

    CWhy not this: Encryption protects data confidentiality and does not detect anything, so it is preventative.

    DWhy not this: MFA stops unauthorized sign-ins up front, so it is preventative.

    A detective control identifies suspicious or unauthorized activity after it occurs, such as a SIEM alert on unusual administrative calls. The security group is preventative because it blocks traffic instead of reporting it.

    Open this question
  36. Question 36

    Security Architecture

    A cloud team must ensure object storage is reachable only by the organization's identities on expected networks, and that data cannot be copied to accounts the organization does not own, even by authorized users. Which design BEST meets this?

    Show the answer

    Correct answerD. Access conditions limiting identities, resources, and networks to the organization's own

    AWhy not this: Corporate egress IPs still allow an authorized user to copy data out to a foreign account from a trusted address.

    BWhy not this: Strong authentication verifies the user but cannot stop a valid user copying data to an external account.

    CWhy not this: Segmentation isolates the network path but does not control which identities or destination accounts can receive the data.

    DWhy this is right: Conditions on identity, resource, and network trust bind protection to the data itself, covering all three stated constraints.

    A data perimeter is enforced at the data and resource layer. It trusts only the organization's identities, resources, and networks, so it also blocks copies to outside accounts. A secure zone isolates workloads on the network but does not stop an authorized user from moving data to an external account.

    Open this question
  37. Question 37

    Security Architecture

    In a Zero Trust architecture, what is a secure zone?

    Show the answer

    Correct answerB. An isolated segment whose sensitive resources are reached only via an enforcement point

    AWhy not this: That describes a data perimeter, which controls access to data by identity and network conditions.

    BWhy this is right: A secure zone isolates sensitive resources and admits traffic only through a policy enforcement point.

    CWhy not this: That describes a DMZ, which hosts exposed services rather than isolating sensitive ones.

    DWhy not this: That describes the policy engine, a system component that decides rather than isolates.

    A secure zone is an isolated segment holding sensitive resources, with access allowed only through a policy enforcement point. A screened subnet is for exposed services, not protected ones.

    Open this question
  38. Question 38

    Security Architecture

    A secure zone holds 200 servers behind one policy enforcement point, and admitted servers trust each other. A compromised server reached all the rest. Which change BEST addresses this?

    Show the answer

    Correct answerD. Split it into smaller zones, each behind its own enforcement point

    AWhy not this: A second policy engine adds availability but does not change how widely hosts trust each other.

    BWhy not this: A data perimeter governs data movement to outside accounts, not server-to-server trust inside a zone.

    CWhy not this: Entry authentication gates admission only; the lateral movement happened inside the zone after admission.

    DWhy this is right: Smaller zones with their own enforcement points narrow the implicit trust area and limit lateral movement.

    Everything behind an enforcement point is an implicit trust area, so a large zone lets one compromised host move laterally. Smaller zones, each with its own enforcement point, shrink that area. Stronger authentication at the entry point does nothing once a host is already inside.

    Open this question
  39. Question 39

    Security Architecture

    The policy engine has returned a grant for a user's request to a resource. Which component then tells the enforcement point to open the session and issues the session credentials?

    Show the answer

    Correct answerA. Policy administrator

    AWhy this is right: It carries out the grant by commanding the enforcement point and generating session credentials.

    BWhy not this: It authenticates identities and supplies attributes but does not manage sessions at the enforcement point.

    CWhy not this: It makes the grant or deny decision but does not configure the path or issue session credentials.

    DWhy not this: It opens and closes the connection but is instructed by the administrator and does not issue credentials.

    The policy administrator acts on the policy engine's decision by configuring the enforcement point and issuing session credentials. The policy engine only decides, and the enforcement point only opens or closes the path when instructed.

    Open this question
  40. Question 40

    Security Architecture

    A SIEM flags a compromised VM in a virtualized data center. The team wants containment applied across all switches within seconds, without logging in to each device. What is the BEST approach?

    Show the answer

    Correct answerA. Have the SOAR playbook call the controller's API to push a quarantine rule

    AWhy this is right: The controller's northbound API lets automation push one quarantine policy to all switches quickly.

    BWhy not this: A SWG covers only outbound web traffic and leaves east-west traffic from the VM open.

    CWhy not this: Per-device SSH edits are slow, inconsistent and defeat centralized programmability.

    DWhy not this: SD-WAN path changes affect WAN link choice, not isolation inside the data center.

    In SDN, automation can call the controller's northbound API, and the controller programs quarantine rules on the switches centrally and consistently. Per-device SSH edits are slow and error-prone, and a web gateway covers only outbound web traffic, not east-west movement.

    Open this question
  41. Question 41

    Security Architecture

    A company with remote staff and many branches wants one cloud-delivered service that combines WAN connectivity with ZTNA, secure web gateway and CASB controls. Which architecture does this describe?

    Show the answer

    Correct answerD. SASE

    AWhy not this: SD-WAN optimizes WAN paths but does not itself bundle ZTNA, SWG and CASB.

    BWhy not this: A site-to-site VPN only links networks with encrypted tunnels and has no cloud security services.

    CWhy not this: SDN separates control from data plane in a network; it is not a cloud security service bundle.

    DWhy this is right: SASE delivers WAN connectivity and ZTNA, SWG and CASB together as one cloud service.

    SASE converges network connectivity with cloud-delivered security services such as ZTNA, SWG and CASB at the edge. SD-WAN supplies the WAN transport and link steering but is not the converged security service on its own.

    Open this question
  42. Question 42

    Security Architecture

    A company with 200 branches and remote users backhauls all traffic to its data center, causing SaaS latency. It needs identity- and posture-based policy and DLP inspection everywhere, with no new on-premises appliances. Which design BEST meets this?

    Show the answer

    Correct answerC. SASE enforcing SWG, CASB and ZTNA policy at the nearest cloud point of presence

    AWhy not this: Scaling data center appliances keeps the backhaul and adds on-premises hardware, against the constraints.

    BWhy not this: Local breakout cuts latency, but basic ACLs give no identity, posture or DLP inspection.

    CWhy this is right: Cloud-edge SWG, CASB and ZTNA give consistent identity and DLP policy without backhaul or new appliances.

    DWhy not this: Data center microsegmentation does not cover branches, remote users or SaaS traffic.

    SASE moves identity-aware inspection and policy to cloud points of presence near users, removing backhaul and on-premises appliances. SD-WAN breakout fixes latency but leaves no consistent DLP, identity or posture enforcement.

    Open this question
  43. Question 43

    Security Architecture

    A team wants one central controller to push forwarding rules to hundreds of switches through an API, so the switches only forward traffic. Which principle does this reflect?

    Show the answer

    Correct answerA. Decoupling the control plane from the data plane

    AWhy this is right: SDN moves decisions to a central controller while devices only forward, which is control and data plane separation.

    BWhy not this: Managed overlays over multiple links describe SD-WAN, not SDN forwarding control.

    CWhy not this: Per-session identity-bound tunnels relate to ZTNA, not to central programming of switches.

    DWhy not this: Converged cloud network and security delivery describes SASE, not controller-driven forwarding.

    SDN separates the control plane, held in a central controller, from the data plane, where devices only forward traffic. Link aggregation into an overlay is SD-WAN, which is about WAN transport rather than controller-driven forwarding rules.

    Open this question
  44. Question 44

    Security Architecture

    A retailer wants to replace MPLS at 300 stores with broadband and LTE links, with a central controller steering each application over the best link by measured latency and loss. No new security services are needed. Which technology fits?

    Show the answer

    Correct answerA. SD-WAN

    AWhy this is right: SD-WAN centrally steers each application across broadband, LTE and other links using measured link quality.

    BWhy not this: Static routes cannot react to measured latency and loss or steer per application.

    CWhy not this: SASE centers on converged cloud security services, which the stem says are not needed.

    DWhy not this: SDN centralizes the control plane of a network but is not about steering applications over WAN links by quality.

    SD-WAN uses a central controller to apply application-aware path selection across multiple transport links such as broadband and LTE. A static-route VPN cannot adapt to measured link quality, and SASE is chosen for converged security, which is not needed here.

    Open this question
  45. Question 45

    Security Architecture

    Terraform provisions a production database, and its local state file on an engineer's laptop contains the generated administrator password. What should the team do?

    Show the answer

    Correct answerC. Use an encrypted remote backend with access control and locking

    AWhy not this: Deleting state breaks Terraform's mapping to real resources, so later runs cannot manage or destroy them correctly.

    BWhy not this: A repository exposes the plaintext secrets in state to every reader and keeps them in history.

    CWhy this is right: A remote backend protects state at rest, limits who can read it, and locking prevents concurrent corrupting runs.

    DWhy not this: The .tf files hold the declarations, but the secrets are in the state, which would remain unprotected on the laptop.

    Terraform state can hold sensitive values in plaintext, so it belongs in a remote backend with encryption, restricted access and locking. Committing it to Git spreads the secrets to everyone with repository access.

    Open this question
  46. Question 46

    Security Architecture

    An administrator manually opened a port on a cloud security group in the console. The team must detect the deviation from its declared infrastructure and restore the intended configuration. Which approach BEST does this?

    Show the answer

    Correct answerD. Compare Terraform's recorded state with the live resources, then apply

    AWhy not this: Ansible manages configuration inside hosts and does not reconcile cloud security group rules against a declared state.

    BWhy not this: Image scanning looks for vulnerabilities in container images and says nothing about security group rules.

    CWhy not this: A CASB finds unsanctioned SaaS use and does not reconcile infrastructure against its declared definition.

    DWhy this is right: Terraform plan shows drift between declared code and real resources, and apply restores the intended configuration.

    Terraform keeps a state of the declared infrastructure, so a plan exposes drift between code and live resources and an apply reconciles it. Ansible configures operating systems and software on hosts, so it does not track or restore cloud resources such as security groups.

    Open this question
  47. Question 47

    Security Architecture

    A company must enforce a hardened baseline on 400 Linux VMs across several cloud accounts. Requirements: no agent on the VMs, repeat runs that change only nonconforming settings, and no credentials stored in playbooks. Which design BEST meets them?

    Show the answer

    Correct answerB. Idempotent Ansible playbooks run over SSH, with keys from a secrets vault

    AWhy not this: This needs an agent on every VM, which the requirements forbid, and a shared password is a standing credential.

    BWhy this is right: Agentless, idempotent runs touch only nonconforming settings, and a vault keeps credentials out of playbooks.

    CWhy not this: Terraform provisions resources rather than hardening guests, and plain-text credentials break the no-stored-credentials rule.

    DWhy not this: Scripts that rewrite everything every run are not idempotent, and embedded keys are stored credentials.

    Ansible is agentless over SSH, and idempotent modules change only settings that differ from the baseline. Pulling keys from a vault avoids stored credentials. Terraform provisions infrastructure rather than enforcing in-guest configuration, and plain variables would expose secrets.

    Open this question
  48. Question 48

    Security Architecture

    A newly published CVE affects a third-party library already running in several production applications. The code passed every build-time scan. Which control would have alerted the team to the affected applications?

    Show the answer

    Correct answerA. Package monitoring against vulnerability feeds using an SBOM

    AWhy this is right: Continuous matching of the dependency inventory to vulnerability feeds flags libraries disclosed as vulnerable after release.

    BWhy not this: Static analysis checks the team's own code at commit time and does not follow new CVEs in deployed dependencies.

    CWhy not this: Image signing proves who built the image and that it is unaltered, not that its libraries are free of known flaws.

    DWhy not this: Reviewing Terraform plans checks infrastructure changes and does not examine application dependencies.

    Package monitoring continuously compares the inventory of dependencies, such as an SBOM, with newly published vulnerability data, so it flags deployed libraries that became vulnerable after the build. Static analysis only examines code at commit time and does not track later-published CVEs in dependencies.

    Open this question
  49. Question 49

    Security Architecture

    A Zero Trust team is writing the access rule for an automated build service that must read from one secrets vault and write to one artifact repository, nothing else. Which rule definition best expresses this subject-object relationship?

    Show the answer

    Correct answerD. Grant the service's workload identity read on the vault and write on the repository, with no other permissions

    AWhy not this: Administrator rights for a whole group give excess privilege and are not tied to the service.

    BWhy not this: Subnet-wide reach to all servers ties trust to location and is far too broad.

    CWhy not this: An IP-based rule with unlimited actions after one login uses location and grants excess rights.

    DWhy this is right: It ties a distinct subject to specific objects with only the needed actions.

    The subject is the service's own identity, each object is named, and the action on each is limited, which is least privilege. A subnet rule or IP rule relies on network location, and group administrator rights are far broader than needed.

    Open this question
  50. Question 50

    Security Architecture

    In a Zero Trust model, a contractor's managed laptop requests a customer database. Which pairing correctly identifies the subject and the object in this access request?

    Show the answer

    Correct answerD. Subject: the contractor and laptop; object: the customer database

    AWhy not this: The policy engine decides access and is neither the requester nor the resource.

    BWhy not this: This reverses the roles, since the database is the resource being requested.

    CWhy not this: A network segment and enforcement point are architecture components, not the requester and resource.

    DWhy this is right: The requester is the subject and the requested resource is the object.

    The subject is the entity requesting access, here the contractor using the laptop, and the object is the resource being accessed, the database. Reversing them is wrong, and the policy engine and enforcement point are components that make and apply decisions, not the requester or resource.

    Open this question