Courseiva

CCNA Cdl Google Cloud Security Questions

68 questions · Cdl Google Cloud Security topic · All types, answers revealed

1
MCQhard

A company has a VPC with multiple subnets and wants to prevent data exfiltration by restricting access to a Cloud Storage bucket from only resources within a defined perimeter. Which Google Cloud service should they use to create an API perimeter around the bucket?

A.VPC Service Controls
B.Cloud Armor
C.Cloud NAT
D.VPC firewall rules
AnswerA

VPC Service Controls is correct because it establishes security perimeters around Google Cloud resources such as Cloud Storage, BigQuery, and Cloud Bigtable. These perimeters restrict data movement by allowing only requests that originate from authorized projects, networks, and identities within the perimeter. This API-level control prevents data exfiltration even if credentials are compromised, going beyond what network-level firewalls can achieve.

Why this answer

VPC Service Controls allows you to define perimeters around Google Cloud services like Cloud Storage, preventing data exfiltration to networks outside the perimeter. VPC firewall rules control network traffic but not API access. Cloud Armor is for DDoS protection.

Cloud NAT is for outbound internet access.

2
Multi-Selecthard

A security team needs to detect and respond to threats in real time using network traffic analysis and log correlation. Which THREE services should they use? (Choose 3)

Select 3 answers
A.Cloud KMS
B.Chronicle
C.Cloud IDS
D.Cloud Armor
E.Security Command Center
AnswersB, C, E

Chronicle is Google Cloud's SIEM offering that ingests large volumes of telemetry and log data, normalizes it, and applies analytics and detection rules to identify suspicious activity. It correlates events across multiple data sources with context like user and network behavior, enabling security teams to prioritize and respond to threats. As a SIEM, Chronicle is designed specifically for centralized security analytics and incident investigation.

Why this answer

Chronicle (B) is correct because it is Google Cloud's security analytics platform that ingests and correlates logs at scale, enabling real-time threat detection through rules and threat intelligence. Cloud IDS (C) is correct because it provides network traffic analysis using Palo Alto Networks technology to detect intrusions, malware, and other threats in real time. Security Command Center (E) is correct because it aggregates findings from multiple sources, including Cloud IDS and other services, to give a centralized view of threats and misconfigurations for response.

Cloud KMS (A) is a key management service for encryption keys, not threat detection, and Cloud Armor (D) is a WAF/DDoS protection service that filters traffic but does not perform log correlation or comprehensive threat detection.

Exam trap

The trap here is including Cloud Armor because it sounds security-related, but it is a WAF/DDoS service, not a threat detection or log correlation tool; the exam expects you to distinguish between preventive controls (Cloud Armor, Cloud KMS) and detective controls (Chronicle, Cloud IDS, SCC).

3
MCQeasy

A developer needs to store a database password securely and access it from a Compute Engine VM. The password should be automatically rotated every 90 days. Which Google Cloud service should they use?

A.IAM
B.Cloud Storage with server-side encryption
C.Cloud KMS
D.Secret Manager
AnswerD

Secret Manager is Google Cloud's dedicated service for storing secrets like database passwords, API keys, and certificates. It provides versioned secret values, fine-grained IAM roles, and Cloud Audit Logging to track access, and it supports rotation policies by using Cloud Scheduler to create new versions. Unlike the other options, Secret Manager handles the password directly and offers the necessary controls for secure retrieval by applications.

Why this answer

Secret Manager is purpose-built for storing, versioning, and accessing sensitive values like database passwords, API keys, and certificates, with native support for automatic rotation via rotation schedules and Pub/Sub notifications. It integrates directly with Compute Engine service accounts through IAM, so a VM can retrieve the secret at runtime without embedding credentials. This matches every requirement in the scenario.

Exam trap

GCDL often tests the confusion between Cloud KMS (encryption keys) and Secret Manager (application secrets) — candidates pick KMS because it sounds like the secure storage service, but KMS does not store or rotate passwords.

How to eliminate wrong answers

Option A is wrong because IAM manages identities, roles, and permissions — it authorizes access but does not store secret values or rotate them. Option B is wrong because Cloud Storage with server-side encryption stores objects but has no native secret-rotation mechanism and is not designed for credential retrieval with versioning and audit trails. Option C is wrong because Cloud KMS manages encryption keys (and can encrypt secrets), but it does not store application secrets or provide built-in rotation of the secret value itself — KMS rotates keys, not passwords.

4
MCQmedium

A company wants to protect its web application from common web exploits like SQL injection and cross-site scripting. They also need to block traffic from known malicious IP addresses. Which Google Cloud service should they use?

A.Security Command Center
B.reCAPTCHA Enterprise
C.Cloud IDS
D.Cloud Armor
AnswerD

Cloud Armor is Google Cloud's web application firewall (WAF) that filters HTTP/HTTPS traffic at the edge before it reaches your application. Its pre-configured WAF rules along with custom expressions block common web exploits such as SQL injection, cross-site scripting, and OWASP Top 10 threats. It also supports IP reputation lists, geo-blocking, and DDoS mitigation, delivering real-time protection for public web applications.

Why this answer

Cloud Armor provides WAF capabilities to protect against web exploits and DDoS, and can block traffic based on IP reputation.

5
MCQhard

A security engineer needs to ensure that a Compute Engine instance can access a Cloud Storage bucket using its own identity, without embedding service account keys in the instance. What should the engineer do?

A.Create a service account, grant it the required IAM roles on the bucket, and attach the service account to the Compute Engine instance.
B.Create a service account and download its key. Store the key in Cloud Storage and have the instance download it at startup.
C.Create a service account, generate a key, and use the gcloud auth activate-service-account command on the instance.
D.Use the default Compute Engine service account and grant it roles on the bucket; no additional steps needed.
AnswerA

Attaching a dedicated service account to the Compute Engine instance is the recommended keyless approach. The metadata server automatically provides OAuth2 access tokens to the instance, so the application code can implicitly use the attached identity to authenticate to Google Cloud APIs. Granting only the required IAM roles on the bucket (e.g., Storage Object Viewer) follows least privilege, and because no private key ever leaves Google's infrastructure, credential rotation and expiry are handled automatically by the platform.

Why this answer

Attaching a service account to the Compute Engine instance allows it to authenticate using instance metadata without keys.

6
MCQeasy

An organization needs to ensure that data stored in Cloud Storage is encrypted using keys that they manage and rotate themselves. Which encryption option should they choose?

A.Customer-managed encryption keys (CMEK)
B.Default encryption at rest
C.Customer-supplied encryption keys (CSEK)
D.Google-managed encryption keys
AnswerA

CMEK lets you create and manage your own keys within Cloud KMS, giving you control over the full key lifecycle—rotation schedules, enables/disables, and deletions—while still leveraging Google's infrastructure for storage and encryption operations. You can grant and revoke access to keys via IAM, and audit key use with Cloud Audit Logs. This directly satisfies the need to manage keys as the customer, because you retain administrative authority over the key material that protects the data.

Why this answer

Customer-managed encryption keys (CMEK) allow the organization to create, manage, and rotate encryption keys themselves using Cloud KMS, while still leveraging Google Cloud's encryption infrastructure. This meets the requirement for self-managed keys with rotation control. CMEK provides the necessary control without the operational burden of handling raw key material.

Exam trap

GCDL often tests the confusion between CMEK and CSEK, where candidates might think CSEK offers more control, but the exam expects recognition that CMEK is for managed rotation within GCP.

How to eliminate wrong answers

Option B is wrong because default encryption at rest uses Google-managed keys, which the organization does not manage or rotate. Option C is wrong because customer-supplied encryption keys (CSEK) require the organization to provide and manage the keys entirely outside of Google Cloud, but they are not integrated with Cloud KMS for rotation; CSEK is more about supplying your own key material, not managing rotation through GCP. Option D is wrong because Google-managed encryption keys are fully managed by Google, with no customer control over rotation.

7
MCQmedium

A security team wants to find misconfigurations and vulnerabilities across their Google Cloud environment, including VMs, storage, and IAM. Which service provides a unified view of these findings?

A.Cloud IDS
B.Security Command Center
C.Assured Workloads
D.Cloud Audit Logs
AnswerB

Security Command Center (SCC) is the correct choice because it provides a unified security management platform that continuously scans GCP resources for misconfigurations, vulnerabilities, and compliance violations. It aggregates findings from built-in detectors, integrates with services like Cloud Asset Inventory, and offers a dashboard with actionable insights and risk scores. This directly enables a security team to identify and remediate configuration weaknesses across the organization.

Why this answer

Security Command Center provides a centralized view of vulnerabilities and misconfigurations. Cloud Audit Logs are for auditing actions. Cloud IDS is for network threats.

Assured Workloads is for compliance.

8
MCQmedium

A company wants to implement a zero-trust access model for its internal applications, eliminating the need for a traditional VPN. Employees should be allowed access based on device posture and user identity, not just network location. Which Google Cloud solution should be used?

A.Security Command Center
B.Cloud VPN
C.Identity-Aware Proxy (IAP)
D.BeyondCorp Enterprise
AnswerD

BeyondCorp Enterprise is Google's fully integrated zero-trust solution that replaces the corporate VPN with identity- and context-aware access. It combines IAP with continuous device posture verification via Endpoint Verification, adaptive risk scoring, data loss prevention, and a centralized policy management console. BeyondCorp also offers a global 'kill switch' to instantly revoke access for any user or device, enabling security teams to enforce granular, zero-trust policies based on user identity, device state, and environmental context.

Why this answer

BeyondCorp Enterprise is Google Cloud's zero-trust access platform that enforces access decisions based on user identity and device posture rather than network location, eliminating the need for a traditional VPN. It extends Identity-Aware Proxy with endpoint verification, context-aware access, and continuous authorization, making it the correct choice for a full zero-trust model.

Exam trap

The trap is selecting Identity-Aware Proxy alone because it is the most familiar zero-trust component; the question specifically requires device posture and a full VPN replacement, which only BeyondCorp Enterprise delivers.

How to eliminate wrong answers

Option A is wrong because Security Command Center is a security posture management and threat detection platform; it identifies misconfigurations and vulnerabilities but does not broker user access to applications. Option B is wrong because Cloud VPN is a traditional encrypted tunnel that grants network-level access, which is exactly the perimeter-based model zero-trust seeks to replace. Option C is wrong because Identity-Aware Proxy is a component of BeyondCorp Enterprise that provides identity-based access to web apps, but it alone does not deliver the full device-posture and continuous-authorization capabilities the question requires.

9
MCQmedium

A security analyst needs to analyze large volumes of security logs from multiple GCP projects, detect anomalies, and investigate incidents. The solution should support advanced analytics and threat hunting. Which service is best suited?

