Courseiva

Certified Cloud Security Professional CCSP (CCSP) — Questions 451525

964 questions total · 13pages · All types, answers revealed

Page 6

Page 7 of 13

Page 8
451
MCQeasy

A cloud customer wants to ensure that their data is encrypted during transmission between their on-premises data center and the cloud provider's service. Which protocol should they use?

A.Internet Protocol Security (IPSec)
B.Transport Layer Security (TLS) 1.2
C.Secure Shell (SSH)
D.Remote Desktop Protocol (RDP)
AnswerB

TLS is the standard for encrypting data in transit over networks.

Why this answer

TLS 1.2 is the correct choice because it is specifically designed to secure data in transit over networks, such as between an on-premises data center and a cloud provider. It operates at the transport layer, providing encryption, authentication, and integrity for HTTP-based traffic (HTTPS), which is the most common method for cloud API interactions. IPSec, while also a valid encryption protocol, is typically used for site-to-site VPN tunnels at the network layer, not for securing individual service-to-service transmissions like those to a cloud provider's REST API.

Exam trap

ISC2 often tests the distinction between network-layer encryption (IPSec) and transport-layer encryption (TLS), leading candidates to choose IPSec because it is commonly associated with 'secure transmission' between sites, but the question specifies 'between their on-premises data center and the cloud provider's service,' which implies application-level communication, not a full network tunnel.

How to eliminate wrong answers

Option A is wrong because IPSec operates at the network layer (Layer 3) and is primarily used for establishing VPN tunnels between entire networks, not for encrypting individual application-level data transmissions between a customer's data center and a specific cloud service endpoint. Option C is wrong because SSH is designed for secure remote shell access and command execution, not for encrypting bulk data transmission between data centers and cloud services; it lacks the necessary protocol support for web-based API calls. Option D is wrong because RDP is a proprietary protocol for remote desktop connections to Windows machines, not a general-purpose encryption protocol for data in transit between on-premises and cloud environments.

452
MCQmedium

A security analyst is investigating a potential compromise of an AWS EC2 instance. Which step should be taken FIRST to contain the incident and prevent further damage?

A.Terminate the EC2 instance immediately.
B.Take a snapshot of the instance for forensic analysis.
C.Isolate the EC2 instance by updating the security group to deny all traffic.
D.Disable the IAM role attached to the instance.
AnswerC

Modifying the security group effectively isolates the instance.

Why this answer

The first priority in incident response is containment. Updating the security group to deny all traffic immediately isolates the EC2 instance from network communication, preventing lateral movement or data exfiltration while preserving the instance for further investigation. This aligns with the NIST SP 800-61 incident response framework, which emphasizes containment before eradication or recovery.

Exam trap

A common misconception is that immediate termination (Option A) is the fastest containment method, but this violates the principle of preserving evidence and may hinder forensic investigation.

How to eliminate wrong answers

Option A is wrong because terminating the instance destroys volatile data (e.g., memory, running processes, network connections) and prevents forensic analysis, which may be critical for understanding the attack vector. Option B is wrong because taking a snapshot is a forensic step that should occur after containment, not before; performing it first could allow the attacker to continue exfiltrating data or spreading to other resources. Option D is wrong because disabling the IAM role does not stop network-level attacks or data exfiltration; the instance could still communicate with external hosts, and the attacker might already have established persistence or backdoor access.

453
MCQeasy

A cloud application developer is using a containerized application with Docker. The security team requires that the application runs with the least privilege possible. Which of the following is the BEST practice to ensure the container does not run as root?

A.Use the --no-root flag when starting the container.
B.Include a USER directive in the Dockerfile to specify a non-root user.
C.Set the securityContext.runAsNonRoot parameter in the container manifest.
D.Use the --cap-drop=ALL option when running the container.
AnswerB

This is the standard way to run a container as a non-root user.

Why this answer

The USER directive in a Dockerfile sets the user for any subsequent RUN, CMD, or ENTRYPOINT instructions, ensuring the container process runs as a non-root user by default. This is the most direct and persistent method to enforce least privilege at build time, as it becomes part of the image itself and applies regardless of runtime flags.

Exam trap

ISC2 often tests the distinction between runtime flags (like --user or --cap-drop) and build-time directives (like USER), and candidates mistakenly think dropping capabilities is equivalent to running as a non-root user.

How to eliminate wrong answers

Option A is wrong because Docker does not have a --no-root flag; the correct approach is to use the --user flag at runtime or the USER directive in the Dockerfile. Option C is wrong because securityContext.runAsNonRoot is a Kubernetes pod-level setting, not a Docker-native construct, and it only enforces a policy that the container must not run as root, but does not actually set a non-root user. Option D is wrong because --cap-drop=ALL removes all Linux capabilities but does not change the user identity; the container could still run as root with no capabilities, which violates the least privilege principle for user context.

454
MCQmedium

A security team implements Kubernetes RBAC. They want to ensure that a service account can only create pods in the 'dev' namespace. Which RBAC resource should they use?

A.ClusterRole and ClusterRoleBinding
B.Role and RoleBinding in the 'dev' namespace
C.PodSecurityPolicy (deprecated)
D.NetworkPolicy
AnswerB

A Role defines permissions within a namespace, and RoleBinding grants it to a service account.

Why this answer

RBAC uses Role and RoleBinding for namespace-scoped permissions. ClusterRole and ClusterRoleBinding are cluster-scoped. A Role with permissions to create pods in the 'dev' namespace, bound via RoleBinding, achieves the goal.

455
MCQmedium

Which practice is most effective for preventing the deployment of container images with known vulnerabilities in a DevSecOps pipeline?

A.Post-deployment vulnerability scanning
B.Image scanning in CI pipeline before push
C.Using only official base images
D.Runtime monitoring with a WAF
AnswerB

Scanning before registry push prevents vulnerable images from being stored.

Why this answer

Scanning container images in the CI pipeline before pushing to a registry ensures that only secure images are stored and deployed. This is a preventive control.

456
MCQmedium

Which cloud characteristic allows a consumer to automatically provision computing resources, such as server time and storage, as needed without requiring human interaction with the service provider?

A.On-demand self-service
B.Rapid elasticity
C.Broad network access
D.Resource pooling
AnswerA

On-demand self-service allows automatic provisioning without human interaction.

Why this answer

On-demand self-service enables automatic provisioning. Broad network access is about network availability, resource pooling is about multi-tenancy, rapid elasticity is about scaling.

457
Multi-Selectmedium

A cloud architect is designing a multi-tenant SaaS application. Which THREE of the following are essential isolation mechanisms that must be implemented to ensure tenant separation?

Select 3 answers
A.Data storage isolation (e.g., separate schemas or encryption per tenant)
B.Hypervisor isolation
C.Shared database for all tenants
D.Network isolation via VLANs or SDN
E.Single sign-on (SSO) for all tenants
AnswersA, B, D

Correct. Data isolation ensures tenant data separation.

Why this answer

Multi-tenancy isolation requires separation at the hypervisor, data storage, and network levels to prevent one tenant from accessing another's resources.

458
MCQmedium

A software development company is migrating its development and test environments to a public cloud. The security team has identified that many developers have assigned overly permissive IAM roles to the resources they create, such as giving full administrative access to databases and virtual machines. The company wants to enforce least privilege without impeding development agility. The cloud architect suggests using a combination of permission boundaries and service control policies. Which of the following approaches BEST enforces least privilege while maintaining development flexibility?

A.Define permission boundaries that limit the maximum permissions a developer can grant to resources, and allow developers to create IAM roles within those boundaries.
B.Implement an automated system that reviews and removes any privileges not used within 60 days.
C.Attach a service control policy at the organizational level that denies all actions unless explicitly allowed, and have developers create their own IAM policies.
D.Create a permission boundary that restricts all users to read-only access and require subordinates to request access for specific privileges.
AnswerA

Correct: Permission boundaries provide a preventative limit while allowing developers flexibility.

Why this answer

Permission boundaries in AWS IAM (or similar constructs in other clouds) allow an administrator to set the maximum permissions that a developer can grant to any IAM role or resource. By defining a permission boundary, developers retain the flexibility to create and attach policies within that boundary, ensuring they cannot exceed the defined limits. This directly enforces least privilege because even if a developer attaches a permissive policy, the boundary caps the effective permissions, preventing full administrative access to databases or VMs.

Exam trap

ISC2 often tests the distinction between preventive controls (like permission boundaries) and detective/reactive controls (like privilege review), leading candidates to choose an option that sounds proactive but actually only audits after the fact.

How to eliminate wrong answers

Option B is wrong because it is a reactive measure that only removes unused privileges after 60 days, which does not prevent developers from initially assigning overly permissive roles; it also introduces a delay that could leave resources exposed. Option C is wrong because attaching a service control policy (SCP) at the organizational level that denies all actions unless explicitly allowed would require developers to create their own IAM policies, but SCPs alone do not prevent developers from creating overly permissive policies within the allowed actions—they lack the granular per-role cap that permission boundaries provide. Option D is wrong because restricting all users to read-only access and requiring subordinates to request specific privileges would severely impede development agility by forcing manual approval for every action, contradicting the goal of maintaining flexibility while enforcing least privilege.

459
MCQhard

An organization is required to use client-side encryption for all data uploaded to a cloud storage service to ensure that the cloud provider has no access to plaintext. However, they also need to allow the cloud provider to perform server-side operations like indexing and search on the encrypted data. Which technology can address this conflict?

A.Format-preserving encryption
B.Searchable encryption
C.Tokenization
D.Homomorphic encryption
AnswerB

Correct: Searchable encryption enables server-side search on encrypted data.

Why this answer

Searchable encryption allows certain operations (e.g., keyword search) on encrypted data without decrypting it, enabling server-side processing while maintaining confidentiality.

460
Multi-Selecteasy

Which TWO of the following are recommended practices for securing cloud storage buckets? (Choose two.)

Select 2 answers
A.Block public read/write access
B.Enable bucket versioning
C.Enable default encryption
D.Delete unused buckets immediately
E.Enable access logging
AnswersA, C

Preventing public access is a fundamental security control.

Why this answer

Blocking public access and enabling encryption are key practices. Versioning and logging are good but not as primary. Deleting buckets is not a security practice.

461
MCQhard

A multinational corporation uses a cloud CASB to enforce data loss prevention (DLP) policies across SaaS applications. The security team discovers that sensitive data is being exfiltrated via encrypted traffic that the CASB cannot inspect. What is the most effective design change to mitigate this risk?

A.Implement user training to prevent data exfiltration.
B.Block all encrypted traffic at the network perimeter.
C.Deploy a forward proxy with SSL/TLS interception capabilities.
D.Disable TLS/SSL encryption for all sensitive data transfers.
AnswerC

Correct: This enables decryption and inspection of traffic while maintaining end-to-end security.

Why this answer

A forward proxy with SSL/TLS interception capabilities allows the CASB to decrypt, inspect, and re-encrypt traffic, enabling DLP policy enforcement on data in transit. This design change addresses the root cause—encrypted traffic bypassing inspection—without breaking application functionality or security.

Exam trap

ISC2 often tests the misconception that blocking or disabling encryption is a valid DLP solution, when in fact the correct approach is to use interception that maintains encryption end-to-end while enabling inspection.

How to eliminate wrong answers

Option A is wrong because user training addresses human error but does not provide technical control over encrypted traffic, leaving the exfiltration vector open. Option B is wrong because blocking all encrypted traffic at the network perimeter would break legitimate business applications and is not a viable security design; it also violates the principle of least disruption. Option D is wrong because disabling TLS/SSL encryption for sensitive data transfers would expose data to interception and tampering, directly violating confidentiality and integrity requirements.

462
Multi-Selectmedium

An organization uses Azure Functions and wants to secure its API endpoints exposed via Azure API Management. Which TWO security controls should they implement at the API Gateway level?

Select 2 answers
A.Configure IP whitelisting for all users
B.Store secrets in Azure Function environment variables
C.Enable TLS enforcement
D.Implement JWT validation
E.Disable API keys
AnswersC, D

TLS ensures encrypted communication between clients and the gateway.

Why this answer

TLS enforcement ensures encryption in transit, protecting data from interception. JWT validation verifies the authenticity and integrity of tokens, ensuring only authorized users access the API endpoints.

463
MCQmedium

A company uses a cloud-based database that contains personally identifiable information (PII). They need to allow developers to run queries against the database for testing purposes without exposing actual PII. Which technique should they use?

A.Encrypt the PII fields at rest
B.Grant developers direct access to a copy of the production data
C.Apply dynamic data masking to the PII columns
D.Tokenize the PII fields with a one-way hash
AnswerC

Masking provides realistic but fake data.

Why this answer

Dynamic data masking (DDM) allows the database to return masked PII to developers in real time without altering the underlying stored data. This technique applies masking rules at query runtime, so developers can run functional tests against production-like data while sensitive values are obfuscated. It avoids the need for separate sanitized copies and preserves referential integrity for testing.

Exam trap

ISC2 often tests the distinction between dynamic data masking and tokenization, where candidates mistakenly choose tokenization because they think a one-way hash is sufficient for testing, but they overlook that testing requires reversible or format-preserving transformations to maintain data utility.

How to eliminate wrong answers

Option A is wrong because encrypting PII at rest protects data on disk but does not prevent developers from seeing plaintext when they query the database; decryption keys are typically available to authorized users, so the PII would still be exposed in query results. Option B is wrong because granting developers direct access to a copy of production data, even if it is a copy, still exposes actual PII and violates the principle of least privilege and data minimization for testing environments. Option D is wrong because tokenization with a one-way hash is irreversible and would break the ability to run meaningful queries that require relationships or pattern matching; tokenization for testing typically uses reversible tokens or format-preserving encryption, not a one-way hash.

464
MCQhard

A company uses a cloud KMS service with an HSM backing for key storage. The security policy requires that keys be rotated automatically every 90 days and that old keys be retained for at least one year to decrypt archived data. Which key management feature should be configured to meet these requirements?

A.Key hierarchy with root key separation
B.Key versioning with rotation schedule
C.Key policy with conditions for automatic rotation
D.Key import with manual rotation
AnswerB

Key versioning allows automatic rotation and retention of old versions.

Why this answer

Key rotation schedules and key version management allow automatic rotation and retention of old key versions for decryption of older data.

465
MCQhard

An organization uses a private artifact registry for approved packages. What attack does this practice primarily defend against?

A.Dependency confusion attacks
B.Denial of service attacks
C.Man-in-the-middle attacks
D.Injection attacks
AnswerA

Private registries control package sources, preventing dependency confusion.

Why this answer

Dependency confusion attacks occur when an attacker publishes a malicious package with the same name as an internal package to a public registry, tricking the build system into using the malicious one. A private registry ensures only approved packages are used.

466
MCQmedium

A financial services company uses a cloud DLP API to scan data stored in Cloud Storage and BigQuery. They need to reduce the risk of exposing credit card numbers in reports by replacing the first 12 digits with asterisks while preserving the last four. Which de-identification technique should they apply?

A.Pseudonymization
B.Bucketing
C.Tokenization
D.Masking
AnswerD

Correct: Masking obscures part of the data, e.g., showing only last 4 digits.

Why this answer

Masking allows selective obfuscation of parts of a data value, such as showing only the last four digits of a credit card number.

467
MCQmedium

A company uses a cloud key management service with automatic annual key rotation. An auditor requires that keys are rotated every 90 days to meet internal policy. What should the cloud security architect do to satisfy this requirement?

A.Create a manual process to rotate keys every 90 days using scripts.
B.Request an exception from the auditor because the default annual rotation is sufficient.
C.Configure the cloud KMS with a custom rotation period of 90 days.
D.Disable automatic rotation and rotate keys manually when needed.
AnswerC

Cloud KMS allows custom rotation policies; the architect should use it.

Why this answer

Cloud KMS services (e.g., AWS KMS, Azure Key Vault, GCP Cloud KMS) allow administrators to define a custom rotation period, overriding the default annual rotation. By configuring a 90-day rotation schedule, the architect directly meets the auditor's policy without manual intervention or exceptions, ensuring automated compliance.

Exam trap

ISC2 often tests the misconception that manual rotation or exception requests are acceptable workarounds, but the correct approach is to leverage the cloud KMS's built-in configuration to automate compliance with the required rotation interval.

How to eliminate wrong answers

Option A is wrong because creating a manual process introduces operational overhead, risk of human error, and potential gaps in compliance, whereas cloud KMS supports automated custom rotation periods. Option B is wrong because requesting an exception ignores the auditor's explicit requirement and does not address the policy gap; default annual rotation is not sufficient per the 90-day mandate. Option D is wrong because disabling automatic rotation and rotating manually reintroduces the same risks as Option A and defeats the purpose of using a managed KMS service, which is designed to automate key lifecycle management.

468
MCQmedium

A healthcare organization stores patient records in a cloud-based object storage service. To comply with HIPAA, they must ensure that data is encrypted at rest and that encryption keys are managed by the organization itself. Which key management approach should they implement?

A.Use server-side encryption with S3-managed keys (SSE-S3).
B.Use server-side encryption with AWS KMS-managed keys (SSE-KMS).
C.Use client-side encryption with customer-supplied encryption keys (CSEKS).
D.Implement a Bring Your Own Key (BYOK) model with a hardware security module (HSM) in the cloud.
AnswerD

Correct: BYOK allows the organization to control the encryption keys and meet compliance requirements.

Why this answer

HIPAA requires the organization to maintain control over encryption keys, and a Bring Your Own Key (BYOK) model with a hardware security module (HSM) in the cloud allows the healthcare organization to generate, store, and manage their own keys externally while using them for cloud-based encryption. This approach ensures that the cloud provider cannot access the keys, meeting the regulatory requirement for key management by the organization itself.

Exam trap

ISC2 often tests the distinction between server-side encryption (where the provider manages keys) and client-side or BYOK models (where the customer retains key control), and the trap here is that candidates may assume SSE-KMS (Option B) gives the organization full key control, but KMS still allows the provider to manage the key lifecycle, failing the strict HIPAA requirement for the organization to be the sole manager.

How to eliminate wrong answers

Option A is wrong because server-side encryption with S3-managed keys (SSE-S3) uses keys managed entirely by the cloud provider, which does not satisfy the HIPAA requirement for the organization to manage the keys. Option B is wrong because server-side encryption with AWS KMS-managed keys (SSE-KMS) still delegates key management to the cloud provider's KMS service, even though the customer can control key policies; the provider retains potential access to the keys. Option C is wrong because client-side encryption with customer-supplied encryption keys (CSEKS) involves the organization managing keys on the client side, but it does not integrate with a hardware security module (HSM) for secure key storage and is not a cloud-native key management model; it also does not address the need for a dedicated HSM-based key management infrastructure that BYOK provides.

469
Multi-Selectmedium

A company is considering migrating its customer relationship management (CRM) system to a SaaS provider. Which TWO of the following security responsibilities typically remain with the customer in a SaaS deployment?

Select 2 answers
A.Physical security of data centers
B.Operating system patching
C.User access management
D.Application vulnerability management
E.Data classification and access control
AnswersC, E

Correct. The customer manages user identities and access.

Why this answer

In SaaS, the customer is responsible for data classification and access control, as well as user access management, while the provider manages the application, OS, and infrastructure.

470
MCQeasy

When assessing cloud risk, an organization identifies that if a single cloud provider fails, the organization cannot operate. This risk is known as:

A.Third-party risk
B.Inherent risk
C.Concentration risk
D.Residual risk
AnswerC