A.Chronicle
B.Cloud Logging
C.BigQuery
D.Security Command Center
AnswerA

Chronicle is a cloud-native security information and event management (SIEM) platform designed specifically for ingesting, normalizing, and analyzing large volumes of security logs. It provides built-in threat detection, correlation rules, and fast search for threat hunting, making it the correct choice for a security analyst who needs to perform large-scale log analysis. Unlike general-purpose log or data tools, Chronicle is purpose-built for security operations, with features like detections, timelines, and retroactive analysis.

Why this answer

Chronicle is Google's security analytics platform designed for ingesting and analyzing massive volumes of security telemetry across multiple projects, with built-in threat detection, anomaly detection, and threat hunting capabilities. It retains years of data and provides a petabyte-scale search and correlation engine, making it the best fit for advanced security analytics and incident investigation.

Exam trap

The trap is choosing BigQuery because it can store logs and run SQL — candidates overlook that the question asks for security analytics and threat hunting, which require Chronicle's purpose-built detections and UDM normalization.

How to eliminate wrong answers

Option B is wrong because Cloud Logging is a log storage and query service, not a security analytics platform — it lacks threat detection, correlation, and long-term security retention at scale. Option C is wrong because BigQuery is a general-purpose data warehouse; while it can store logs, it does not provide security-specific detections, threat intelligence, or incident investigation workflows out of the box. Option D is wrong because Security Command Center is a posture management and threat detection service for GCP resources, but it is not designed for deep log analytics or threat hunting across large volumes of external security telemetry.

10
MCQmedium

A data engineering team needs to store and manage database passwords and API keys used by their applications. Which Google Cloud service should they use?

A.Cloud KMS
B.Secret Manager
C.Cloud Key Management Service
D.Cloud Storage
AnswerB

Secret Manager is the correct choice for storing and managing database passwords because it is a dedicated secrets-management service that provides versioning, fine-grained IAM permissions, and audit logging for each secret access. It encrypts secret values in transit and at rest, and integrates seamlessly with Compute Engine, GKE, Cloud Run, and Cloud Functions so applications can retrieve secrets at runtime via a simple API. This avoids hardcoding credentials and supports easy rotation.

Why this answer

Secret Manager is designed to store secrets like passwords and API keys. Cloud KMS is for encryption keys. Cloud Key Management Service is for creating and managing cryptographic keys, not storing secrets.

Cloud Storage is for objects.

11
MCQeasy

A startup wants to secure access to its internal web applications without using a VPN. They need to enforce access based on user identity and device security posture. Which Google Cloud service should they use?

A.Identity-Aware Proxy (IAP)
B.Cloud VPN
C.VPC Service Controls
D.Cloud Armor
AnswerA

Identity-Aware Proxy (IAP) is the correct answer because it implements zero-trust access control at the application layer. When a user requests the internal web app, IAP uses OAuth-based authentication to verify their identity and validates contextual signals such as device security status, IP address, and geographic location. It then enforces fine-grained IAM roles (e.g., the 'IAP-secured Web App User' role) to allow or deny each session, providing user-centric access without exposing the entire VPC.

Why this answer

BeyondCorp Enterprise is Google's zero-trust solution that replaces VPNs by using identity and context (device, location) to grant access. Identity-Aware Proxy (IAP) is a component of BeyondCorp that enforces access at the application layer.

12
MCQmedium

A security engineer needs to monitor and analyze security logs from multiple GCP projects and on-premises sources in a centralized SIEM. Which Google Cloud service is designed for log management and security analytics at scale?

A.Cloud Logging
B.Chronicle
C.Security Command Center
D.Cloud IDS
AnswerB

Chronicle is Google Cloud's cloud-native SIEM purpose-built for ingesting massive volumes of security telemetry, normalizing it, and running continuous threat detection. Unlike simpler log tools, it provides automated correlation, an entity graph, and detection rules that enable security teams to hunt for and investigate threats. It integrates with Cloud Logging and other sources, making it the correct choice for security log monitoring and analysis.

Why this answer

Chronicle is Google Cloud's SIEM platform that ingests logs from various sources and provides security analytics. Security Command Center is for vulnerability management, not a SIEM. Cloud Logging is for log storage and basics, but not a full SIEM.

13
MCQmedium

A company wants to protect its web application running on Google Cloud from DDoS attacks and SQL injection. Which service should they use?

A.reCAPTCHA Enterprise
B.Cloud Armor
C.Cloud CDN
D.VPC firewall rules
AnswerB

Cloud Armor is Google Cloud's DDoS protection and web application firewall (WAF) service. It enforces L7 filtering rules—such as the OWASP ModSecurity Core Rule Set for SQLi and XSS, rate limiting, and custom expressions—at the edge of Google's global load balancing and Cloud CDN infrastructure. In addition, it provides always-on network-layer DDoS mitigation, making it the correct answer for protecting a GKE-hosted web app. It can be configured with preconfigured rules or tailored to block specific attack signatures.

Why this answer

Google Cloud Armor is the edge security service that provides DDoS protection and WAF capabilities, including preconfigured rules for SQL injection (SQLi) and cross-site scripting (XSS). It attaches to HTTP(S) load balancers to filter malicious traffic before it reaches the application.

Exam trap

GCDL often tests the misconception that Cloud CDN or VPC firewall rules provide WAF/DDoS protection; only Cloud Armor delivers both DDoS mitigation and SQLi/XSS filtering at the edge.

How to eliminate wrong answers

Option A is wrong because reCAPTCHA Enterprise protects against bots and automated abuse, not network-layer DDoS or SQL injection at the WAF level. Option C is wrong because Cloud CDN caches and accelerates content; it does not provide WAF or DDoS mitigation by itself. Option D is wrong because VPC firewall rules operate at L3/L4 and cannot inspect HTTP payloads to block SQL injection.

14
MCQmedium

A company wants to replace its VPN-based remote access with a solution that grants access to internal web applications based on user identity and device context, without requiring a VPN. Which Google Cloud service should they use?

A.Access Transparency
B.Cloud Identity
C.Identity-Aware Proxy (IAP)
D.Cloud VPN
AnswerC

Identity-Aware Proxy (IAP) sits in front of HTTPS applications and evaluates each connection using Google credentials and additional context like IP address, geolocation, and device security posture before granting access. It enforces fine-grained role-based policies per resource, eliminating the need for a full VPN for remote users. IAP also supports TCP forwarding for SSH/RDP, so it can directly replace VPN for administrative access to VMs.

Why this answer

Identity-Aware Proxy (IAP) is the Google Cloud service that provides identity and context-aware access to internal web applications without a VPN. It verifies user identity and device context before granting access, making it the correct choice. Other options do not provide this functionality.

Exam trap

GCDL often tests the difference between IAP and other access management services, and candidates may confuse IAP with Cloud Identity or think a VPN is still required.

How to eliminate wrong answers

Option A is wrong because Access Transparency provides logs about Google personnel access, not user access control. Option B is wrong because Cloud Identity is for identity management, not application access. Option D is wrong because Cloud VPN still requires a VPN connection, which the company wants to eliminate.

15
Multi-Selectmedium

A company wants to implement a zero-trust security model for accessing internal applications. Which TWO Google Cloud services should they use together? (Choose 2)

Select 2 answers
A.Cloud Identity
B.Cloud Armor
C.Identity-Aware Proxy (IAP)
D.BeyondCorp Enterprise
E.Cloud VPN
AnswersC, D

Identity-Aware Proxy (IAP) enforces zero-trust access by intercepting requests to applications and verifying the user's identity and contextual attributes, such as device security and network origin, against Cloud IAM policies. It applies least-privilege principles at the application layer, allowing only authenticated and authorized users to reach resources. IAP is a key building block for zero trust because it turns access decisions from network-based to identity-based.

Why this answer

Identity-Aware Proxy (IAP) is correct because it enforces zero-trust access to internal applications by verifying a user's identity and context (via Google identity and IAM) before allowing requests to reach the app, rather than relying on network location. BeyondCorp Enterprise is correct because it provides the zero-trust access framework—context-aware access policies, device trust, and continuous authorization—that works with IAP to protect internal apps without a VPN. Together, BeyondCorp Enterprise supplies the policy/context engine and IAP enforces those policies at the application layer, which is exactly the zero-trust pattern for internal app access.

Cloud Identity is not the right pairing here because it is primarily an identity and device management service (IdP/endpoint management), not the access-enforcement or context-aware policy layer for internal apps. Cloud Armor is a WAF/DDoS protection service for external HTTP(S) load balancers, and Cloud VPN provides network-level connectivity, both of which rely on perimeter/network trust rather than zero-trust application access.

Exam trap

The trap here is confusing identity management (Cloud Identity) or network security (Cloud Armor, Cloud VPN) with zero-trust access services; candidates might pick Cloud Identity because it sounds related to identity, but it lacks the access enforcement capabilities of IAP and BeyondCorp Enterprise.

16
MCQeasy

A developer needs to allow a Compute Engine VM to read from a specific Cloud Storage bucket. Which IAM role should be granted to the VM's service account?

A.roles/storage.objectViewer
B.roles/storage.legacyBucketReader
C.roles/storage.admin
D.roles/storage.objectCreator
AnswerA

roles/storage.objectViewer grants storage.objects.get and storage.objects.list, which allow the VM to read object contents and list objects within a bucket without any write, delete, or admin permissions. This precisely matches the requirement of only reading from Cloud Storage and follows least privilege by not granting any unnecessary capabilities.

Why this answer

roles/storage.objectViewer grants read-only access to objects in a Cloud Storage bucket, including listing and getting objects. Granting it to the VM's service account allows the Compute Engine VM to read from the specific bucket without granting write or administrative permissions. This follows the principle of least privilege for a read-only requirement.

Exam trap

GCDL often tests the difference between object-level and bucket-level storage roles — the trap is choosing a legacy bucket role or an admin role instead of the precise objectViewer role for read-only object access.

How to eliminate wrong answers

Option B is wrong because roles/storage.legacyBucketReader is a legacy role that grants bucket-level metadata read access but not object read access, so the VM could not read object contents. Option C is wrong because roles/storage.admin grants full control over buckets and objects, which is far more than the read-only requirement and violates least privilege. Option D is wrong because roles/storage.objectCreator allows creating objects but not reading them, which is the opposite of what is needed.

17
Multi-Selectmedium

A company wants to protect its web application deployed on Google Cloud from OWASP Top 10 attacks and also block traffic from specific geographic regions. Which TWO services should they use together? (Choose 2)

Select 2 answers
B.Cloud CDN
C.Cloud Armor
D.Cloud IDS
E.reCAPTCHA Enterprise
AnswersB, C

Cloud CDN serves as a caching layer that shields backend origins by absorbing requests and can deliver cached content globally with low latency. When integrated with Cloud Armor, CDN policies evaluate incoming requests against WAF rules before they reach the origin, making it a valid component in a protection strategy; however, the WAF itself is Cloud Armor, not CDN.

Why this answer

Cloud Armor provides WAF rules for OWASP Top 10 and geo-blocking. Cloud CDN caches content and can be used with Cloud Armor for edge protection.

18
MCQmedium

A developer needs to store and manage API keys and certificates in a secure, centralized manner, with automatic rotation and integration with Cloud Functions. Which Google Cloud service should they use?

A.Cloud Storage
B.Cloud KMS
C.Secret Manager
D.Cloud Asset Inventory
AnswerC

Secret Manager is the correct choice because it is a dedicated, purpose-built service for storing and managing sensitive data such as API keys, passwords, and certificates as immutable secret versions. It provides fine-grained IAM roles, automatic log-based auditing, built-in rotation with etag validation, and integration with App Engine, Cloud Functions, and Kubernetes workloads. You can upload certificate data directly as a secret payload and access it securely via the Secret Manager API or client libraries, giving the developer exactly the managed workflow they need.

Why this answer

Secret Manager is Google Cloud's dedicated service for storing, managing, and auditing secrets such as API keys, passwords, and certificates. It supports automatic rotation via rotation schedules and Pub/Sub notifications, and integrates natively with Cloud Functions through client libraries and IAM. This directly matches the requirement for secure centralized storage with rotation and Cloud Functions integration.

Exam trap

The trap is confusing Secret Manager with Cloud KMS — candidates pick KMS because it sounds 'more secure,' but KMS manages encryption keys, not application secrets like API keys and certificates.

How to eliminate wrong answers

Option A is wrong because Cloud Storage is object storage and does not provide secret-specific features like versioning, rotation, or fine-grained access auditing for secrets. Option B is wrong because Cloud KMS manages encryption keys, not application secrets like API keys and certificates — it is for cryptographic key operations, not secret storage. Option D is wrong because Cloud Asset Inventory is a metadata inventory service for GCP resources; it does not store or rotate secrets.

19
Multi-Selectmedium

Which TWO statements about encryption in transit in Google Cloud are correct? (Choose 2)

Select 2 answers
A.Google Cloud uses TLS for all external traffic to its APIs.
B.Data in transit between Google Cloud regions is encrypted by default.
C.Users must configure TLS certificates for all Google Cloud services.
D.Data in transit between Google Cloud and the internet is encrypted by default for all services.
E.Encryption in transit uses AES-256.
AnswersA, B

Google Cloud mandates TLS (HTTPS) for every external call to its public API endpoints, covering services like BigQuery and Cloud Storage. This requirement is enforced at the infrastructure level, so clients must use TLS to communicate, regardless of the client library or SDK. As a result, data confidentiality and integrity are protected from the client to Google's edge, and users do not need to configure certificates themselves.

Why this answer

Option A is correct because Google Cloud terminates all external traffic to its public APIs using TLS (HTTPS), so clients connecting to services such as the Compute Engine API or Cloud Storage API get transport encryption without any extra configuration. Option B is correct because Google encrypts data in transit between its regions and zones by default at the network layer, independent of customer action, so replication and inter-region traffic is protected automatically. Option C is wrong because users do not need to provision TLS certificates for Google-managed services; Google handles the certificates for its endpoints.

Option D is wrong because encryption between Google Cloud and the internet is not automatic for all services — for example, a plain HTTP or unencrypted protocol endpoint is not encrypted unless the user configures TLS. Option E is wrong because encryption in transit is not defined as AES-256; TLS negotiates ciphers such as AES-GCM, and AES-256 is more typically associated with encryption at rest, not a blanket statement for transit.

Exam trap

GCDL often tests the misconception that AES-256 is the algorithm for encryption in transit, when AES-256 applies to encryption at rest and TLS is the in-transit mechanism, so candidates who pick the AES option lose the mark.

20
MCQhard

A security team wants to detect and respond to threats across multiple GCP projects, including identifying misconfigurations and vulnerabilities. They need a single pane of glass. Which service provides a unified view of security findings across projects?

A.Cloud Operations
B.Security Command Center
C.Cloud Audit Logs
D.Chronicle
AnswerB

Security Command Center is the central security and risk management platform for Google Cloud, aggregating findings from built-in and third-party services, including Security Health Analytics, Event Threat Detection, Cloud Asset Inventory, and Cloud Armor. It gives security teams a single pane of glass to view vulnerabilities, misconfigurations, and active threats across all projects. This service includes preset compliance metrics, malware discovery, and integration with Google Cloud's Web Security Scanner and partner solutions. Its role as the unified findings hub is exactly why it is the recommended solution for threat detection and response at cloud scale.

Why this answer

Security Command Center (SCC) is Google Cloud's centralized security and risk management platform. It aggregates findings across projects and organizations — including misconfigurations, vulnerabilities, and threats — into a single dashboard, providing the 'single pane of glass' the team requires.

Exam trap

GCDL often tests the boundary between SCC (security posture/findings) and Chronicle (SIEM/log analytics) — candidates pick Chronicle for 'single pane of glass' but SCC is the findings aggregator.

How to eliminate wrong answers

Option A is wrong because Cloud Operations (formerly Stackdriver) is for monitoring, logging, and observability, not security posture or threat findings. Option C is wrong because Cloud Audit Logs record API activity for compliance and forensics but do not aggregate or prioritize security findings. Option D is wrong because Chronicle is a SIEM for security analytics and log retention, not a multi-project misconfiguration/vulnerability dashboard (though it complements SCC).

21
MCQmedium

An organization needs to enforce that developers can only create Compute Engine instances in the us-central1 region. Which IAM approach should they use?

A.Use Organization Policy to restrict allowed regions
B.Create a custom role with permission restricted to us-central1
C.Grant the Compute Instance Admin role with an IAM condition on resource.location
D.Create a separate project for each region
AnswerC

Granting the Compute Instance Admin role with an IAM condition on `resource.location` restricts instance creation to only the `us-central1` region by evaluating the resource’s location attribute at request time. This satisfies the constraint that developers cannot create instances outside that specific region, using a native IAM condition rather than a separate organisational policy.

Why this answer

IAM conditions allow setting regional constraints on roles, such as granting the Compute Instance Admin role with a condition on resource.location == 'us-central1'.

22
MCQmedium

A security team needs to detect and alert on suspicious outbound network traffic from their GCP environment, such as data exfiltration attempts. They require a managed service that analyzes traffic for threats. Which service should they use?

A.Cloud Armor
B.Security Command Center
C.Cloud IDS
D.Chronicle
AnswerC

Cloud IDS is a managed intrusion detection service that uses packet mirroring in your VPC to copy traffic and apply deep packet inspection with threat signatures against full bidirectional flows, including outbound communications. Because it evaluates connections initiated from your workloads, it can detect command-and-control callbacks, outbound malware propagation, and data exfiltration attempts in near real time. This makes Cloud IDS the appropriate choice for detecting and alerting on suspicious outbound network behavior.

Why this answer

Cloud IDS is Google Cloud's managed network intrusion detection service that inspects traffic (via packet mirroring) for threats such as malware, command-and-control, and data exfiltration, and generates alerts. It is purpose-built for detecting suspicious network activity in a GCP environment without deploying third-party appliances.

Exam trap

GCDL often tests the confusion between Cloud IDS (managed network threat detection) and Security Command Center (posture/finding aggregation) — candidates pick SCC thinking it 'analyzes traffic' when it only aggregates findings.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a WAF/DDoS protection service for HTTP(S) load-balanced applications, not a network traffic threat-detection service for outbound exfiltration. Option B is wrong because Security Command Center is a posture management and threat-discovery platform that aggregates findings — it does not itself analyze raw network packets for intrusions. Option D is wrong because Chronicle is a security analytics/SIEM platform for ingesting and correlating logs at scale, not a managed network IDS that inspects live traffic.

23
MCQeasy

Which IAM component determines what actions a user is allowed to perform on a resource?

A.Authorization
B.Audit Logging
C.Authentication
D.Encryption
AnswerA

Authorization is the IAM component that explicitly determines which actions a user is permitted to perform on a given set of resources. In Google Cloud, this is implemented by binding principals to roles, each containing a collection of permissions, and attaching those bindings to projects, folders, or organizations. The authorization engine evaluates the requested action against the effective allow policies and renders a definitive allow or deny decision.

Why this answer

Authorization is the IAM component that determines what an authenticated principal is allowed to do on a resource; it evaluates policies attached to users, groups, roles, and resources to allow or deny specific actions. Authentication establishes identity, while authorization decides permissions — so authorization is the correct answer.

Exam trap

The trap is the authentication-versus-authorization distinction; candidates who see 'allowed to perform' may pick authentication because both concepts are about access control.

How to eliminate wrong answers

Option B is wrong because audit logging records what actions were taken for compliance and forensics; it does not determine permissions. Option C is wrong because authentication verifies who the user is (credentials, MFA, federation) but does not decide what they can do. Option D is wrong because encryption protects data confidentiality in transit or at rest and has no role in permission decisions.

24
MCQhard

A company must meet regulatory requirements that restrict where data can be stored and processed. They need to ensure that Google Cloud personnel have limited and audited access to their data. Which combination of services should they use?

A.Access Transparency and VPC Service Controls
B.Assured Workloads and Access Transparency
C.Cloud KMS and Cloud Audit Logs
D.VPC Service Controls and Cloud Audit Logs
AnswerB

Assured Workloads is the correct foundation because it enforces data residency by pinning resources to a selected region and imposes access restrictions such as preventing Google personnel from accessing customer data without explicit approval. Access Transparency complements it by providing detailed, audit-ready logs of any Google employee access actions, satisfying the regulatory need for both enforcement and accountability. This pairing directly addresses location restrictions and personnel access tracking, which are the core requirements.

Why this answer

Assured Workloads provides regulatory compliance controls and access restrictions for specific regions. Access Transparency logs Google personnel access. Cloud Audit Logs track user activity.

The question asks for a combination that restricts personnel access and provides audit logs.

25
MCQeasy

An organization needs to store API keys, database passwords, and certificates securely, with automatic rotation and audit logging. Which Google Cloud service should they use?

A.Cloud Storage with encryption
B.Cloud KMS
C.Cloud HSM
D.Secret Manager
AnswerD

Secret Manager is the purpose-built Google Cloud service for storing API keys, database passwords, certificates, and other sensitive configuration data. It maintains immutable secret versions, supports granular IAM roles and conditions (e.g., accessor, giver, view access to a specific secret version), and is natively integrated with Cloud Audit Logs so every access to a secret's plaintext is recorded. You can automate rotation by using Cloud Functions or Cloud Scheduler to regenerate the secret value and add a new version, and then grant applications access only to the active version. It is the only option here that directly satisfies the requirements for secure storage, rotation, and auditing of manage to manage runtime secrets.