This is the risk of depending heavily on one provider.

Why this answer

Concentration risk refers to over-reliance on a single vendor, which can lead to significant business impact if that vendor experiences a failure.

471
MCQhard

A cloud provider's SLA guarantees 99.95% uptime for a service. Over a one-year period (365 days), what is the maximum allowed downtime in minutes to meet this SLA?

A.525.6 minutes
B.262.8 minutes
C.87.6 minutes
D.438 minutes
AnswerB

Correct calculation: 525,600 * 0.0005 = 262.8 minutes.

Why this answer

99.95% uptime means 0.05% downtime. 365 days * 24 hours * 60 minutes = 525,600 minutes. 0.05% of 525,600 = 262.8 minutes.

472
MCQeasy

A company wants to migrate its customer relationship management (CRM) system to the cloud and requires that the provider manages the underlying infrastructure, operating system, and middleware, while the company manages only the application and data. Which cloud service model best meets these requirements?

A.Software as a Service (SaaS)
B.Platform as a Service (PaaS)
C.Infrastructure as a Service (IaaS)
D.Function as a Service (FaaS)
AnswerB

PaaS provides a managed platform where the customer focuses on applications and data.

Why this answer

In PaaS, the provider manages the infrastructure, OS, and middleware; the customer manages applications and data. IaaS would require the customer to manage OS and middleware; SaaS would have the provider manage applications as well.

473
MCQeasy

Which of the following is a key benefit of using a software composition analysis (SCA) tool in a cloud application security program?

A.Detects known vulnerabilities in open-source libraries
B.Enforces runtime policies
C.Simulates attacks on running applications
D.Identifies vulnerabilities in proprietary code
AnswerA

SCA specifically identifies vulnerabilities in third-party components.

Why this answer

SCA tools automate the identification of open-source components within a codebase and cross-reference them against databases like the National Vulnerability Database (NVD) to detect known vulnerabilities (CVEs). This is a key benefit because cloud applications often heavily rely on open-source libraries, and SCA provides a scalable way to manage that risk without manual auditing.

Exam trap

ISC2 often tests the distinction between SCA (open-source dependency scanning) and SAST (proprietary code scanning), so the trap here is confusing which tool analyzes which type of code, leading candidates to incorrectly select option D.

How to eliminate wrong answers

Option B is wrong because enforcing runtime policies is the function of a Runtime Application Self-Protection (RASP) tool or a cloud workload protection platform (CWPP), not an SCA tool which focuses on static analysis of dependencies. Option C is wrong because simulating attacks on running applications is the purpose of a dynamic application security testing (DAST) tool or a penetration testing framework, not SCA which does not execute code. Option D is wrong because identifying vulnerabilities in proprietary code is the domain of static application security testing (SAST) tools that analyze custom source code, whereas SCA specifically targets open-source and third-party components.

474
MCQeasy

Refer to the exhibit. A company uses a cloud configuration management tool to evaluate compliance with a rule that requires cloud storage buckets to enforce SSL. What should the administrator do next?

A.Enable SSL-only access on the bucket [wrong]
B.Disable the compliance rule [wrong]
C.Update the rule to allow HTTP [wrong]
D.Check which bucket is non-compliant [CORRECT]
AnswerD

The administrator must identify the non-compliant resource before taking action.

Why this answer

The output shows the rule is non-compliant but does not identify which specific bucket(s). The logical next step is to check which resources are non-compliant. Enabling SSL-only access is a solution but first the administrator must identify the non-compliant bucket.

Disabling the rule or updating it would not resolve the issue.

475
Multi-Selectmedium

A cloud architect is designing a data classification strategy for a multi-cloud environment. The strategy must automatically tag resources with classification labels and enforce access controls based on those labels. Which THREE components are essential for this automated classification and enforcement?

Select 3 answers
A.IAM policies that reference classification tags
B.Tagging resources with classification labels
C.Pre-signed URLs for temporary access
D.Automated DLP scanning to identify sensitive data
E.HSM-backed key generation
AnswersA, B, D

Correct: IAM policies can conditionally allow/deny based on tags.

Why this answer

Automated DLP scanning detects and classifies data, tagging applies labels, and IAM policies enforce access based on those labels.

476
MCQhard

A financial services firm uses a hybrid cloud architecture with a VPN connection to AWS. They need to comply with PCI DSS requirements for network segmentation. Which design is best?

A.Use AWS Direct Connect with multiple VLANs to separate traffic.
B.Implement a DMZ with a firewall appliance in a transit VPC.
C.Create separate VPCs for cardholder data and corporate systems, connected via VPC peering.
D.Use a single VPC with security groups to isolate workloads.
AnswerB

A transit VPC with firewall enforces segmentation and inspection, compliant with PCI DSS.

Why this answer

A DMZ with a firewall appliance in a transit VPC provides a controlled, inspectable boundary between the on-premises network and AWS, enabling network segmentation that meets PCI DSS Requirement 1 (firewall configuration) and Requirement 1.3 (DMZ to isolate cardholder data from untrusted networks). The transit VPC design allows centralized egress/ingress inspection and prevents direct lateral movement between environments, which is critical for compliance.

Exam trap

The trap here is that candidates often confuse VPC peering or security groups as sufficient for network segmentation, but PCI DSS requires a DMZ with a firewall appliance to enforce a clear security boundary, not just logical isolation.

How to eliminate wrong answers

Option A is wrong because AWS Direct Connect with multiple VLANs does not inherently provide a DMZ or firewall inspection; it only extends the network, and PCI DSS requires a DMZ with a firewall to isolate cardholder data from untrusted networks, not just VLAN separation. Option C is wrong because VPC peering creates a direct, flat network connection between VPCs without any intermediate firewall or inspection point, violating PCI DSS Requirement 1.3 that mandates a DMZ and controlled traffic inspection. Option D is wrong because a single VPC with security groups alone cannot enforce network segmentation at the perimeter; security groups are stateful host-level filters, not network-layer firewalls, and PCI DSS requires a DMZ with a firewall appliance to separate cardholder data from untrusted networks.

477
MCQhard

Which cloud design principle is most directly related to ensuring that an organization can migrate workloads from one cloud provider to another without significant re-engineering?

A.Portability
B.Reversibility
C.Multi-tenancy isolation
D.Elasticity
AnswerA

Correct. Portability ensures minimal re-engineering when moving between providers.

Why this answer

Portability refers to the ability to move workloads and data between cloud environments with minimal friction, often using open standards.

478
MCQeasy

Which of the following is a best practice for managing secrets in a cloud-native application?

A.Encrypting secrets and storing them in a configuration file
B.Storing secrets in environment variables inside container images
C.Hardcoding secrets in the application source code
D.Using a cloud secrets manager to retrieve secrets at runtime
AnswerD

Secrets managers provide secure, auditable access.

Why this answer

Using a cloud secrets manager (e.g., AWS Secrets Manager) allows applications to retrieve secrets dynamically, avoiding hardcoded credentials.

479
MCQmedium

During a security incident involving a compromised virtual machine (VM) in a public cloud, the incident response team needs to preserve evidence for potential legal action. Which of the following actions should be taken FIRST?

A.Stop the VM and take a snapshot of its disks
B.Delete the VM immediately to prevent further damage
C.Isolate the VM by removing it from the network
D.Create a forensic image of the VM's volumes while it is still running
AnswerD

Creating a forensic image while the VM is running captures both volatile and persistent data, preserving the original state for evidence.

Why this answer

Creating a forensic image captures both volatile and persistent data while preserving the original state for evidence. Option A is incorrect because stopping the VM first may cause loss of volatile data (e.g., memory, running processes), and a snapshot after stop is less forensically sound than imaging before stop. Option B is incorrect because deleting the VM destroys all evidence immediately.

Option C is incorrect because while network isolation is important for containment, it does not directly preserve the VM's state for forensic analysis; the first step should be to capture forensic evidence before any other action.

480
MCQhard

A company uses Terraform to manage cloud infrastructure. Which infrastructure-as-code (IaC) security scanner can detect misconfigurations such as overly permissive security group rules before deployment?

A.Snyk
B.Dependabot
C.GitGuardian
D.Checkov
AnswerD

Checkov scans IaC files like Terraform for compliance and security issues.

Why this answer

Checkov is an open-source static analysis tool specifically designed to scan Infrastructure as Code (IaC) templates, including Terraform, for security misconfigurations such as overly permissive security group rules (e.g., 0.0.0.0/0 ingress on port 22). It uses a policy-as-code framework with hundreds of built-in checks (e.g., CKV_AWS_24 for unrestricted SSH) and can be integrated into CI/CD pipelines to catch issues before deployment, making it the correct choice for pre-deployment IaC scanning.

Exam trap

The ISC2 CCSP exam often tests the distinction between IaC security scanners (like Checkov) and other security tools (like Snyk for dependencies, Dependabot for package updates, and GitGuardian for secrets), so candidates must recognize that only Checkov is purpose-built for scanning Terraform configurations before deployment.

How to eliminate wrong answers

Option A is wrong because Snyk is a general-purpose application security testing tool that focuses on open-source dependency vulnerabilities and container images, not specifically on scanning Terraform or IaC templates for misconfigurations like security group rules. Option B is wrong because Dependabot is a GitHub-native tool that automates dependency updates and alerts for known vulnerabilities in package manifests (e.g., npm, Maven), not for scanning IaC code or cloud resource definitions. Option C is wrong because GitGuardian is a secrets detection tool that scans repositories for exposed credentials, API keys, and tokens, not for analyzing Terraform configurations for cloud security misconfigurations.

481
MCQeasy

Refer to the exhibit. A cloud administrator ran the Azure CLI command to list virtual machines. One VM shows a ProvisioningState of 'Failed'. What is the most likely cause of this state?

A.The VM's resource group has been moved to another subscription.
B.The VM is in a deallocated state.
C.The VM failed to start due to a resource quota limit or configuration error.
D.The VM was deleted by another administrator.
AnswerC

This is the typical reason for a failed provisioning state.

Why this answer

A 'ProvisioningState' of 'Failed' in Azure indicates that the VM could not be created or started due to a resource quota limit (e.g., vCPU quota exceeded) or a configuration error (e.g., invalid network interface, unsupported VM size). This state is set by the Azure Resource Manager when the deployment or update operation fails, and it persists until the underlying issue is resolved and the VM is redeployed or reconfigured.

Exam trap

ISC2 often tests the distinction between 'ProvisioningState' and 'PowerState' — the trap here is that candidates confuse a 'Failed' provisioning state with a deallocated or stopped VM, but 'ProvisioningState' only reflects the success of the resource creation or update operation, not the runtime status.

How to eliminate wrong answers

Option A is wrong because moving a resource group to another subscription does not change the provisioning state of existing VMs; the VM would remain in its current state (e.g., 'Succeeded') and continue running. Option B is wrong because a deallocated VM shows a 'ProvisioningState' of 'Succeeded' (since it was successfully provisioned) and a 'PowerState' of 'Deallocated'; the 'ProvisioningState' field specifically tracks the success or failure of the provisioning operation, not the power state. Option D is wrong because if a VM is deleted, it no longer appears in the list of VMs; the 'ProvisioningState' field is only relevant for existing resources, and a deleted VM would return a '404 Not Found' error or simply not be listed.

482
MCQeasy

An organization wants to implement a cloud security automation solution that can automatically remediate non-compliant resources in Azure. Which Azure service should be used to create remediation tasks?

A.Azure Policy
B.Azure Security Center
C.Azure Automation
D.Azure Logic Apps
AnswerA

Azure Policy has built-in remediation tasks for automatic fixes.

Why this answer

Azure Policy includes 'remediation tasks' that can automatically fix non-compliant resources, often using managed identities.

483
MCQmedium

A container runtime is configured to drop all Linux capabilities, use a read-only root filesystem, and apply a Seccomp profile. Which primary security goal does this configuration achieve?

A.Image integrity verification
B.Ensuring immutability of containers
C.Prevention of container escape
D.Network segmentation between pods
AnswerC

Dropping capabilities, read-only filesystem, and Seccomp limit escape vectors.

Why this answer

These measures restrict container permissions and system calls, making container escape much harder.

484
MCQmedium

Refer to the exhibit. An administrator is reviewing an AWS S3 bucket policy. Based on the policy, which of the following is true?

A.The policy grants full administrative access to the bucket
B.The policy allows GetObject requests only from the specified IP range
C.The policy denies all access from the specified IP range
D.The bucket is publicly accessible to any IP address
AnswerB

Correct. The condition aws:SourceIp limits the Allow effect to that IP range.

Why this answer

The S3 bucket policy includes a Condition block using the IpAddress condition key to restrict the aws:SourceIp to a specific IP range. The Effect is Allow, and the Action is s3:GetObject, so only GET requests from that IP range are permitted. This makes option B correct because the policy explicitly allows GetObject requests from the specified IP range while implicitly denying all other access.

Exam trap

ISC2 often tests the distinction between an explicit Deny and an implicit Deny — candidates mistakenly think a condition-based Allow is the same as a Deny for non-matching IPs, but the policy only denies implicitly, not explicitly.

How to eliminate wrong answers

Option A is wrong because the policy only grants s3:GetObject permission, not full administrative actions like s3:PutObject, s3:DeleteObject, or s3:* — it is read-only, not full admin. Option C is wrong because the policy uses Allow with an IpAddress condition, not a Deny statement; a Deny would require a separate Deny effect or a NotIpAddress condition to explicitly block the IP range. Option D is wrong because the policy includes a condition that restricts access to a specific IP range, so the bucket is not publicly accessible to any IP address; requests from outside the range are implicitly denied.

485
MCQeasy

A security architect is designing a multi-tenant cloud environment. Which hypervisor type provides the strongest isolation between tenant virtual machines by running directly on the hardware without a host operating system?

A.VMware Workstation (Type 2)
B.KVM (Type 2)
C.VirtualBox (Type 2)
D.VMware ESXi (Type 1)
AnswerD

Correct; ESXi is a Type 1 bare-metal hypervisor.

Why this answer

Type 1 hypervisors run directly on hardware, minimizing the attack surface and providing strong isolation. Type 2 hypervisors run on top of an OS, adding extra layers of vulnerability.

486
MCQmedium

An organization ingests AWS CloudTrail logs into a centralized SIEM for correlation. They want to detect an attacker who exfiltrates data by downloading large volumes from an S3 bucket. Which SIEM correlation rule would best detect this?

A.Alert on multiple failed login attempts
B.Alert on high volume of GetObject requests from a single IP
C.Alert on root account usage
D.Alert when a new IAM user is created
AnswerB

High volume of downloads from one source is a classic exfiltration indicator.

Why this answer

Exfiltration of data from S3 typically involves a high volume of GetObject API calls from a single source IP. A SIEM correlation rule that triggers on a threshold of GetObject requests from the same IP address directly detects this anomalous download behavior, which is a key indicator of data exfiltration.

Exam trap

This exam often tests the distinction between detection of the exfiltration action itself (high volume of GetObject requests) versus precursor or unrelated events (failed logins, root usage, IAM creation), leading candidates to choose a rule that detects a different phase of the attack chain.

How to eliminate wrong answers

Option A is wrong because multiple failed login attempts indicate a brute-force attack on authentication, not data exfiltration from S3. Option C is wrong because root account usage is a security concern for privilege escalation or configuration changes, but it does not specifically detect bulk data downloads from S3. Option D is wrong because creating a new IAM user is an administrative action that could be part of an attack chain, but it does not directly detect the exfiltration event itself.

487
MCQmedium

A DevOps engineer is configuring a Kubernetes cluster and wants to enforce that containers cannot run as root and cannot mount host paths. Which Kubernetes security mechanism should be used?

A.Pod Security Admission
B.Network policies
C.RBAC
D.Secrets management
AnswerA

Correct; PSA enforces security standards on pods.

Why this answer

Pod Security Admission (PSA) allows enforcing predefined security policies (privileged, baseline, restricted) at the pod level, covering controls like running as root and host path mounts.

488
MCQmedium

A community cloud is best suited for which scenario?

A.A startup wanting to minimize costs by sharing resources with the general public
B.A single organization needing dedicated infrastructure
C.A company that needs to burst workloads to the public cloud during peak times
D.Several government agencies with similar security and compliance requirements
AnswerD

Community cloud is for organizations with common interests.

Why this answer

Community clouds are used by organizations with shared concerns like compliance, mission, or security requirements. A single organization would use private cloud, general public use is public cloud, hybrid is for combining models.

489
MCQmedium

What additional security benefit does a private network endpoint provide?

A.It encrypts data in transit.
B.It ensures data is not traversing the public internet.
C.It provides an additional layer of authentication.
D.It enables cross-region replication.
AnswerB

VPC endpoints route traffic privately, avoiding the public internet.

Why this answer

A private network endpoint (such as an interface or gateway endpoint) allows instances within a virtual network to privately connect to supported cloud services without requiring an internet gateway, NAT device, VPN connection, or dedicated connection. The core security benefit is that all traffic between the virtual network and the service stays entirely within the cloud provider's internal network and never traverses the public internet, eliminating exposure to internet-based threats.

Exam trap

ISC2 often tests the misconception that private network endpoints provide encryption or authentication, but the real security benefit is purely about keeping traffic off the public internet, not about adding cryptographic or identity-layer controls.

How to eliminate wrong answers

Option A is wrong because VPC endpoints do not inherently encrypt data in transit; encryption (e.g., TLS) is a separate configuration on the client side or service side, not a feature of the endpoint itself. Option C is wrong because VPC endpoints do not provide an additional layer of authentication; they rely on IAM policies and endpoint policies for access control, but the endpoint itself does not authenticate users or services beyond standard AWS authentication. Option D is wrong because VPC endpoints are used for private connectivity within a region or to a specific service, not for cross-region replication; cross-region replication is handled by services like S3 replication or RDS cross-region read replicas, not by VPC endpoints.

490
MCQmedium

A covered entity under HIPAA is planning to migrate electronic protected health information (ePHI) to a public cloud environment. Which of the following is a mandatory requirement before using the cloud service?

A.Encrypt all ePHI with keys managed solely by the covered entity
B.Conduct a physical on-site audit of the cloud provider's data centers
C.Obtain a signed Business Associate Agreement from the cloud provider
D.Ensure the cloud provider is certified under the Privacy Shield framework
AnswerC

A BAA is required to ensure the cloud provider agrees to safeguard ePHI.

Why this answer

HIPAA requires covered entities to obtain satisfactory assurances that PHI will be protected, typically through a Business Associate Agreement (BAA) with the cloud provider.

491
MCQeasy

A cloud application processes data subject to GDPR. The security team needs to ensure that all personally identifiable information (PII) is encrypted at rest and that access is logged. Which combination of controls should be implemented? (Select THREE)

A.Implement strict least privilege access controls
B.Use TLS for all network connections
C.Configure logging for all data access
D.Enable database encryption at rest
E.Implement a key management system
AnswerA, C, D

Limits who can access PII, reducing unauthorized access.

Why this answer

Strict least privilege access controls ensure that only authorized users or services can access PII, minimizing the risk of unauthorized exposure. This is a fundamental security principle for GDPR compliance, as it directly supports the data minimization and access control requirements. By restricting access to only what is necessary for a role, the organization reduces the attack surface and ensures that any access is intentional and auditable.

Exam trap

ISC2 often tests the distinction between encryption at rest and in transit, so candidates may incorrectly select TLS (Option B) thinking it covers encryption requirements, but the question explicitly specifies 'at rest'.

How to eliminate wrong answers