Why this answer

Secret Manager is purpose-built for storing API keys, passwords, and certificates with versioning, automatic rotation, IAM-based access control, and audit logging via Cloud Audit Logs. It directly addresses the requirement for secure storage plus rotation and auditing.

Exam trap

The trap is confusing Cloud KMS (encryption keys) with Secret Manager (application secrets); candidates often pick KMS because it sounds more 'secure,' but KMS does not store or rotate API keys and passwords.

How to eliminate wrong answers

Option A is wrong because Cloud Storage with encryption only encrypts objects at rest; it does not provide secret versioning, rotation, or fine-grained secret access auditing. Option B is wrong because Cloud KMS manages encryption keys, not application secrets like API keys and passwords, and does not rotate secrets themselves. Option C is wrong because Cloud HSM provides hardware-backed key storage for cryptographic keys, not a general secret store with rotation for API credentials.

26
MCQmedium

An organization wants to ensure that all data stored in Cloud Storage is encrypted with customer-managed keys that can be rotated on demand. They also need to log every key use for audit compliance. Which combination of services should they use?

A.Cloud KMS with Customer-Supplied Encryption Keys (CSEK)
B.Google-managed encryption keys with Access Transparency
C.Cloud KMS with Customer-Managed Encryption Keys (CMEK) and Cloud Audit Logs
D.Secret Manager with encryption keys and Cloud Logging
AnswerC

CMEK allows you to create and manage key material in Cloud KMS and assign it as the key that encrypts Cloud Storage objects through a key ring and CryptoKey. You retain lifecycle control—enabling, disabling, rotating, or destroying the key—and every encryption or decryption operation under that key is recorded as a Cloud KMS operation in Cloud Audit Logs, giving you the auditability needed for security monitoring and forensic investigation.

Why this answer

Cloud KMS allows creation and management of customer-managed encryption keys (CMEK) for Cloud Storage. Cloud Audit Logs can be used to log key usage (e.g., via Data Access audit logs). CSEK is deprecated; Secret Manager is for secrets, not encryption keys for storage.

27
MCQmedium

A healthcare company runs a containerized patient-records application on Google Kubernetes Engine. The security team wants to detect and block suspicious network traffic between pods, and also wants to scan container images for known vulnerabilities before deployment. Which combination of Google Cloud services should they use to meet these requirements?

A.Cloud Armor for pod-to-pod traffic filtering and Container Registry for image scanning
B.Google Cloud Armor for pod traffic and Artifact Registry vulnerability scanning for images
C.GKE network policies with Dataplane V2 for pod traffic and Artifact Registry vulnerability scanning for images
D.VPC Service Controls for pod traffic and Binary Authorization for image scanning
AnswerC

GKE network policies, enforced by Dataplane V2 based on Cilium eBPF, let you define ingress and egress rules between pods, effectively blocking suspicious east-west traffic. Artifact Registry automatically scans container images for known vulnerabilities when they are pushed. Together they provide both runtime network segmentation and pre-deployment image scanning, exactly matching the stated requirements.

Why this answer

Protecting containerized workloads requires layered controls. GKE network policies with Dataplane V2 enforce pod-level firewall rules inside the cluster, while Artifact Registry provides automated vulnerability scanning of container images. Cloud Armor and VPC Service Controls operate at different layers and cannot inspect pod-to-pod traffic, so they do not fulfill the east-west traffic requirement.

Exam trap

The trap here is assuming that Cloud Armor or VPC Service Controls can filter internal pod-to-pod traffic, when they actually protect external edges or API perimeters.

28
MCQmedium

A company wants to encrypt sensitive data stored in Cloud Storage with a key that is generated and stored on-premises using a hardware security module (HSM). They do not want Google to have access to the key. Which encryption option should they use?

A.Google-managed encryption keys
B.Customer-managed encryption keys (CMEK)
C.Cloud HSM
D.Customer-supplied encryption keys (CSEK)
AnswerD

Customer-supplied encryption keys (CSEK) are keys that the customer generates and provides directly to Google Cloud via API when writing data. Google's systems use the customer-supplied key to encrypt the data at rest and then destroy the key from its memory, ensuring that Google does not retain the key material. This aligns with the company's requirement because the customer retains exclusive control over the key, and Google cannot access the plaintext without the customer re-supplying the key, making it the correct choice.

Why this answer

Customer-Supplied Encryption Keys (CSEK) allow customers to provide their own keys; Google does not store the key and has no access to it.

29
MCQmedium

A company wants to implement a zero-trust security model to replace its legacy VPN for accessing internal web applications. Employees use both company-managed and personal devices. Which Google Cloud service provides context-aware access based on user identity and device posture?

A.Cloud VPN
B.Identity-Aware Proxy (IAP)
C.Cloud Armor
D.VPC Service Controls
AnswerB

Identity-Aware Proxy (IAP) is a Google Cloud service that sits in front of your applications and proxies every request, enforcing access control based on the requester's identity, group membership, and contextual attributes such as IP address, device security status, and geolocation. Because it operates at the application layer (HTTP/S or TCP) rather than the network layer, it can grant or deny access to individual resources without changing your network topology or requiring a VPN. IAP is the core enforcement point for a BeyondCorp-style zero-trust architecture, enabling context-aware, least-privilege access to both web applications and SSH/RDP services.

Why this answer

Identity-Aware Proxy (IAP) verifies user identity and context (device security, location, etc.) before granting access to applications, enabling zero-trust without a VPN.

30
MCQmedium

An organization wants to protect its web application from DDoS attacks and SQL injection. Which Google Cloud service should they deploy?

A.Cloud DNS
B.Security Command Center
C.Cloud IDS
D.Cloud Armor
AnswerD

Cloud Armor is a security policy service for HTTP(S) load balancers that combines both network-layer DDoS protection and a Web Application Firewall (WAF) with Layer 3-7 filtering. It enforces allow/deny rules at the edge, including preconfigured rules for OWASP Top 10 risks such as SQL injection and cross-site scripting, and scales to absorb volumetric DDoS attacks. Because it operates inline on incoming traffic, it actively blocks malicious requests before they ever reach the application, making it the correct choice for protecting a web application from DDoS and SQL injection.

Why this answer

Cloud Armor provides DDoS protection and Web Application Firewall (WAF) capabilities to block attacks like SQL injection. Cloud IDS is for intrusion detection. Security Command Center is for vulnerability management.

Cloud DNS is for DNS resolution.

31
MCQhard

A security team needs to monitor and analyze logs from multiple GCP projects to detect threats across the organization. They require a SIEM solution that can ingest logs from on-premises and other clouds. Which service should they use?

A.Security Command Center
B.Cloud IDS
C.Chronicle
D.Cloud Logging
AnswerC

Chronicle is a cloud-native SIEM from Google Cloud designed to ingest, normalize, and analyze security logs from multiple cloud providers, on-premises systems, and SaaS applications. Its architecture leverages BigQuery for scalable log storage and provides advanced threat detection, retroactive analysis, and custom detection rules with low-latency searching. As a Google Cloud product purpose-built for security log analytics, it directly addresses the need to monitor and analyze logs across a multi-cloud environment.

Why this answer

Chronicle is a Google Cloud SIEM that ingests logs from various sources, including on-premises and other clouds, and provides threat detection. Security Command Center is for vulnerability scanning, not SIEM.

32
MCQmedium

A company uses Cloud SQL and wants to encrypt data at rest with a key that they manage and rotate themselves. They also want to ensure that the encryption happens automatically before data is written to disk. Which configuration should they choose?

A.Enable default Google-managed encryption
B.Store the encryption key in Secret Manager and configure Cloud SQL to use it
C.Use a Customer-Managed Encryption Key (CMEK) from Cloud KMS
D.Use a Customer-Supplied Encryption Key (CSEK)
AnswerC

CMEK in Cloud KMS lets you create and control a key that Cloud SQL automatically uses for encrypting data, backups, and logs at rest. You control key rotation, enabling/disabling, and access via IAM, and Cloud KMS records key usage for auditing. This gives the required customer control while keeping transparent, automatic encryption.

Why this answer

Customer-Managed Encryption Keys (CMEK) in Cloud KMS let you own, manage, and rotate the key while Cloud SQL automatically uses it to encrypt data at rest before writing to disk. This satisfies both the customer-managed rotation requirement and the automatic pre-write encryption requirement.

Exam trap

GCDL often tests the confusion between CMEK and CSEK — candidates pick CSEK thinking 'customer-supplied' means customer-managed, but CSEK is client-provided per-request and does not provide automatic at-rest encryption managed by the service.

How to eliminate wrong answers

Option A is wrong because Google-managed encryption uses keys owned and rotated by Google, not the customer, so it fails the customer-managed requirement. Option B is wrong because storing a key in Secret Manager does not integrate with Cloud SQL's at-rest encryption — Secret Manager is for application secrets, not for CMEK integration. Option D is wrong because Customer-Supplied Encryption Keys (CSEK) are passed by the client at request time and are not persisted by Google, so they do not provide automatic at-rest encryption managed by the service — CSEK is also not supported for Cloud SQL in the same way as CMEK.

33
MCQhard

A DevOps engineer wants to audit all actions performed by Google personnel on their customer data stored in Cloud Storage. They need to review logs that show access by Google employees and the reason for access. Which logging feature should they enable?

A.Cloud Audit Logs
B.Cloud Logging
C.Access Transparency
D.VPC Flow Logs
AnswerC

Access Transparency is the correct feature because it provides real-time logs of every action taken by Google personnel (and certain subprocessors) when accessing customer content, including reads, writes, and administrative operations. It complements Cloud Audit Logs by covering the 'Google-side' of the shared responsibility model, which no other logging option addresses. It must be explicitly enabled on the organization, folder, or project, and it works only for a defined set of Google Cloud services.

Why this answer

Access Transparency provides logs specifically showing when Google personnel access customer data, including the reason and justification for access. It is designed for auditing Google employee actions on customer data, which is exactly the requirement.

Exam trap

The trap is confusing Cloud Audit Logs with Access Transparency: candidates pick Audit Logs because they think it covers all access, but only Access Transparency logs Google personnel access with justification.

How to eliminate wrong answers

Option A is wrong because Cloud Audit Logs record actions by users and services in your project, not access by Google personnel to your data. Option B is wrong because Cloud Logging is a general log management service; it does not specifically capture Google employee access with justification. Option D is wrong because VPC Flow Logs capture network traffic metadata for VPC subnets, not personnel access to data.

34
MCQeasy

A company wants to replace its VPN-based remote access with a solution that grants access based on user identity, device security status, and context (e.g., location, IP). Which Google Cloud service should they use?

A.BeyondCorp Enterprise
B.Cloud Armor
C.Identity-Aware Proxy (IAP)
D.Cloud VPN
AnswerA

BeyondCorp Enterprise is Google's zero-trust access solution that fully replaces a VPN-based remote access model. It grants users access to specific applications based on verified identity, device trust, and context (such as location and security posture) rather than opening up network-level connectivity. This eliminates the implicit trust and lateral movement risks inherent in traditional VPNs, while also integrating with Google Cloud's security capabilities like DLP and threat detection.

Why this answer

BeyondCorp Enterprise is Google Cloud's zero-trust access platform that grants access based on user identity, device security posture, and contextual signals (location, IP, time), replacing traditional VPN-based remote access. It builds on Identity-Aware Proxy (IAP) and adds device trust, continuous authorization, and threat/data protection. This matches the requirement for identity- and context-based access without a VPN.

Exam trap

The trap is picking IAP because it is the technical enforcement mechanism — but the question asks for the service that provides identity, device, and context-based access, which is the broader BeyondCorp Enterprise offering.

How to eliminate wrong answers

Option B is wrong because Cloud Armor is a WAF and DDoS protection service for external HTTP(S) load balancers, not a zero-trust remote access solution. Option C is wrong because IAP is a component of BeyondCorp Enterprise — it provides identity-based access to apps and VMs, but does not by itself deliver the full device-posture and context-aware policy engine that BeyondCorp Enterprise provides. Option D is wrong because Cloud VPN is a traditional VPN solution, which is exactly what the company wants to replace.

35
MCQhard

A security engineer needs to analyze network traffic for malicious payloads and anomalies in real-time across multiple VPC networks in a project. The solution must be managed and not require deploying third-party appliances. Which service should they use?

A.Security Command Center
B.Cloud Armor
C.Cloud IDS
D.VPC Flow Logs
AnswerC

Cloud IDS is a fully managed intrusion detection service that performs deep packet inspection (DPI) on all network traffic within a VPC, including both east-west and north-south flows. It leverages the industry-leading threat signatures from Palo Alto Networks to detect malicious payloads, command-and-control communications, and other network-based attacks. By comparing packet payloads against known signatures, Cloud IDS provides real-time visibility into actual traffic content, directly meeting the requirement to analyze network traffic for threats.

Why this answer

Cloud IDS provides managed intrusion detection across VPC networks, analyzing traffic for threats like malware and anomalies.

36
MCQhard

An administrator wants to enforce that all API calls to a specific Cloud Storage bucket must come from a limited range of IP addresses. Which configuration should they use?

A.Cloud Armor security policy
B.Identity-Aware Proxy (IAP)
C.VPC Service Controls with an access level that includes the IP range
D.VPC firewall rules
AnswerC

VPC Service Controls with an access level that includes the IP range is correct because these perimeters restrict all API calls to protected services like Cloud Storage, and access levels apply context-aware conditions (including source IP address) at the Google Front End. When you add Cloud Storage to a service perimeter and attach an access level with your allowed CIDR range, any API request originating outside that IP range is denied, regardless of IAM permissions. This gives you perimeter-based, context-sensitive enforcement directly on the Cloud Storage API.

Why this answer

VPC Service Controls with an access level that includes the specified IP range is the correct way to enforce that API calls to a Cloud Storage bucket originate only from a limited set of IP addresses. Access levels in VPC Service Controls define conditions such as IP ranges, and when attached to a service perimeter, they restrict access to the protected service (Cloud Storage) based on those conditions. This provides centralized, identity- and context-aware enforcement at the API level.

Exam trap

GCDL often tests the confusion between network-layer controls (firewall rules, Cloud Armor) and API-layer controls (VPC Service Controls), leading candidates to choose a firewall or load balancer solution for an API-level restriction.

How to eliminate wrong answers

Option A is wrong because Cloud Armor security policies protect HTTP(S) load balancer backends and do not govern direct API calls to Cloud Storage. Option B is wrong because Identity-Aware Proxy (IAP) controls access to web applications and VMs, not to Cloud Storage API endpoints. Option D is wrong because VPC firewall rules operate at the network layer for VM traffic and do not apply to Cloud Storage API calls, which are handled by Google's API infrastructure outside the VPC.

37
Multi-Selectmedium

A company wants to protect sensitive data stored in Cloud Storage from being downloaded by users outside their organization. They also need to prevent data from being copied to external projects. Which TWO services should they use? (Choose two.)

Select 2 answers
A.IAM conditions with access levels
B.Cloud DLP
C.VPC Service Controls
D.Cloud KMS
E.Cloud Armor
AnswersA, C

IAM conditions with access levels restrict Cloud Storage access based on request context, such as network origin or device state, blocking downloads by users outside the organisation. This satisfies the requirement to prevent external parties from downloading sensitive objects.

Why this answer

IAM conditions with access levels (A) are correct because they let you enforce context-aware access rules on Cloud Storage, such as allowing access only when the request originates from a trusted network or device, which directly addresses preventing downloads by users outside the organization. VPC Service Controls (C) are correct because they create a service perimeter around Cloud Storage that blocks data exfiltration, including preventing data from being copied to external projects outside the perimeter. Cloud DLP (B) is incorrect because it is used to discover, classify, and redact sensitive data, not to enforce access or exfiltration boundaries.

Cloud KMS (D) is incorrect because it manages encryption keys and does not control who can download or copy data. Cloud Armor (E) is incorrect because it protects web applications from network-layer and application-layer attacks at the edge, not Cloud Storage data access or project boundaries.

38
MCQeasy

Which defense-in-depth layer includes measures like access controls, vulnerability management, and intrusion detection systems?

A.Data security
B.Physical security
C.Operational security
D.Infrastructure security
AnswerC

Operational security is correct because it encompasses the day-to-day processes and controls that protect systems, including user access management (authentication, authorization, least privilege), vulnerability management, continuous monitoring, and incident response. These are precisely the measures described in the question—access control lists and intrusion detection—which require ongoing operational discipline rather than static architectural safeguards. This layer ensures that policies and procedures are executed consistently across the environment.

Why this answer

Operational security (OpSec) is the defense-in-depth layer focused on day-to-day processes, people, and procedures that protect systems — it explicitly encompasses access controls, vulnerability management, and intrusion detection systems. These are ongoing operational activities rather than physical barriers or data-at-rest protections, which is why OpSec is the correct classification.

Exam trap

The trap here is conflating infrastructure security with operational security — candidates see 'intrusion detection' and pick infrastructure, but the exam expects you to recognize that access control processes, vulnerability management, and IDS monitoring are operational activities, not just infrastructure hardening.

How to eliminate wrong answers

Option A is wrong because data security focuses on protecting data at rest and in transit (encryption, tokenization, DLP, key management), not on IDS or vulnerability scanning workflows. Option B is wrong because physical security covers tangible controls like fences, locks, guards, CCTV, and badge readers — it does not include vulnerability management or IDS. Option D is wrong because infrastructure security refers to hardening the underlying network, hosts, and cloud infrastructure (firewalls, segmentation, patching baselines), which is a component of but not synonymous with the broader operational security layer that also covers process and personnel controls.

39
MCQeasy

What is the primary purpose of VPC Service Controls?

A.To control ingress and egress traffic at the network level
B.To detect network intrusions
C.To prevent data exfiltration from Google Cloud services
D.To protect against DDoS attacks
AnswerC

VPC Service Controls create perimeters around Google Cloud APIs and services, using context such as identity, source IP, and resource metadata to authorize access. This prevents copying or moving data from within the perimeter to external destinations, directly reducing the risk of data theft. By working at the API layer, it complements IAM and network controls with a data-boundary layer.

Why this answer

VPC Service Controls create perimeters around Google Cloud services to prevent data exfiltration. VPC firewall rules control network traffic. Cloud Armor is for DDoS.

Cloud IDS is for intrusion detection.

40
MCQhard

A security administrator needs to ensure that Google personnel do not access customer data without explicit authorization. Which service should they use to get logs of Google employee access?

A.Access Transparency
B.Cloud Audit Logs
C.Security Command Center
D.Assured Workloads
AnswerA

Access Transparency is the correct control because it provides near real-time, read-only audit logs specifically for actions taken by Google personnel against customer data. These logs capture each instance of access (e.g., when a Google engineer troubleshoots a support issue) and are viewable in Cloud Logging. Unlike standard audit logs, Access Transparency is designed solely for visibility into Google's own staff activity, making it the exact mechanism for this requirement.

Why this answer

Access Transparency provides logs of Google personnel actions on customer data. Cloud Audit Logs track user activities within the customer's project. Assured Workloads is for regulatory compliance.

Security Command Center is for threat detection.

41
MCQeasy

A small startup wants to protect its web application from common attacks like SQL injection and cross-site scripting (XSS). They also need DDoS protection. Which Google Cloud security service should they use?

A.Security Command Center
B.Cloud IDS
C.reCAPTCHA Enterprise
D.Cloud Armor
AnswerD

Cloud Armor is a web application firewall (WAF) and distributed denial-of-service (DDoS) protection service that runs at Google's network edge. It provides preconfigured and customizable rules to block SQL injection, cross-site scripting, and other OWASP Top 10 attack vectors before they reach your application. By integrating with Cloud Load Balancing and offering ML-based adaptive protection, Cloud Armor actively filters malicious requests and safeguards your web application from application-layer and volumetric attacks.

Why this answer

Google Cloud Armor is a web application firewall (WAF) and DDoS protection service that filters HTTP(S) traffic at the edge of Google's network. It provides preconfigured WAF rules to block OWASP Top 10 attacks such as SQL injection and XSS, and it includes built-in DDoS protection for external HTTP(S) load balancers. For a small startup needing both WAF and DDoS protection in one service, Cloud Armor is the correct choice.

Exam trap

The trap here is confusing Cloud Armor with Cloud IDS or Security Command Center; candidates often pick Cloud IDS for 'intrusion prevention' even though it only detects, and Cloud Armor is the only service that both blocks application-layer attacks and mitigates DDoS.

How to eliminate wrong answers

Option A is wrong because Security Command Center is a security posture management and threat detection platform, not an inline traffic-filtering WAF or DDoS mitigation service. Option B is wrong because Cloud IDS is a managed intrusion detection system that inspects traffic for malicious activity but does not block SQL injection/XSS at the application layer nor provide DDoS protection. Option C is wrong because reCAPTCHA Enterprise protects against bot and automated abuse, not SQL injection or XSS, and does not offer DDoS protection.

42
Multi-Selecthard

A security team needs to implement a zero-trust architecture for a web application that is accessed by both internal employees and external partners. They require context-aware access that checks device posture and identity. Which THREE components should they use? (Choose three.)