Option B is wrong because TLS encrypts data in transit, not at rest; the question specifically requires encryption at rest, so TLS does not address that requirement. Option E is wrong because while a key management system is important for managing encryption keys, it is not a direct control for encrypting data at rest or logging access; the question asks for controls that ensure PII is encrypted at rest and access is logged, and key management is a supporting process, not a primary control.

492
Multi-Selecthard

A financial institution is migrating to the cloud and must comply with regulations requiring that sensitive data be stored only in specific geographic regions and that access to data is logged and monitored. Which THREE controls should be implemented? (Select THREE.)

Select 3 answers
A.Enable server access logs for the storage bucket
B.Use default server-side encryption with cloud-managed keys
C.Enable cross-region replication for disaster recovery
D.Configure bucket policies to deny access from outside the allowed region
E.Implement VPC Service Controls to create a data perimeter
AnswersA, D, E

Logs provide audit trail of all access requests.

Why this answer

To enforce data residency, the cloud region must be restricted via IAM or organization policies. Server access logging captures all requests to storage. VPC Service Controls create a security perimeter around cloud resources, preventing data exfiltration.

Cross-region replication would violate residency, and default encryption is not sufficient.

493
Multi-Selectmedium

A security team is hardening a Kubernetes cluster for production workloads. Which THREE measures should they implement to improve runtime container security?

Select 3 answers
A.Mount the host filesystem as read-write in containers
B.Enable AppArmor or SELinux profiles
C.Drop all unnecessary Linux capabilities
D.Apply Seccomp profiles to restrict system calls
E.Use privileged containers for system daemons
AnswersB, C, D

These MAC systems enforce security policies on containers.

Why this answer

AppArmor and SELinux are Linux Security Modules (LSMs) that enforce mandatory access control (MAC) policies on containers. By applying these profiles, you restrict what processes inside a container can do—such as file access, network operations, and capability use—beyond the default discretionary access controls. This significantly reduces the attack surface and limits the impact of a container breakout.

Exam trap

ISC2 often tests the distinction between runtime security measures (like AppArmor, Seccomp, and capability dropping) versus build-time or network-level controls, and candidates may confuse privileged containers with necessary system daemons, forgetting that privileged mode bypasses all runtime security layers.

494
Multi-Selecthard

Which THREE statements about cryptographic key lifecycle management are correct?

Select 3 answers
A.Key usage should be logged and audited.
B.Key generation should be performed within a secure cryptographic module.
C.Key destruction should render the key irrecoverable.
D.Key backup must be encrypted and stored separately from the keys they protect.
E.Key rotation policies must ensure all data is re-encrypted with the new key immediately.
AnswersA, B, C

Logging provides accountability and helps detect unauthorized use.

Why this answer

Auditing key usage is a fundamental requirement for accountability and compliance in cryptographic key management. Logging every key operation (e.g., generation, encryption, decryption, signing) allows detection of unauthorized use or policy violations, and is mandated by standards like NIST SP 800-57 Part 1, which states that audit logs must be protected and reviewed regularly.

Exam trap

ISC2 often tests the misconception that key rotation requires immediate re-encryption of all existing data, when in practice it uses lazy re-encryption or key wrapping to avoid performance and availability impacts.

495
MCQmedium

A cloud architect is designing a solution that must automatically scale compute resources based on real-time demand. The application is stateless and can tolerate brief interruptions. Which cloud design principle is most directly addressed by this requirement?

A.Broad network access
B.Measured service
C.Rapid elasticity
D.Resource pooling
AnswerC

Rapid elasticity enables automatic scaling based on demand.

Why this answer

Rapid elasticity allows resources to scale up and down automatically to meet demand, which is the principle being applied. This is a key characteristic of cloud computing.

496
Multi-Selecthard

Which THREE of the following are valid techniques to protect application programming interfaces (APIs) from abuse?

Select 3 answers
A.Use API gateways to enforce authentication and authorization policies.
B.Use JSON Web Tokens (JWT) without encryption.
C.Use only HTTP GET requests for all API calls.
D.Implement rate limiting and throttling.
E.Require API keys or OAuth tokens for every request.
AnswersA, D, E

Centralizes security controls.

Why this answer

API gateways act as a centralized policy enforcement point, intercepting all API traffic to validate authentication (e.g., OAuth 2.0, SAML) and authorization (e.g., RBAC, ABAC) before requests reach backend services. This prevents unauthorized access and ensures that only authenticated clients with proper permissions can invoke protected endpoints, directly mitigating abuse such as credential stuffing or privilege escalation.

Exam trap

The trap here is that candidates may think JWT without encryption is acceptable because JWTs are often signed (JWS), but the CCSP exam emphasizes that confidentiality is a separate requirement—signing alone does not protect sensitive data in the payload, and encryption (JWE) is mandatory when tokens contain private information.

497
MCQeasy

A serverless function needs to access a private database service without traversing the public internet. Which configuration should be used?

A.Assign a public IP to the serverless function
B.Configure the serverless function with virtual private cloud integration
C.Enable public access on the database service
D.Use a network address translation gateway to route traffic
AnswerB

VPC deployment places the function within the VPC, allowing it to access private resources like a database instance directly.

Why this answer

Virtual private cloud (VPC) integration allows the serverless function to be deployed inside a VPC, enabling private access to resources like a database service. Internet access is not required.

498
MCQhard

A SaaS provider stores customer data in a multi-tenant database. A new regulation requires that data of former customers be completely erased within 30 days of account closure. Which process should the provider implement?

A.Physically destroy the hard drives containing the data.
B.Mark the data as deleted and exclude it from query results.
C.Overwrite the data with zeros using a secure delete tool.
D.Encrypt each customer's data with a unique key and delete the key upon account closure.
AnswerD

Crypto-shredding ensures data is effectively unrecoverable.

Why this answer

It implements cryptographic erasure, which renders the data permanently inaccessible by deleting the unique encryption key. This approach satisfies the regulation's requirement for complete erasure within 30 days without physically destroying hardware or risking data remnants, as the encrypted data becomes irrecoverable without the key. In a multi-tenant SaaS environment, this method is efficient, scalable, and avoids service disruption to other tenants sharing the same storage.

Exam trap

ISC2 often tests the distinction between logical deletion (soft delete) and cryptographic erasure, trapping candidates who think marking data as deleted or overwriting with zeros is sufficient in a multi-tenant cloud environment, where shared storage and data redundancy make physical overwrite impractical.

How to eliminate wrong answers

Option A is wrong because physically destroying hard drives is impractical for a multi-tenant database, as it would destroy data for all customers, not just former ones, and violates the principle of shared infrastructure. Option B is wrong because marking data as deleted and excluding it from query results only hides the data logically; the underlying data remains on the storage medium and could be recovered through forensic tools, failing the regulation's requirement for complete erasure. Option C is wrong because overwriting data with zeros using a secure delete tool is not feasible in a multi-tenant database environment where data is stored in shared blocks and may be subject to wear-leveling, snapshots, or copy-on-write mechanisms that prevent guaranteed overwrite of all copies.

499
Drag & Dropmedium

Drag and drop the steps for implementing a secure DevOps (DevSecOps) pipeline in a cloud environment into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First SAST at commit, then DAST in staging, IaC scanning, policy enforcement, and runtime monitoring.

500
MCQmedium

A cloud application uses a third-party identity provider (IdP) for SSO. The security team notices that tokens are being reused across different applications. Which token binding mechanism should be implemented?

A.Use of bearer tokens without additional protection
B.Short token expiration times
C.Token binding to TLS session
D.Audience restriction
AnswerC

Token binding ties the token to a specific TLS connection.

Why this answer

Token binding cryptographically ties an access token to a specific TLS session, preventing token export and replay across different applications. This directly addresses the reuse of tokens across applications by binding the token to the TLS layer, so even if an attacker intercepts the token, it cannot be used with a different TLS connection. RFC 8471 defines token binding for OAuth 2.0, ensuring the token is only valid when presented over the same TLS channel that was established during issuance.

Exam trap

ISC2 often tests the distinction between token binding and audience restriction, where candidates mistakenly think audience restriction prevents reuse across applications, but audience restriction only limits which application can accept the token, not that the token is bound to a specific TLS session.

How to eliminate wrong answers

Option A is wrong because bearer tokens without additional protection are inherently vulnerable to replay and reuse, which is exactly the problem described in the scenario. Option B is wrong because short token expiration times reduce the window of opportunity but do not prevent token reuse across applications during the token's lifetime; an attacker can still replay the token within that window. Option D is wrong because audience restriction limits which application can accept the token based on the 'aud' claim, but it does not prevent the token from being reused across different applications if the attacker can present it to the intended audience; it controls scope, not binding to a specific session.

501
MCQeasy

Which cloud service model provides the customer with the most control over the underlying infrastructure, including operating systems and applications?

A.IaaS
B.PaaS
C.SaaS
D.FaaS
AnswerA

Correct. IaaS provides the most customer control over OS and apps.

Why this answer

IaaS provides virtualized computing resources where the customer manages OS, middleware, and applications, while the provider manages the physical infrastructure.

502
MCQmedium

A company uses Azure Policy with remediation tasks to automatically fix non-compliant resources. Which scenario can be automatically remediated using a built-in policy?

A.A virtual machine missing the Log Analytics agent
B.A user creating a new Azure subscription
C.A SQL database with advanced data security disabled
D.A storage account with public network access enabled
AnswerA

Built-in policy can deploy the Log Analytics agent extension automatically.

Why this answer

The built-in Azure Policy 'Deploy Log Analytics agent to Windows VMs' includes a remediation task that automatically installs the Log Analytics agent on existing VMs that are missing it. This is a DeployIfNotExists policy effect, which triggers a remediation task to correct non-compliance without manual intervention.

Exam trap