Select 3 answers
A.Identity-Aware Proxy (IAP)
B.VPC firewall rules
C.Access levels (context-aware conditions)
D.BeyondCorp Enterprise
E.Cloud Armor
AnswersA, C, D

Identity-Aware Proxy (IAP) enforces Zero Trust by brokering access to applications and resources based on the requester's identity and context, rather than their network location. It authenticates users via OAuth, checks IAM policies, and can be combined with context-aware conditions before proxying the connection. This ensures that even if a request originates from inside the VPC, it is only allowed if the user is verified and authorized, eliminating the need for a traditional VPN.

Why this answer

BeyondCorp Enterprise provides the zero-trust framework, including device and identity verification. Identity-Aware Proxy (IAP) is a key component that enforces access based on context. Access levels in IAP define conditions (e.g., device posture, IP range) that must be met for access.

Cloud Armor is for DDoS/WAF, not context-aware access. VPC firewall rules are network-level, not user-level. Chronicle is a SIEM.

43
MCQeasy

Which Google Cloud service provides a fully managed SIEM solution for log analysis, threat detection, and incident response?

A.Chronicle
B.Security Command Center
C.Operations Suite
D.Cloud Logging
AnswerA

Chronicle is a fully managed, enterprise-grade SIEM (Security Information and Event Management) solution on Google Cloud. It ingests petabytes of log and telemetry data, performs high-speed search without traditional indexing, and applies detection engines and threat intelligence to uncover malicious activity, enabling security analysts to hunt, investigate, and respond to threats. Its native integration with other Google Cloud services makes it the only option here that is a dedicated SIEM, rather than a component or adjacent security tool.

Why this answer

Chronicle is Google's SIEM offering that ingests logs and telemetry for security analytics.

44
MCQeasy

Which Google Cloud security layer is responsible for protecting data stored on disk using either Google-managed or customer-managed encryption keys?

A.Operational security
B.Infrastructure security
C.Data security
D.Hardware security
AnswerC

Data security is the Google Cloud layer that directly protects the data itself using encryption at rest and in transit, customer-managed encryption keys (CMEK), and data loss prevention APIs for classifying and redacting sensitive information. It is the only option that explicitly addresses how stored data is encrypted and how access to that encrypted data is managed. Google Cloud encrypts data at rest by default, and the data security layer governs key management, cipher suite selection, and rotation policies.

Why this answer

Data encryption at rest is a core component of data security, ensuring data stored on disk is encrypted. Google Cloud encrypts all data at rest by default using Google-managed keys, with options for CMEK and CSEK.

45
MCQmedium

An organization wants to enforce that all data stored in Cloud Storage buckets is encrypted with a key that they control and rotate periodically. They also need to audit key usage. Which approach should they take?

A.Use Customer-Supplied Encryption Keys (CSEK)
B.Use Customer-Managed Encryption Keys (CMEK) with Cloud KMS
C.Use default Google-managed encryption keys
D.Use Cloud External Key Manager (Cloud EKM)
AnswerB

Customer-Managed Encryption Keys (CMEK) with Cloud KMS let you create, rotate, and disable keys directly within Google Cloud while retaining full control. Each encryption/decryption operation is logged to Cloud Audit Logs, providing detailed visibility into who used the key. You can set automatic rotation periods and restrict key usage via IAM, making it the natural choice to enforce the organization's data governance requirements.

Why this answer

Customer-Managed Encryption Keys (CMEK) via Cloud KMS allow customers to control and rotate keys and audit usage via Cloud Audit Logs.

46
Multi-Selecthard

A large enterprise wants to enforce the principle of least privilege for its cloud resources. The security team needs to audit all IAM policy changes across the organization and ensure that custom roles are used where predefined roles are too permissive. Which three Google Cloud services or features should be combined to achieve this? (Choose three.)

Select 3 answers
A.IAM Recommender
B.Cloud Key Management Service
C.Cloud Audit Logs
D.Organization Policies
E.Security Command Center
AnswersA, C, D

IAM Recommender leverages Google Cloud's usage data and machine learning to analyze each principal's actual permissions usage over the past 90 days, then generates role recommendations that remove unnecessary permissions and flags over-privileged accounts. It surfaces findings like role churn or unused roles, and supports applying the suggested least-privilege bindings directly or via Terraform, enabling continuous, data-driven remediation of excessive IAM permissions without disrupting existing workflows.

Why this answer

IAM Recommender (A) is correct because it analyzes actual resource usage and generates least-privilege recommendations, such as suggesting replacements for overly broad predefined roles with narrower custom roles. Cloud Audit Logs (C) is correct because Admin Activity audit logs record all IAM policy changes (SetIamPolicy calls) across the organization, providing the audit trail the security team requires. Organization Policies (D) is correct because constraints like iam.allowedPolicyMemberDomains and iam.disableServiceAccountKeyCreation enforce guardrails at the org/folder/project level, helping restrict permissions and enforce least privilege consistently.

Cloud Key Management Service (B) is wrong because it manages encryption keys, not IAM policy auditing or role scoping. Security Command Center (E) is wrong because it focuses on security posture, threat detection, and vulnerability findings rather than auditing IAM policy changes or recommending custom roles.

Exam trap

GCDL often tests the confusion between Security Command Center (posture/findings) and Cloud Audit Logs (the actual audit source) — candidates pick SCC for 'audit' questions when the precise answer is Audit Logs.

47
MCQmedium

A company wants to scan its Cloud Storage buckets for sensitive data like credit card numbers and social security numbers. Which service should they use?

A.Security Command Center
B.Sensitive Data Protection
C.reCAPTCHA Enterprise
D.Web Risk API
AnswerB

Sensitive Data Protection (formerly Cloud DLP) is the correct service because it provides native data discovery, classification, and de-identification. You can create inspect jobs that scan Cloud Storage buckets using predefined or custom infoTypes to detect sensitive data like credit card numbers, names, or addresses. It supports both full scans and time-based sampling, and integrates with other security services for remediation.

Why this answer

Sensitive Data Protection (formerly Cloud Data Loss Prevention) is designed to discover, classify, and protect sensitive data such as credit card numbers and social security numbers. It can scan Cloud Storage buckets, BigQuery tables, and other sources, using built-in infoTypes to detect and optionally de-identify sensitive information. This is the correct service for the requirement.

Exam trap

GCDL often tests the distinction between security services; candidates may confuse Sensitive Data Protection with Security Command Center, but only the former is designed for data discovery and classification.

How to eliminate wrong answers

Option A is wrong because Security Command Center is for security posture management and threat detection, not for scanning data for sensitive content. Option C is wrong because reCAPTCHA Enterprise protects websites from bots and fraud, not for data scanning. Option D is wrong because Web Risk API checks URLs against lists of unsafe web resources, not for sensitive data discovery.

48
Multi-Selectmedium

A company wants to store encryption keys for encrypting data at rest in Cloud Storage, and also needs to automatically rotate the keys every 30 days. Additionally, they require an audit log of key usage. Which TWO services should they use? (Choose two.)

Select 2 answers
A.Cloud HSM
B.Secret Manager
C.Cloud KMS
D.Cloud Audit Logs
E.Cloud Storage
AnswersC, D

Cloud KMS is the correct choice because it is the Google Cloud service purpose-built for creating, storing, and managing encryption keys. It supports symmetric and asymmetric keys, automatic rotation, and fine-grained IAM controls, and it integrates with Cloud Storage, BigQuery, Compute Engine, and other services for seamless data encryption. Keys are kept in a centralized, secure environment, and you can use them to encrypt and decrypt data without exposing the raw key material.

Why this answer

Cloud KMS (C) is correct because it is the Google Cloud service designed to create and manage cryptographic keys used for encrypting data at rest, including Cloud Storage objects via customer-managed encryption keys (CMEK), and it natively supports automatic key rotation schedules (e.g., every 30 days) through rotation periods on key versions. Cloud Audit Logs (D) is correct because it records administrative and data-access activity on Cloud KMS keys, such as Encrypt/Decrypt operations and key rotation events, providing the required audit trail of key usage. Cloud HSM (A) is not the right choice here because it is a hardware security module backing for Cloud KMS keys, not a separate service that provides rotation scheduling or audit logging by itself.

Secret Manager (B) stores secrets like passwords and API keys, not encryption keys for data-at-rest encryption with rotation. Cloud Storage (E) is the data store being encrypted, not a key management or auditing service.

Exam trap

GCDL often tests whether candidates confuse Secret Manager (secrets) with Cloud KMS (encryption keys) and whether they realize Cloud HSM is a key-protection level inside KMS rather than a standalone service that also provides audit logs.

49
MCQmedium

A company uses Cloud Storage to store sensitive data. They want to enforce that all objects uploaded are encrypted with a customer-managed key that they can rotate and control. What should they configure?

A.Use customer-supplied encryption keys (CSEK) for each upload.
B.Use Cloud HSM to generate a key and import it to Cloud KMS.
C.Set default encryption on the bucket to use a CMEK key from Cloud KMS.
D.Enable default encryption with a Google-managed key.
AnswerC

Setting default encryption on a bucket to use a CMEK key from Cloud KMS is the correct action because it applies a customer-managed key to all new objects automatically, giving you control over key lifecycle, rotation, and permissions. This configuration satisfies the requirement for persistent, customer-controlled encryption without forcing per-request key management, and it integrates with Cloud KMS for auditing and access management.

Why this answer

Customer-Managed Encryption Keys (CMEK) allow customers to manage their own keys using Cloud KMS.

50
Multi-Selecthard

An organization needs to ensure that data stored in Cloud Storage is encrypted at rest using keys that are rotated every 30 days. They also need to audit who accesses the keys and when. Which THREE services should they use? (Choose 3)

Select 3 answers
A.Cloud HSM
B.Cloud Audit Logs
C.Secret Manager
D.Cloud Storage
E.Cloud KMS
AnswersB, D, E

Cloud Audit Logs records both admin activity and data access events, including every call to decrypt data with a Cloud KMS key. By enabling Data Access audit logs for Cloud KMS, the organization gains a detailed trail of who accessed which key, when, and from what context, enabling anomaly detection and compliance audits. This visibility is essential for verifying that key rotation policies are enforced and that keys are not misused.

Why this answer

Cloud KMS (E) is correct because it provides Customer-Managed Encryption Keys (CMEK) that can be configured with a 30-day rotation schedule, satisfying the key rotation requirement for data at rest. Cloud Storage (D) is correct because it is the service holding the data and supports CMEK encryption, allowing objects to be encrypted with keys managed in Cloud KMS. Cloud Audit Logs (B) is correct because it records Admin Activity and Data Access audit logs for Cloud KMS, enabling the organization to audit who accessed keys and when.