The CCSP exam often tests the distinction between policy effects (Audit, Deny, DeployIfNotExists) and which ones support automatic remediation, leading candidates to assume any non-compliance can be auto-fixed if a policy exists, but only DeployIfNotExists and Modify effects enable remediation tasks.

How to eliminate wrong answers

Option B is wrong because Azure Policy cannot automatically remediate the creation of a new Azure subscription; subscription creation is a tenant-level action that requires Azure RBAC or Azure Blueprints, not a policy with remediation. Option C is wrong because disabling advanced data security on a SQL database is a configuration that can be audited by Azure Policy, but the built-in policies for SQL advanced data security typically use AuditIfNotExists or Deny effects, not DeployIfNotExists with remediation tasks, so automatic remediation is not available out-of-the-box. Option D is wrong because while Azure Policy can audit or deny storage accounts with public network access enabled, the built-in policies for this setting use Deny or Audit effects, not DeployIfNotExists, meaning they block or report non-compliance but do not automatically remediate existing non-compliant resources.

503
MCQeasy

In a hybrid cloud deployment, which of the following is a critical security consideration?

A.Ensuring consistent security policy across environments
B.Using only public cloud for sensitive data
C.Avoiding any use of APIs for integration
D.Eliminating all private cloud resources
AnswerA

Correct. Consistent policies prevent gaps between environments.

Why this answer

Hybrid cloud requires consistent security policies across both public and private environments, typically enforced via secure connectivity and unified management.

504
MCQmedium

A cloud security auditor is assessing a company's data classification policy for their cloud environment. Which finding would be considered a critical deficiency?

A.The data classification policy is reviewed annually.
B.The policy does not specify retention periods for each classification.
C.Employees receive data classification training once during onboarding.
D.The data classification scheme does not include labels for public, internal, confidential, and restricted.
AnswerD

Classes are essential for mapping controls to data sensitivity.

Why this answer

Without a classification scheme that includes labels such as public, internal, confidential, and restricted, the organization cannot consistently apply appropriate security controls based on data sensitivity. This is a fundamental deficiency that undermines the entire data security program. While the other options indicate gaps in review cycles, retention periods, or training, they are less critical than the absence of a classification scheme itself.

505
MCQhard

A company uses a cloud-based file storage service and wants to enable client-side encryption to prevent the cloud provider from accessing plaintext data. Which of the following MUST be implemented?

A.Server-side encryption with customer-provided keys (SSE-C)
B.Envelope encryption with a master key stored on-premises
C.Transport Layer Security (TLS) for all uploads
D.Key management service (KMS) with auto-rotation
AnswerB

Envelope encryption allows client-side encryption; master key on-premises ensures provider cannot access.

Why this answer

Client-side encryption requires that encryption keys are never accessible to the cloud provider. Envelope encryption with a master key stored on-premises ensures the data encryption key (DEK) is encrypted by a master key that remains under the customer's exclusive control, so the cloud service never has the plaintext key or data. This satisfies the requirement of preventing the provider from accessing plaintext data.

Exam trap

ISC2 often tests the distinction between server-side and client-side encryption, where candidates mistakenly think SSE-C or KMS with customer keys qualifies as client-side encryption, but the key differentiator is whether the cloud provider ever has access to the plaintext key or performs any cryptographic operation on the data.

How to eliminate wrong answers

Option A is wrong because server-side encryption with customer-provided keys (SSE-C) still involves the cloud provider performing the encryption/decryption on its servers, meaning the provider temporarily accesses the plaintext key and data during processing. Option C is wrong because Transport Layer Security (TLS) protects data in transit but does not protect data at rest; once the data reaches the cloud provider's servers, it is decrypted and stored in plaintext unless additional encryption is applied. Option D is wrong because a key management service (KMS) with auto-rotation typically stores the master key in the cloud provider's infrastructure, giving the provider potential access to the key material and thus the plaintext data.

506
MCQeasy

A company is moving a legacy application to the cloud. The application uses hard-coded passwords for database connections. Which secure development practice should be implemented to address this issue?

A.Multi-factor authentication
B.Input validation
C.Encryption at rest
D.Secrets management
AnswerD

Secrets management securely stores and retrieves credentials, removing the need for hard-coded passwords.

Why this answer

Hard-coded passwords in application code violate the principle of least privilege and create a persistent security risk if the code is exposed. Secrets management (D) addresses this by storing database credentials in a secure, centralized vault (e.g., HashiCorp Vault, AWS Secrets Manager) and retrieving them at runtime via API calls, eliminating the need to embed passwords in source code or configuration files.

Exam trap

ISC2 often tests the distinction between 'encryption at rest' (protecting stored data) and 'secrets management' (protecting credentials used to access that data), leading candidates to confuse data protection with credential protection.

How to eliminate wrong answers

Option A is wrong because multi-factor authentication (MFA) is an identity verification mechanism for user access, not a method to securely store or manage application-level database credentials. Option B is wrong because input validation prevents injection attacks (e.g., SQL injection) by sanitizing user-supplied data, but it does not address the storage or retrieval of hard-coded passwords. Option C is wrong because encryption at rest protects data stored on disk (e.g., database files) from unauthorized access, but it does not prevent the exposure of credentials hard-coded in application code or configuration.

507
MCQmedium

A company wants to enforce that all API calls to its cloud services are authenticated and authorized. Which design pattern should be implemented?

A.Implement OAuth 2.0 with scopes
B.Use API keys with IP whitelisting
C.Allow basic authentication over HTTPS
D.Use shared secrets with HMAC
AnswerA

OAuth 2.0 with scopes enables delegated, scoped access.

Why this answer

OAuth 2.0 with scopes is the correct design pattern because it provides a standardized, token-based authorization framework that allows fine-grained access control to API resources. Scopes define specific permissions (e.g., read, write) and are validated by the resource server, ensuring that each API call is both authenticated (via the access token) and authorized (via the scopes). This aligns with the principle of least privilege and is widely adopted for securing cloud APIs.

Exam trap

The trap here is that candidates often confuse authentication (verifying identity) with authorization (granting permissions) and choose a method like API keys or basic auth that only authenticates, failing to address the authorization requirement explicitly stated in the question.

How to eliminate wrong answers

Option B is wrong because API keys with IP whitelisting only authenticate the client application, not the user or the request context, and IP whitelisting can be bypassed via spoofing or compromised networks; it lacks granular authorization. Option C is wrong because basic authentication over HTTPS sends credentials (username/password) in every request, which is vulnerable to credential leakage if the client or server is compromised, and it does not support scoped authorization. Option D is wrong because shared secrets with HMAC provide message integrity and authentication but do not offer a standardized way to enforce fine-grained authorization scopes; managing shared secrets at scale is also a security risk.

508
MCQmedium

A security engineer is investigating a potential data exfiltration incident involving an Amazon S3 bucket. Which set of logs would provide the most relevant information to identify the source IP and API calls made to the bucket?

A.VPC Flow Logs for the subnet where the bucket resides
B.AWS Config configuration history for the S3 bucket
C.AWS CloudTrail data events for the S3 bucket
D.Amazon CloudWatch Logs for the EC2 instance accessing the bucket
AnswerC

CloudTrail data events capture S3 object-level API calls, including source IP and identity.

Why this answer

S3 access logs record details of requests made to an S3 bucket, including the requester's IP and the operation performed. CloudTrail data events also capture S3 API calls at the object level. VPC Flow Logs show network traffic but not API calls.

CloudWatch logs could contain application logs but are not specific to S3 access.

509
MCQhard

During a security audit of a Kubernetes deployment, a team finds that containers are allowed to run as root with full privilege escalation. Which IaC scanning tool would have detected this misconfiguration before deployment?

A.Snyk
B.KICS
C.Checkov
D.Dependabot
AnswerB

KICS is designed to scan Kubernetes manifests and can detect security issues like running as root with privilege escalation.

Why this answer

KICS (Keeping Infrastructure as Code Secure) is a tool that scans IaC files for security misconfigurations, including Kubernetes manifests. It can detect containers running as root with privilege escalation.

510
MCQhard

A multinational corporation uses a cloud access security broker (CASB) to enforce data protection policies across multiple SaaS applications. They discover that sensitive data tagged with 'Confidential' is being shared externally via a file-sharing application. The CASB currently only logs activities. Which action should the security team take to prevent such data loss in the future?

A.Encrypt all files stored in the file-sharing application.
B.Revoke user access to the file-sharing application for all employees.
C.Train employees on data handling policies.
D.Implement a DLP policy that automatically blocks sharing of documents with the 'Confidential' label.
AnswerD

Directly prevents the identified data loss scenario.

Why this answer

A CASB with Data Loss Prevention (DLP) capabilities can enforce real-time policies to block sharing of documents tagged with a specific sensitivity label (e.g., 'Confidential'). Since the CASB currently only logs activities, implementing a DLP policy that automatically blocks the sharing action addresses the root cause—preventing the data loss at the point of egress—rather than merely detecting it after the fact.

Exam trap

ISC2 often tests the distinction between detection (logging) and prevention (blocking), and the trap here is that candidates may choose training (Option C) as a 'best practice' without recognizing that the question explicitly asks for a technical action to prevent data loss, which requires an automated enforcement mechanism like DLP.

How to eliminate wrong answers

Option A is wrong because encrypting all files in the file-sharing application does not prevent sharing; encryption protects data at rest but does not control who can access or share the decrypted content. Option B is wrong because revoking access for all employees is an overly drastic measure that disrupts business operations and does not address the need for granular, policy-based control over specific data labels. Option C is wrong because training employees on data handling policies is a preventive administrative control, but it does not provide a technical enforcement mechanism to automatically block sharing of 'Confidential' documents in real time, leaving the organization reliant on human compliance.

511
MCQeasy

A company uses an Infrastructure as a Service (IaaS) provider for critical applications. They need to define a backup retention policy that meets regulatory requirements for keeping financial records for 7 years. Which of the following strategies best meets this requirement while optimizing costs?