Cloud HSM (A) is not required here since the scenario asks for key rotation and auditing, not hardware-backed key protection, and Cloud HSM is a key protection level rather than a separate auditing or rotation service. Secret Manager (C) is not appropriate because it stores secrets such as API keys and passwords, not encryption keys for Cloud Storage data at rest.

Exam trap

The trap here is confusing Cloud HSM with Cloud KMS — candidates often select Cloud HSM thinking it's required for key rotation, when in fact Cloud HSM is just a protection level option within KMS and not a separate service needed for the stated requirements.

51
MCQmedium

A company wants to ensure that only API calls from within a specific VPC can access their Cloud Storage buckets, even if the bucket is public. Which Google Cloud feature should they use?

A.VPC firewall rules
B.Cloud Armor
C.IAM conditions
D.VPC Service Controls
AnswerD

VPC Service Controls create security perimeters around Google Cloud services like Cloud Storage, restricting which networks, IP ranges, and identities can invoke their APIs. It enforces a context-aware boundary at the service level, preventing data exfiltration and unauthorized access even if an IAM policy is misconfigured. When the goal is 'only API calls from within', VPC Service Controls are the correct mechanism because they block access from outside the defined perimeter regardless of IAM permissions.

Why this answer

VPC Service Controls create a service perimeter that restricts access to Google Cloud APIs (including Cloud Storage) so that requests originating outside the perimeter are denied even if the bucket is public or IAM grants access. This is the only feature that enforces a network-origin boundary around managed services like Cloud Storage.

Exam trap

GCDL often tests the misconception that IAM alone controls all access to Cloud Storage, but VPC Service Controls is the only feature that enforces a network-origin boundary for managed services.

How to eliminate wrong answers

Option A is wrong because VPC firewall rules only filter traffic to and from Compute Engine VMs and cannot govern access to managed services like Cloud Storage. Option B is wrong because Cloud Armor protects HTTP(S) load-balanced applications against L7 attacks, not API access to storage buckets. Option C is wrong because IAM conditions refine who can access a resource based on attributes but do not enforce a VPC-origin boundary, so a public bucket would still be reachable from outside.

52
MCQhard

A company has a requirement to rotate encryption keys every 90 days. They are using Cloud KMS to manage keys for Cloud Storage. What is the correct way to achieve key rotation with minimal impact to existing encrypted objects?

A.Manually rotate the key every 90 days by generating a new key version.
B.Enable automatic rotation on the key with a 90-day period.
C.Use Cloud HSM to generate a new key and update the bucket default encryption.
D.Create a new key and re-encrypt all existing objects using the new key.
AnswerB

Enabling automatic rotation with a 90-day period configures Cloud KMS to create a new primary key version every 90 days. All future Cloud Storage objects encrypted with this CMEK will use the new primary version, while older objects remain readable via their original key versions, which stay enabled for decryption. This satisfies the rotation requirement without forcing a rewrite or copy of existing data, since each key version is cryptographic material that can be retired on a future schedule.

Why this answer

Cloud KMS supports automatic rotation based on a schedule. When a key is rotated, a new version is created, and new data is encrypted with the new version while old data remains decryptable with the old version.

53
MCQeasy

A company needs to audit all actions performed by administrators on their Google Cloud project, including who accessed what resource and when. Which logging feature should they enable?

A.Cloud Monitoring
B.Access Transparency
C.VPC Flow Logs
D.Cloud Audit Logs
AnswerD

Cloud Audit Logs are the native audit trail for Google Cloud, capturing Admin Activity, Data Access, and System Event records that answer who performed an action, on what resource, when, and from where. Admin Activity logs are enabled by default and include all control-plane API calls, such as creating a project, updating IAM policies, or deleting a service — exactly the 'all actions performed by administrators' requirement. These logs are immutable and can be exported to Cloud Storage or BigQuery for long-term retention and compliance analysis.

Why this answer

Cloud Audit Logs record all administrative and data access activities in Google Cloud, including who did what, where, and when. They are specifically designed for auditing and compliance, capturing Admin Activity, Data Access, System Event, and Policy Denied logs. Enabling Cloud Audit Logs provides the detailed trail needed to audit administrator actions across the project.

Exam trap

GCDL often tests the confusion between monitoring and auditing; candidates may pick Cloud Monitoring because it sounds like it tracks activity, but it does not provide the granular audit trail of Cloud Audit Logs.

How to eliminate wrong answers

Option A is wrong because Cloud Monitoring is for collecting metrics and creating dashboards/alerts, not for auditing user actions. Option B is wrong because Access Transparency logs are for Google personnel access, not customer administrator actions. Option C is wrong because VPC Flow Logs capture network traffic metadata for subnets, not user activity or resource access.

54
MCQmedium

An organization wants to detect and respond to threats across their GCP environment, including finding misconfigurations, vulnerabilities, and potential malicious activity. Which service provides a unified view of security findings?

A.Mandiant
B.Chronicle
C.Cloud Audit Logs
D.Security Command Center
AnswerD

Security Command Center is Google Cloud's built-in security and risk management platform that automatically discovers and aggregates security findings from over 100 integrated services, including Event Threat Detection, Container Threat Detection, and VPC Service Controls. It provides a single-pane-of-glass dashboard for vulnerabilities, threat detections, and policy misconfigurations across the organization, with APIs for custom integrations and automated remediation. This makes it the appropriate tool for detecting and responding to threats across GCP.

Why this answer

Security Command Center is a central dashboard for security findings including vulnerabilities, misconfigurations, and threats.

55
MCQeasy

Which Google Cloud service provides threat intelligence and incident response capabilities, including access to Mandiant expertise?

A.Security Command Center
B.Chronicle
C.Mandiant
D.Cloud IDS
AnswerC

Mandiant is Google Cloud's front-line threat intelligence and incident response unit, offering curated cyber threat intelligence, threat actor research, and on-demand incident response consulting. Its services include digital forensics, compromise assessments, and strategic intelligence, making it the direct match for this question's description of providing threat intelligence and incident response.

Why this answer

Mandiant is Google Cloud's threat intelligence and incident response service. Security Command Center provides vulnerability scanning but not Mandiant expertise. Chronicle is a SIEM.

Cloud IDS is network intrusion detection.

56
MCQmedium

A company wants to detect and prioritize vulnerabilities in their Compute Engine VMs and GKE clusters. They also need a centralized view of security findings across their organization. Which service should they use?

A.Cloud IDS
B.Web Risk API
C.Security Command Center
D.Chronicle
AnswerC

Security Command Center (SCC) is Google Cloud's centralized security and risk management platform, and it provides built-in vulnerability scanning for Compute Engine VMs and GKE container images. It aggregates findings from native Google Cloud services and partner security tools into a single view, then uses severity scores, exposure data, and attack path simulation to help security teams prioritize which vulnerabilities to remediate first. This directly matches the requirement to detect and prioritize vulnerabilities across a cloud environment.

Why this answer

Security Command Center (SCC) is the central vulnerability and threat detection service for GCP. It finds misconfigurations, vulnerabilities, and threats across services like Compute Engine and GKE, and provides a dashboard for prioritization. Chronicle is a SIEM for log analysis, not vulnerability scanning.

Cloud IDS is for network intrusion detection. Web Risk API is for checking URLs against threat lists.

57
MCQeasy

Which layer of Google's defence-in-depth security model includes the use of TLS for data in transit?

A.Data security
B.Operational security
C.Deployment security
D.Physical security
AnswerA

Data security is the correct layer because it directly protects the confidentiality and integrity of the data itself through encryption. Google uses TLS for data in transit and AES-256 (or stronger) for data at rest, managed via Cloud KMS. This layer also includes key management, data classification, and DLP policies.

Why this answer

Google's defence-in-depth model organizes controls into layers including data security, operational security, deployment security, and physical security. TLS (Transport Layer Security) protects data in transit by encrypting communications between clients and servers, which falls squarely under the data security layer — the layer responsible for protecting data at rest, in transit, and in use. TLS is a data-protection control, not an operational, deployment, or physical control.

Exam trap

GCDL often tests layer classification — candidates may associate TLS with 'operational security' because it's an operational control, but Google's model classifies transport encryption under data security.

How to eliminate wrong answers

Option B is wrong because operational security covers processes like incident response, monitoring, access reviews, and personnel security — it governs how systems are run, not how data is cryptographically protected in transit. Option C is wrong because deployment security focuses on secure configuration, hardening, and release pipelines (e.g., secure CI/CD, infrastructure as code), not on transport encryption. Option D is wrong because physical security addresses data center access controls, surveillance, and environmental protections — it has no bearing on TLS, which is a logical/network-layer cryptographic protocol.

58
Multi-Selectmedium

A security team needs to detect and respond to threats across their Google Cloud environment. Which THREE services should they use together? (Choose 3)

Select 3 answers
A.Mandiant
B.Cloud Logging
C.Cloud Armor
D.Security Command Center
E.Chronicle
AnswersA, D, E

Mandiant is Google Cloud's managed threat detection and response service, combining front-line expertise from Mandiant's incident response consultants with automated threat hunting and forensic capabilities. It is purpose-built for investigating advanced persistent threats, containing breaches, and performing root cause analysis, unlike logging or network filtering services. This makes Mandiant the direct match for a security team's requirement to detect and respond to sophisticated threats.

Why this answer

Security Command Center for vulnerability scanning and threat detection, Chronicle for SIEM and incident response, and Mandiant for threat intelligence and forensic investigation.

59
MCQeasy

A company wants to enforce the principle of least privilege by granting a service account only the permissions necessary to publish messages to a specific Pub/Sub topic. Which IAM approach should they use?

A.Grant the roles/editor role to the service account at the project level
B.Grant the roles/pubsub.subscriber role to the service account at the topic level
C.Grant the roles/pubsub.publisher role to the service account at the topic level
D.Grant the roles/pubsub.publisher role to the service account at the project level
AnswerC

The roles/pubsub.publisher role contains exactly the pubsub.topics.publish permission required to send messages to a topic. Attaching this role as a binding on the specific topic resource restricts the grant to that single topic, so the service account cannot publish to any other topics in the project. This is the least-privilege approach because it grants the minimal permission on the narrowest resource scope that still fulfills the requirement.

Why this answer

To enforce least privilege for a service account that only needs to publish to a specific Pub/Sub topic, you should grant the roles/pubsub.publisher role at the topic level. This scopes the permission to that single topic, preventing the service account from publishing to other topics or accessing other resources. This is the most granular and least-privilege approach.

Exam trap

The trap is choosing project-level grants or basic roles for convenience; candidates must recognize that least privilege requires the narrowest scope, which is the topic level for Pub/Sub publishing.

How to eliminate wrong answers