A.Perform daily full backups and retain all backups for 7 years.
B.Perform daily backups, keep weekly backups for 3 months, monthly for 1 year, and yearly for 7 years in cold storage.
C.Replicate all backups to a secondary region with snapshots kept for 7 years.
D.Use a grandfather-father-son rotation scheme with weekly, monthly, and yearly backups.
AnswerB

This tiered retention reduces costs while meeting the 7-year requirement.

Why this answer

It implements a tiered backup retention strategy that aligns with the 7-year regulatory requirement while minimizing storage costs. By transitioning weekly backups to cold storage after 3 months, monthly backups after 1 year, and yearly backups for the full 7 years, the company reduces the cost of storing infrequently accessed data. This approach leverages the IaaS provider's lifecycle management policies (e.g., AWS S3 Lifecycle or Azure Blob Storage access tiers) to automatically move backups to lower-cost storage classes like Glacier or Archive, which are optimized for long-term retention.

Exam trap

ISC2 often tests the misconception that a simple rotation scheme (like grandfather-father-son) alone satisfies both retention and cost optimization, but the trap is that rotation schemes define retention cycles without addressing storage tiering or cold storage, which is essential for cost-effective long-term retention in the cloud.

How to eliminate wrong answers

Option A is wrong because performing daily full backups and retaining all for 7 years incurs excessive storage costs and is operationally inefficient, as it does not leverage incremental or differential backup strategies or tiered storage to reduce expenses. Option C is wrong because replicating all backups to a secondary region with snapshots kept for 7 years provides geographic redundancy but does not inherently optimize costs; it duplicates storage costs across regions without a tiered retention policy, leading to unnecessary expense. Option D is wrong because a grandfather-father-son rotation scheme is a tape-based backup rotation method that defines retention cycles (e.g., daily, weekly, monthly) but does not specify storage tier optimization or cold storage transition, and it may not meet a strict 7-year retention requirement without additional configuration; it is a legacy concept not directly tied to cloud cost optimization.

512
MCQmedium

A security engineer is integrating security into a cloud application's CI/CD pipeline. Which practice is an example of 'shift-left' security?

A.Performing a penetration test after deployment
B.Analyzing logs after an incident
C.Running SAST scans during pull request review
D.Scanning container images in production
AnswerC

SAST scans during code review catch vulnerabilities before merge, embodying shift-left.

Why this answer

Shift-left security means performing security activities early in the development lifecycle. Running SAST during the coding phase, before code is merged, is a classic shift-left practice. The other options are either reactive or occur later.

513
MCQhard

Refer to the exhibit. A data sync job fails with the error shown. The IAM role 'data-sync-role' has the following policy attached: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetObject" ], "Resource": "arn:aws:s3:*:*:data-bucket-2024/*" } ] } What is the MOST likely cause of the failure?

A.The resource ARN in the policy is incorrectly formatted, causing the action to not be applied.
B.The role 'data-sync-role' is not attached to the sync job.
C.The bucket 'data-bucket-2024' does not exist.
D.There is an explicit Deny policy blocking the action.
AnswerA

The ARN uses wildcards in the wrong positions; S3 object ARNs require bucket name and key without account or region.

Why this answer

The resource ARN in the policy uses an invalid format: 'arn:aws:s3:*:*:data-bucket-2024/*'. S3 bucket object ARNs should be 'arn:aws:s3:::bucket-name/*'. The extra wildcards in the partition and account sections make the ARN malformed, so the policy does not actually grant any permissions.

Without valid permissions, the sync job fails with an access denied error. Options B, C, and D are incorrect because the error is specifically due to the malformed ARN, not role attachment, bucket existence, or an explicit deny.

514
MCQeasy

Which of the following is a primary risk specific to virtual machine escape attacks in cloud environments?

A.Unauthorized access to other tenant VMs
B.Data corruption within the same VM
C.Increased latency in virtual networking
D.Denial of service to the attacker's own VM
AnswerA

Correct: VM escape can lead to cross-tenant access.

Why this answer

VM escape allows an attacker to break out of a VM and interact with the hypervisor, potentially compromising other tenants.

515
Multi-Selectmedium

A company stores sensitive data in cloud object storage and wants to protect against ransomware attacks that could encrypt or delete objects. Which TWO measures should they implement? (Choose two.)

Select 2 answers
A.Use cross-region replication
B.Implement immutable storage (e.g., Object Lock)
C.Configure signed URLs for access
D.Enable object versioning
E.Set short object lifetimes using lifecycle policies
AnswersB, D

Immutable storage prevents data from being altered or deleted.

Why this answer

Immutable storage (Object Lock) prevents objects from being deleted or overwritten during a specified retention period, directly thwarting ransomware that attempts to encrypt or delete data. This is a foundational defense because even if an attacker gains write access, they cannot modify or remove locked objects, preserving clean backups. Object versioning provides an additional layer of protection by maintaining multiple versions of an object.

If ransomware encrypts or deletes the current version, prior unaltered versions can be restored, enabling recovery without relying solely on immutable storage.

Exam trap

Candidates often mistakenly choose cross-region replication or lifecycle policies as ransomware defenses, not realizing that replication alone does not prevent deletion/encryption, and lifecycle policies could actually delete data. The correct approach combines immutable storage to prevent modification and versioning to allow recovery of prior states.

516
MCQeasy

Which cloud-specific attack involves an application making HTTP requests to internal metadata endpoints such as 169.254.169.254 to retrieve cloud instance credentials?

A.Dependency Confusion
B.Server-Side Request Forgery (SSRF)
C.Cross-Site Scripting (XSS)
D.SQL Injection
AnswerB

SSRF tricks the server into making requests to internal endpoints.

Why this answer

The attack described is Server-Side Request Forgery (SSRF), where an attacker exploits a vulnerable application to make HTTP requests to internal metadata endpoints like 169.254.169.254 (the link-local address for cloud instance metadata services). This allows the attacker to retrieve cloud instance credentials (e.g., AWS IAM role temporary credentials) that are normally accessible only from within the instance, leading to privilege escalation and lateral movement.

Exam trap

The CCSP exam often tests SSRF by pairing it with the specific IP 169.254.169.254, and the trap here is that candidates may confuse SSRF with Dependency Confusion (both involve external resources) or think XSS/SQLi can be used to access internal endpoints, but only SSRF exploits server-side request handling to reach cloud metadata.

How to eliminate wrong answers

Option A (Dependency Confusion) is wrong because it involves an attacker uploading a malicious package with the same name as an internal dependency to a public repository, tricking the package manager into installing it; it does not involve HTTP requests to metadata endpoints. Option C (Cross-Site Scripting) is wrong because it injects malicious scripts into web pages viewed by other users, targeting client-side browsers rather than server-side requests to internal IPs. Option D (SQL Injection) is wrong because it manipulates database queries through input fields, not HTTP requests to cloud metadata services.

517
MCQeasy

What is the primary purpose of a Data Processing Agreement (DPA) between a data controller and a cloud service provider?

A.To set data retention periods for processed data
B.To specify encryption algorithms to be used
C.To establish data backup and recovery procedures
D.To define roles and responsibilities for data processing
AnswerD

The DPA clarifies the controller-processor relationship.

Why this answer

A Data Processing Agreement (DPA) is a legally binding contract required under regulations like GDPR. Its primary purpose is to define the roles and responsibilities of the data controller and the data processor (the cloud service provider), ensuring the processor acts only on the controller's documented instructions and meets compliance obligations. Without a DPA, the controller cannot legally transfer data to the processor, as the agreement establishes the lawful basis and accountability for processing activities.

Exam trap

ISC2 often tests the distinction between legal/compliance documents (DPA) and operational/technical documents (SLA, security policies), so the trap here is confusing the DPA's role in defining processing roles with specific technical controls like encryption or backup procedures.

How to eliminate wrong answers

Option A is wrong because data retention periods are typically defined in a separate data retention policy or contract clause, not the DPA; the DPA focuses on processing instructions and compliance, not specific retention schedules. Option B is wrong because encryption algorithms are a technical security measure specified in a Security Addendum or SLA, not the DPA; the DPA addresses legal and contractual roles, not cryptographic implementation details. Option C is wrong because backup and recovery procedures are operational controls documented in a Business Continuity Plan or Disaster Recovery Plan, not the DPA; the DPA governs data processing boundaries and liability, not specific recovery steps.

518
MCQhard

A security engineer is investigating an incident where an attacker exploited a server-side request forgery (SSRF) vulnerability in a cloud application. The application runs in a cloud environment and uses internal metadata endpoints. Which mitigation should be prioritized to prevent future SSRF attacks?

A.Implement input validation to block malicious URLs
B.Restrict outbound network access from the application instances using network security controls
C.Deploy a web application firewall (WAF) to inspect outgoing requests
D.Require token-based authentication for metadata service access
AnswerB

Restricting outbound network access using network security controls is the most effective mitigation as it prevents the application from initiating connections to the metadata service or other internal services.

Why this answer

Restricting outbound network access from application instances using security groups directly prevents the application from reaching internal metadata endpoints and other internal services. This is a fundamental network-layer control that stops SSRF attacks at the source, regardless of input validation or request inspection, by blocking the outbound traffic that the attacker would exploit.

Exam trap

ISC2 often tests the misconception that input validation or WAFs are sufficient to stop SSRF, when in reality the most effective mitigation is network-layer egress filtering that blocks access to internal metadata endpoints.

How to eliminate wrong answers

Option A is wrong because input validation to block malicious URLs is easily bypassed by attackers using URL encoding, redirects, or alternative representations of the metadata endpoint (e.g., decimal IP, DNS rebinding), and it does not address the root cause of the application making unauthorized outbound requests. Option C is wrong because a web application firewall (WAF) inspects incoming HTTP requests, not outgoing requests from the application; it cannot block the outbound SSRF traffic that originates from the application server itself. Option D is wrong because disabling IMDSv1 and requiring IMDSv2 tokens only protects the metadata service from unauthorized access via token-based authentication, but it does not prevent the application from making SSRF requests to other internal endpoints or external systems; the attacker could still exploit the application to make outbound requests to arbitrary targets.

519
MCQhard

An organization uses cloud databases and needs to protect sensitive fields such as credit card numbers. They want to preserve the ability to perform exact match searches and joins on these fields. Which data protection technique best meets these requirements?

A.Tokenization with a secure token vault
B.Format-preserving encryption (FPE)
C.Dynamic data masking
D.Deterministic encryption
AnswerA

Tokens can be designed to preserve format and allow exact match joins.

Why this answer

Tokenization with a secure token vault is correct because it replaces sensitive data (e.g., credit card numbers) with unique, randomly generated tokens that have no mathematical relationship to the original values. The token vault stores the mapping, allowing exact match searches and joins on the tokens while keeping the original data secure, as the tokens are consistent for the same input value.

Exam trap

ISC2 often tests the distinction between tokenization and deterministic encryption, where candidates mistakenly choose deterministic encryption because it also supports exact match searches, but they overlook that tokenization provides stronger security by removing the mathematical link between the token and the original data, making it resistant to key compromise and frequency analysis.

How to eliminate wrong answers

Option B (Format-preserving encryption) is wrong because FPE produces ciphertext that preserves the original format but is still encrypted, meaning it does not eliminate the risk of exposing sensitive data if the encryption key is compromised, and it may not be suitable for all cloud environments where key management is complex. Option C (Dynamic data masking) is wrong because it only hides data from unauthorized users at query time without changing the underlying stored data, so it does not protect the data at rest and cannot prevent access to the original values if the masking rules are bypassed. Option D (Deterministic encryption) is wrong because while it allows exact match searches by always producing the same ciphertext for a given plaintext, it is vulnerable to frequency analysis attacks and does not provide the same level of security as tokenization, as the encrypted values are still mathematically reversible with the key.

520
Drag & Dropmedium

Drag and drop the steps for conducting a cloud security risk assessment using the NIST CSF framework into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Start with identification, then threat/vulnerability assessment, risk analysis, treatment, and monitoring.

521
Multi-Selecteasy

Which of the following is an example of a data sovereignty law that directly affects cloud data storage?

Select 1 answer
A.General Data Protection Regulation (GDPR)
B.Sarbanes-Oxley Act (SOX)
C.California Consumer Privacy Act (CCPA)
D.Payment Card Industry Data Security Standard (PCI DSS)
E.Health Insurance Portability and Accountability Act (HIPAA)
AnswersA

GDPR is a data sovereignty law because it mandates that personal data of EU residents be stored within the EU or in jurisdictions with equivalent protection, directly affecting cloud storage location decisions.

Why this answer

The General Data Protection Regulation (GDPR) is a data sovereignty law because it imposes strict requirements on the storage and processing of personal data of EU residents, mandating that data be stored within the EU or in jurisdictions with equivalent protection, directly affecting where cloud providers can host data. It enforces data localization principles through mechanisms such as Standard Contractual Clauses (SCCs) and Binding Corporate Rules (BCRs), requiring cloud customers to ensure their provider's storage regions comply with these territorial restrictions. In contrast, the California Consumer Privacy Act (CCPA) is a privacy law that grants consumers rights over their personal data but does not mandate where data must be stored geographically, so it is not a data sovereignty law.

The other options (SOX, PCI DSS, HIPAA) are security or sector-specific regulations without territorial storage requirements.

Exam trap

ISC2 often tests the distinction between data sovereignty (geographic storage restrictions) and data security/privacy regulations (which focus on protection controls but not location). This question specifically traps candidates who assume CCPA is a sovereignty law because it is a prominent privacy regulation, but CCPA lacks any data localization mandate, making it an incorrect choice for a data sovereignty question.

522
MCQeasy

A company receives an erasure request under GDPR. The cloud provider can delete from active storage within 24 hours but requires 90 days to delete from archives. The company has a contractual obligation to ensure deletion within 30 days. What should the company do?

A.Delete the data from the application layer only and rely on provider for archives.
B.Accept the 90-day timeline and inform the data subject accordingly.
C.Request the provider to delete from archives within 30 days and verify.
D.Reject the request as impractical.
AnswerC

This actively pursues compliance with both the contract and GDPR by expediting deletion.

Why this answer

The company has a contractual obligation to ensure deletion within 30 days, which overrides the provider's default 90-day archive retention policy. The company must formally request the provider to expedite the deletion from archives and verify compliance, as GDPR Article 17 requires the controller to ensure erasure without undue delay, and the provider as processor must assist. Relying on the provider's standard timeline without action would breach the contract and GDPR accountability requirements.

Exam trap

ISC2 often tests the misconception that a cloud provider's default retention policy absolves the controller of contractual or regulatory deadlines, when in fact the controller must actively manage the processor's actions or employ alternative technical controls like key destruction to meet the timeline.

How to eliminate wrong answers

Option A is wrong because deleting only from the application layer while leaving data in archives violates the GDPR erasure principle, as the data remains accessible and recoverable, and the controller remains responsible for complete deletion. Option B is wrong because accepting the 90-day timeline and merely informing the data subject does not fulfill the contractual obligation of 30-day deletion, and GDPR does not allow the controller to unilaterally extend the erasure deadline based on the processor's limitations. Option D is wrong because rejecting the request as impractical ignores the controller's duty to use contractual leverage or technical measures (e.g., encryption key destruction) to meet the 30-day deadline, and GDPR does not permit refusal solely due to archive retention policies.

523
MCQhard

An AWS S3 bucket policy is configured as shown in the exhibit. The security team wants to ensure that only requests from the corporate IP range (203.0.113.0/24) can read objects in the bucket. However, they notice that a CloudFront distribution configured to serve content from this bucket is returning 403 Forbidden errors. What is the MOST likely cause?

A.The bucket policy has a syntax error in the Condition block.
B.There is an implicit deny that overrides the explicit allow.
C.The bucket policy does not allow the s3:GetObject action.
D.CloudFront requests originate from CloudFront IP addresses, not the end user's IP.
AnswerD

The condition on aws:SourceIp checks the IP of the requestor, which is CloudFront's IP, not the viewer's IP.

Why this answer

D is correct because when CloudFront fetches objects from an S3 origin, it uses its own IP addresses, not the end user's IP address. The bucket policy restricts access to the corporate IP range (203.0.113.0/24), but CloudFront's requests come from AWS's CloudFront edge IP range, which falls outside that range. This causes S3 to deny the request, resulting in a 403 Forbidden error.

Exam trap

ISC2 often tests the misconception that the end user's IP address is preserved through a CDN or proxy, leading candidates to incorrectly assume the bucket policy's IP restriction will work as intended.

How to eliminate wrong answers

Option A is wrong because the Condition block syntax is valid; the policy uses standard AWS IAM policy language with IpAddress condition key, and there is no syntax error indicated. Option B is wrong because there is no implicit deny overriding the explicit allow; the issue is that the condition does not match CloudFront's source IP, not a deny override. Option C is wrong because the policy explicitly allows the s3:GetObject action for the specified IP range, so the action is permitted when the condition is met.

524
MCQmedium

A security engineer is implementing container image security. They want to ensure that only signed images from a trusted registry can be deployed in the Kubernetes cluster. Which tool should they use to enforce this at the admission controller level?

A.Clair
B.Trivy
C.Cosign
D.Snyk Container
AnswerC

Cosign supports image signing and verification, and can be used with admission controllers.

Why this answer

Cosign is a tool for signing and verifying container images. It integrates with admission controllers like Kyverno or OPA Gatekeeper to enforce that only signed images are deployed.

525
MCQmedium

A medium-sized e-commerce company uses a cloud provider's container orchestration service (e.g., Amazon ECS or Google Kubernetes Engine). They have a security requirement to ensure that all containers run with the least privilege principle. The development team often requests containers to run as root for debugging purposes. The security team wants to enforce a policy that prevents containers from running as root in the production environment. However, the development team still needs the ability to troubleshoot occasionally. The cloud security architect must design a solution that restricts root privilege in production but allows controlled troubleshooting. Which of the following approaches is the most effective?

A.Allow containers to run as root but configure host-based intrusion detection to alert on suspicious activities.
B.Grant developers SSH access to the host nodes for troubleshooting.
C.Use a security context constraint (or PodSecurityPolicy) to deny all containers running as root, and require developers to use a sidecar container for debugging.
D.Create two separate clusters, one for production with root restriction, and one for debugging where root is allowed.
AnswerC

Enforces non-root and provides controlled debugging via sidecar.

Why this answer

It uses a security context constraint (SCC) or PodSecurityPolicy (PSP) to enforce a deny-all policy for root containers in production, which aligns with the least privilege principle. The sidecar container provides a controlled debugging mechanism without granting root access to the main application container, allowing developers to troubleshoot via a separate, privileged sidecar that can be audited and restricted.

Exam trap

ISC2 often tests the misconception that allowing root in containers with monitoring (Option A) or using separate clusters (Option D) is acceptable, but the CCSP emphasizes that least privilege must be enforced at the container level, not compensated for by external controls.

How to eliminate wrong answers

Option A is wrong because allowing containers to run as root and relying solely on host-based intrusion detection (HIDS) does not prevent the violation of the least privilege principle; root access in containers can still lead to container breakout or privilege escalation before any alert is triggered. Option B is wrong because granting developers SSH access to host nodes undermines the security boundary, as it exposes the underlying host OS and potentially other containers, violating the principle of isolation and increasing the attack surface. Option D is wrong because maintaining two separate clusters (production and debugging) introduces operational complexity, configuration drift, and does not enforce least privilege in production; developers might still need root access in production for debugging, which the separate cluster does not address without additional controls.

Page 6

Page 7 of 13

Page 8