Option A is wrong because roles/editor is a basic role that grants broad permissions across the project, violating least privilege. Option B is wrong because roles/pubsub.subscriber grants permission to consume messages, not publish, so it does not meet the requirement. Option D is wrong because granting roles/pubsub.publisher at the project level allows publishing to all topics in the project, which is broader than necessary and violates least privilege.

60
MCQmedium

An engineer needs to store database passwords and API keys securely. The secrets must be encrypted at rest with a customer-managed key and automatically rotated every 90 days. Which service should they use?

A.Cloud Secret Manager
B.Cloud KMS
C.Datastore
D.Cloud Storage with encryption
AnswerA

Cloud Secret Manager is the native Google Cloud service designed specifically to store and manage API keys, passwords, and other sensitive strings. It provides centralized IAM-based access control, automatic secret versioning, configurable rotation policies, and full audit logging via Cloud Audit Logs. Secrets can be encrypted with customer-managed keys (CMEK) using Cloud KMS, and the service integrates with Compute Engine and GKE for runtime secret injection. This combination of fine-grained access, lifecycle management, and integration makes it the correct and secure choice.

Why this answer

Cloud Secret Manager is purpose-built for storing, accessing, and rotating secrets such as database passwords and API keys, and it supports customer-managed encryption keys (CMEK) plus automatic rotation schedules. It provides versioning, audit logging, and fine-grained IAM access, which are exactly the requirements stated. Cloud KMS, by contrast, manages encryption keys themselves rather than the secrets they protect.

Exam trap

GCDL often tests the confusion between Cloud KMS (manages encryption keys) and Cloud Secret Manager (stores and rotates secrets), tricking candidates who see 'customer-managed key' and immediately pick KMS.

How to eliminate wrong answers

Option B is wrong because Cloud KMS is a key management service for creating and managing cryptographic keys; it does not store application secrets like passwords and API keys, nor does it provide secret versioning or rotation of the secret value itself. Option C is wrong because Datastore is a NoSQL document database for application data, not a secrets vault, and it lacks native secret rotation and CMEK-based secret management semantics. Option D is wrong because Cloud Storage with encryption stores objects and encrypts them at rest, but it does not provide secret versioning, automatic rotation, or the access patterns and audit controls expected of a secrets manager.

61
MCQmedium

An organization needs to protect a web application hosted on Google Cloud from DDoS attacks and SQL injection attempts. They want a managed security service that integrates with Cloud Load Balancing. Which service should they use?

A.Cloud IDS
B.reCAPTCHA Enterprise
C.Cloud Armor
D.VPC firewall rules
AnswerC

Cloud Armor is the correct choice because it combines distributed denial-of-service (DDoS) protection with a web application firewall (WAF) at the Google Cloud edge. It offers preconfigured rules for the OWASP Top 10, including SQL injection (SQLi) and cross-site scripting (XSS), and can enforce these rules inline as traffic passes through Cloud Load Balancing. Cloud Armor also provides adaptive protection, rate limiting, and edge security policies to mitigate volumetric DDoS attacks. This dual capability directly addresses both the DDoS and SQL injection threats described in the scenario.

Why this answer

Cloud Armor is Google's managed DDoS protection and Web Application Firewall (WAF) service. It integrates with Cloud Load Balancing to filter traffic based on IP, geo, and HTTP headers, and includes preconfigured rules (e.g., OWASP) to block SQL injection. Cloud IDS is for network intrusion detection. reCAPTCHA Enterprise is for bot detection.

VPC firewall rules are for network-level access control.

62
MCQeasy

Which principle states that a user should be granted only the permissions necessary to perform their job functions?

A.Principle of least privilege
B.Defence in depth
C.Separation of duties
D.Zero trust
AnswerA

Principle of least privilege is the security doctrine mandating that any user, process, or system component be granted only the minimum permissions essential to perform its prescribed functions. By restricting privileges to the exact scope of job duties, it minimizes the attack surface and contains the blast radius of a compromised credential, preventing lateral movement or unauthorized data access. This principle is foundational to access control and directly answers the question about how much permission a user should receive.

Why this answer

The principle of least privilege is the security concept of granting minimal required permissions. Separation of duties divides tasks among multiple people. Zero trust is a broader security model.

Defence in depth is layered security.

63
MCQhard

A security team wants to be alerted when Google Cloud personnel access their customer data. They need logs that show the reason for access and what data was accessed. Which service provides this?

A.Cloud Audit Logs
B.Access Transparency
C.Security Command Center
D.Cloud Logging
AnswerB

Access Transparency is the correct service because it provides logs of actions taken by Google personnel (e.g., Cloud Support or Site Reliability Engineers) on the content of your data and the metadata of your resources. It uses the same audit log framework but specifically surfaces events where Google staff access customer data, and it distinguishes these from customer-initiated API calls. Administrators can route these logs to Cloud Logging or Pub/Sub to set up alerts, giving the security team the exact visibility they need into human access by Google employees.

Why this answer

Access Transparency logs provide detailed records of Google personnel access to customer data, including reason and scope.

64
MCQmedium

A company wants to replace its VPN-based remote access with a zero-trust solution that verifies user identity and device health before granting access to internal applications. Which Google Cloud service should they use?

A.BeyondCorp Enterprise
B.Identity-Aware Proxy (IAP)
C.Cloud VPN
D.Cloud Identity
AnswerA

BeyondCorp Enterprise is Google Cloud's complete zero-trust access solution, designed to replace a traditional VPN. It enforces access decisions based on user identity, device security posture, and context, rather than granting broad network-level entry. By combining Identity-Aware Proxy, endpoint verification, and adaptive policies into a single platform, it protects applications without exposing the entire network, which is why it is the correct replacement for VPN-based remote access.

Why this answer

BeyondCorp Enterprise is Google Cloud's zero-trust solution that provides identity and context-aware access to internal applications. It verifies user identity and device health before granting access, aligning with zero-trust principles. It includes IAP but offers broader capabilities like device trust and continuous validation.

Exam trap

The exam often tests the difference between IAP and BeyondCorp Enterprise: IAP is a component, but BeyondCorp Enterprise is the comprehensive zero-trust solution that includes device trust.

How to eliminate wrong answers

Option B is wrong because Identity-Aware Proxy (IAP) is a component of BeyondCorp Enterprise that provides identity-based access, but it does not by itself verify device health; BeyondCorp Enterprise encompasses device trust. Option C is wrong because Cloud VPN is a traditional VPN solution, not zero-trust. Option D is wrong because Cloud Identity is an identity management service, not a zero-trust access solution.

65
MCQeasy

A small startup is migrating its web application to Google Cloud. The security lead wants to understand how Google protects the underlying infrastructure, including physical data centers, hardware, and the network, while the startup remains responsible for securing its own application code and data. Which security model describes this division of responsibilities?

A.Least privilege model
B.Defense in depth model
C.Shared responsibility model
D.Zero Trust security model
AnswerC

In the shared responsibility model, Google secures the infrastructure—physical data centers, hardware, networking, and the hypervisor—while the customer secures what they put in the cloud, such as application code, data, and access management. This exactly matches the startup's need to understand which layers Google handles and which remain their own responsibility.

Why this answer

Google Cloud operates on a shared responsibility model: Google is responsible for the security of the cloud, including physical facilities, hardware, and the network, while customers are responsible for security in the cloud, such as their data, applications, and identity configuration. This framework clarifies that the startup must secure its own code and access controls even though Google protects the underlying platform.

Exam trap

The trap here is confusing Zero Trust, a security design philosophy, with the shared responsibility model, which defines the provider-customer security boundary.

66
MCQhard

A company wants to ensure that its Google Cloud resources can only be accessed from within a specific VPC network, preventing data exfiltration to the internet. They need to enforce this for Cloud Storage and BigQuery APIs. Which service should they use?

A.Cloud NAT
B.VPC Service Controls
C.VPC Firewall Rules
D.Private Google Access
AnswerB

VPC Service Controls define security perimeters around Google Cloud resources such as Cloud Storage and BigQuery, using context-aware access conditions (identity, IP, device) to block data exfiltration. It works at the API layer, independent of VPC network boundaries, and is the only option here that actively restricts data movement outside a defined perimeter.

Why this answer

VPC Service Controls create perimeters around managed services to restrict access to only allowed VPC networks.

67
MCQhard

An organization has a compliance requirement to run workloads in specific geographic regions only. They want to prevent any resources from being created outside those regions. Which Google Cloud control should they use?

A.Cloud Audit Logs
B.Organization policy with location restriction
C.VPC Service Controls
D.IAM conditions with resource location
AnswerB

The organization policy constraint `gcp.resourceLocations` is the correct mechanism because it actively enforces geographic compliance at resource creation time. By defining an allowlist of permitted locations at the organization, folder, or project level, Google Cloud blocks any attempt to create a resource outside those regions. This is a centralized, context-aware enforcement that works across supported services, making it the native, authoritative way to guarantee workloads run only in mandated locations.

Why this answer

Organization policies with location restrictions allow administrators to set constraints on where resources can be created. The constraint `gcp.resourceLocations` can be used to restrict allowed regions. IAM roles control who can create resources, but not where.

VPC Service Controls restrict data access, not resource creation location. Cloud Audit Logs only record actions.

68
MCQeasy

Which Google Cloud service helps identify and classify sensitive data such as credit card numbers or personal health information in Cloud Storage and BigQuery?

A.Security Command Center
B.Data Loss Prevention (DLP) API
C.Cloud Data Catalog
D.Access Transparency
AnswerB

The Data Loss Prevention (DLP) API is specifically designed to inspect, classify, and protect sensitive data by scanning content for predefined infoTypes (e.g., names, credit card numbers, national ID numbers) and custom patterns. It can analyze text, structured data, and even images via OCR, then classify findings and optionally apply de-identification transformations like redaction or tokenization. This makes it the correct service for identifying and classifying sensitive data.

Why this answer

The Data Loss Prevention (DLP) API is specifically designed to discover, classify, and protect sensitive data such as credit card numbers, personal health information, and other PII. It can scan Cloud Storage buckets and BigQuery tables, using built-in infoType detectors to identify and classify sensitive content. This makes it the correct service for the described requirement.

Exam trap

The trap is confusing Data Catalog (metadata) with DLP (content classification); candidates often pick Data Catalog because it sounds like it catalogs data, but it does not inspect content for sensitivity.

How to eliminate wrong answers

Option A is wrong because Security Command Center is a security posture and threat management service; it does not classify sensitive data in storage or BigQuery. Option C is wrong because Cloud Data Catalog is a metadata management service that helps discover and tag data assets, but it does not perform sensitive data classification or DLP scanning. Option D is wrong because Access Transparency provides logs of Google personnel access to your data, not data classification.

Ready to test yourself?

Try a timed practice session using only Cdl Google Cloud Security questions.