View Full Google Professional Cloud Security Engineer Exam Dumps and Practice Test Dumps.
Question 261
An organization wants to prevent a specific principal from accessing a sensitive Google Cloud resource, even if an IAM allow policy grants that principal access. Which IAM feature should be used?
- IAM Recommender
- IAM deny policy
- Cloud Asset Inventory
- Service account impersonation
Correct Answer: 2
Explanation
IAM deny policies provide an explicit mechanism for preventing access to specified permissions or principals. Unlike allow policies, which grant permissions, deny policies establish restrictions that take precedence over applicable allow policies. This makes them useful when an organization needs to enforce security requirements centrally, such as preventing access to sensitive resources or restricting particular identities. Deny policies can be applied at supported levels of the resource hierarchy so that restrictions can be inherited. Security teams should carefully define deny rules because they can override otherwise valid permissions and potentially disrupt workloads if configured incorrectly.
Question 262
A security administrator wants to restrict which resources a principal can access, even when the principal has broad IAM permissions. Which capability is designed specifically for defining a maximum resource boundary for a principal?
- Principal Access Boundary
- Cloud Armor
- VPC firewall rule
- Organization Policy
Correct Answer: 1
Explanation
Principal Access Boundary policies are designed to define the maximum set of resources that a principal can access. They can help limit the scope of identities that otherwise have broad permissions. This is particularly useful in large organizations where administrators need to establish guardrails around identities without necessarily removing all their existing IAM permissions. A Principal Access Boundary does not itself grant permissions. Instead, it limits where the principal can exercise permissions that are otherwise granted through IAM allow policies. This separation between granting access and constraining access helps organizations implement stronger identity-based security controls.
Question 263
A company wants an IAM role to allow access only when a request originates from a particular IP range. Which IAM capability should the security team configure?
- IAM Recommender
- IAM deny policy
- IAM Conditions
- Organization Policy
Correct Answer: 3
Explanation
IAM Conditions allow organizations to make access decisions based on contextual attributes. Depending on the supported condition attributes and resource type, policies can evaluate information such as request context, resource attributes, or time. This provides more granular control than granting unconditional access through a standard IAM binding. For example, an organization can use conditions to restrict access during specific time periods or under defined contextual circumstances. IAM Conditions are evaluated as part of authorization and should be tested carefully before deployment. They are especially useful for implementing contextual access requirements while maintaining centralized IAM management.
Question 264
A development team needs a custom IAM role that contains only the permissions required by its application. What is the primary advantage of creating a custom IAM role?
- It automatically encrypts application data
- It eliminates the need for IAM policies
- It prevents all service account use
- It provides more precise permission control
Correct Answer: 4
Explanation
Custom IAM roles allow administrators to define a specific collection of permissions rather than assigning a broad predefined role. This can support the principle of least privilege by providing applications or users only the permissions they actually require. Custom roles are useful when predefined roles contain more permissions than an organization wants to grant. However, administrators must maintain custom roles as Google Cloud services evolve and new permissions become available. Organizations should also periodically review whether permissions remain necessary. Properly designed custom roles can reduce unnecessary privileges while giving security teams greater control over authorization boundaries.
Question 265
A workload needs to access another Google Cloud service using a service account without storing a long-lived service account key. Which approach should be preferred?
- Service account impersonation
- Downloading a JSON key
- Storing the key in Cloud Storage
- Embedding the key in application code
Correct Answer: 1
Explanation
Service account impersonation allows an authorized identity to obtain short-lived credentials for acting as a service account. This approach avoids distributing long-lived service account keys, which can be difficult to protect, rotate, and revoke. The requesting principal must have appropriate permissions to impersonate the target service account. Short-lived credentials reduce the exposure associated with credential theft because they have limited lifetimes. Security teams should also grant impersonation permissions only to trusted principals and monitor their use. For many workloads, using impersonation or other identity federation mechanisms is preferable to creating and distributing persistent service account keys.
Question 266
Which IAM permission is commonly required for a principal that needs to impersonate a service account?
- storage.objects.get
- iam.serviceAccounts.getAccessToken
- compute.instances.create
- logging.logEntries.create
Correct Answer: 2
Explanation
The iam.serviceAccounts.getAccessToken permission is associated with obtaining access tokens when impersonating a service account. In practice, the Service Account Token Creator role commonly grants this permission. A security administrator should avoid granting broad service account administration permissions when the workload only needs impersonation. Limiting who can generate short-lived credentials for a service account reduces the risk of unauthorized use of that identity. Organizations should also monitor service account impersonation and carefully review which users, groups, and workloads are permitted to act as highly privileged service accounts.
Question 267
A security team wants to identify excessive IAM permissions and receive recommendations for reducing unnecessary access. Which Google Cloud capability should they use?
- Cloud DNS
- Cloud NAT
- IAM Recommender
- Certificate Authority Service
Correct Answer: 3
Explanation
IAM Recommender can provide recommendations related to IAM permissions based on observed usage and other policy information. It can help identify roles that may provide more access than a principal needs and suggest less-privileged alternatives where supported. Security teams can use these recommendations as part of periodic access reviews. Recommendations should be validated before implementation because observed usage does not always represent every legitimate future requirement. Removing permissions without understanding application dependencies can cause outages. IAM Recommender is therefore best used as an input to a controlled least-privilege review process rather than as an automatic replacement for security analysis.
Question 268
An organization requires cryptographic keys to be protected by dedicated hardware-backed security modules. Which Cloud KMS protection level should be selected?
- SOFTWARE
- EXTERNAL
- HSM
- RAW
Correct Answer: 3
Explanation
The HSM protection level in Cloud KMS uses hardware security modules to protect cryptographic key material. Hardware-backed key protection can be appropriate when regulatory requirements or organizational security policies require stronger physical protection of keys. HSM-backed keys can be used for supported cryptographic operations without exposing the underlying key material to applications. Organizations should select the appropriate protection level based on compliance, threat models, performance requirements, and operational needs. Using HSM protection does not eliminate the need for proper IAM controls, auditing, key lifecycle management, and application security. Those controls remain important components of a complete key-management strategy.
Question 269
A company wants to use cryptographic keys that remain under its control outside Google Cloud while integrating them with supported Google Cloud services. Which Cloud KMS capability is designed for this requirement?
- Cloud NAT
- External Key Manager
- IAM Recommender
- Cloud Armor
Correct Answer: 2
Explanation
Cloud External Key Manager, or Cloud EKM, allows supported Google Cloud services to use cryptographic keys managed through an external key management system. This can help organizations satisfy requirements where control of cryptographic keys must remain outside Google Cloud. The approach can provide additional control over key availability and lifecycle while enabling integration with supported Google Cloud services. Organizations should carefully evaluate supported services, latency, availability, and operational dependencies before adopting externally managed keys. External key management is particularly relevant for environments with strict regulatory or organizational requirements around separation of key ownership and cloud service infrastructure.
Question 270
A security administrator wants Cloud KMS cryptographic keys to automatically generate new key versions on a recurring schedule. Which feature should be configured?
- Key rotation
- IAM Conditions
- VPC Service Controls
- Access Transparency
Correct Answer: 1
Explanation
Cloud KMS supports automatic key rotation for eligible cryptographic keys. When rotation is configured, Cloud KMS can create new key versions according to the defined rotation schedule. Existing encrypted data generally remains associated with the key version that originally encrypted it, while new encryption operations can use the primary key version. Rotation helps reduce the amount of data protected by a single key version over time and supports cryptographic key lifecycle management. However, rotation does not replace proper access control, key destruction policies, monitoring, or incident-response procedures. Organizations should establish rotation schedules according to their security and compliance requirements.
Question 271
A company needs to issue and manage private TLS certificates for internal applications and services. Which Google Cloud service is designed for this purpose?
- Cloud NAT
- Certificate Authority Service
- Cloud Scheduler
- Cloud Trace
Correct Answer: 2
Explanation
Certificate Authority Service is a managed Google Cloud service for deploying and managing private certificate authorities. It can be used to issue private certificates for applications, services, devices, and other internal resources. Centralizing certificate issuance helps organizations establish consistent trust hierarchies and certificate lifecycle processes. Security teams can configure certificate authorities according to organizational requirements and integrate certificate issuance with supported workloads. Private certificate management is especially useful for internal TLS and mutual TLS deployments where publicly trusted certificates are not appropriate. Proper certificate renewal, revocation, access control, and CA protection should remain part of the overall certificate-management strategy.
Question 272
An organization wants to use DNSSEC to provide authentication of DNS responses for its Google Cloud DNS zones. Which configuration should be enabled?
- Cloud Armor security policy
- DNSSEC
- VPC Flow Logs
- Private Service Connect
Correct Answer: 2
Explanation
DNSSEC adds cryptographic authentication to DNS responses, helping clients verify that DNS information has not been altered during resolution. In Cloud DNS, DNSSEC can be enabled for supported managed zones. It uses cryptographic signatures and a chain of trust to allow validating resolvers to verify DNS data. DNSSEC helps address threats such as DNS response manipulation, although it does not encrypt DNS queries or provide confidentiality. Administrators should correctly configure the DNSSEC chain of trust and understand registrar requirements when securing public DNS domains. DNSSEC should therefore be considered an integrity and authenticity control rather than an encryption mechanism.
Question 273
A BigQuery dataset contains sensitive customer information. The security team wants to restrict access to individual rows based on the identity or attributes of the querying user. Which feature should be considered?
- Row-level access policies
- Cloud NAT
- Cloud Armor
- VPC firewall rules
Correct Answer: 1
Explanation
BigQuery row-level security allows organizations to control which rows a user or group can access within a table. This is useful when multiple users need to query the same dataset but should see different subsets of information. Row-level access policies can enforce data segmentation without requiring separate physical tables for every user group. Organizations should combine row-level security with IAM, dataset permissions, column-level controls, and appropriate auditing. Careful policy design is important because overly broad access policies can expose sensitive records. Testing with representative identities helps verify that users can access only the rows intended for them.
Question 274
A data platform team needs to restrict access to sensitive BigQuery columns based on data classification. Which capability can be used to apply fine-grained column access controls?
- Cloud NAT
- Policy tags
- Cloud Router
- Cloud Armor
Correct Answer: 2
Explanation
Policy tags can be used with BigQuery column-level security to classify sensitive data and control access to columns associated with those classifications. This approach allows organizations to apply consistent access policies to sensitive fields such as personally identifiable information or financial data. Users may be allowed to query a table while being restricted from viewing protected columns. Policy tags can therefore support data governance and fine-grained authorization. Organizations should combine them with appropriate IAM permissions and data discovery processes. Access policies should also be reviewed regularly to ensure that classifications and authorized user groups remain accurate as datasets and organizational requirements change.
Question 275
A regulated organization needs controls that help keep workloads within a specific compliance boundary and restrict supported Google Cloud services and configurations. Which service is intended for this purpose?
- Assured Workloads
- Cloud NAT
- Cloud CDN
- Cloud Trace
Correct Answer: 1
Explanation
Assured Workloads is designed to help organizations create controlled environments aligned with certain regulatory and compliance requirements. It can provide organizational controls around supported Google Cloud services, data locations, personnel access requirements, and other compliance-related configurations depending on the selected workload environment. Assured Workloads does not replace application security or general IAM controls. Instead, it provides a framework and guardrails for deploying workloads that must satisfy defined compliance requirements. Organizations should select the appropriate compliance regime and verify the specific controls and services supported by that configuration before deploying regulated workloads.
Question 276
A security team wants visibility into certain Google access operations performed by Google personnel for customer support or service purposes. Which Google Cloud feature can provide relevant logs for eligible services?
- Access Transparency
- Cloud NAT
- VPC firewall logging
- Cloud DNS
Correct Answer: 1
Explanation
Access Transparency provides logs describing actions taken by Google personnel when they access customer content in supported circumstances and services. These logs can help organizations maintain visibility and accountability for provider-side access. Access Transparency is different from standard Cloud Audit Logs, which primarily record activity associated with customer identities and resources. Organizations with regulatory or internal governance requirements can use Access Transparency information as part of their auditing and monitoring processes. Availability and coverage depend on the relevant Google Cloud service and configuration, so organizations should verify supported services when designing compliance controls.
Question 277
An organization requires certain Google personnel actions to receive explicit customer approval before access occurs. Which Google Cloud feature is designed for this control?
- Cloud Logging
- Access Approval
- Cloud Armor
- Cloud Scheduler
Correct Answer: 2
Explanation
Access Approval allows organizations to require explicit approval before eligible Google personnel can access customer content. This provides an additional governance layer for organizations with strict compliance, privacy, or operational requirements. Approval workflows can help ensure that customer-controlled authorization is involved in certain provider access scenarios. Access Approval should be distinguished from Access Transparency: Access Approval controls whether eligible access requires approval, while Access Transparency provides logs about eligible Google personnel access. Together, these capabilities can support stronger governance over provider access. Organizations should review service coverage and configure authorized approvers according to their operational and compliance requirements.
Question 278
A security administrator wants to apply firewall rules consistently across multiple projects in an organization hierarchy. Which Google Cloud feature is appropriate?
- Local VM firewall rules only
- Hierarchical firewall policies
- Cloud Storage IAM
- BigQuery row-level security
Correct Answer: 2
Explanation
Hierarchical firewall policies allow organizations to define network security controls at higher levels of the Google Cloud resource hierarchy. Policies can be associated with organizations or folders and can provide centralized firewall governance across multiple projects. This is useful for enforcing common security requirements without manually configuring identical rules in every project. More specific policies and network-level controls can still be used where appropriate, subject to Google Cloud firewall policy evaluation behavior. Centralized firewall management can improve consistency and reduce configuration drift, but administrators should test rule interactions carefully to avoid unintentionally blocking legitimate application traffic.
Question 279
A company operates internet-facing applications and wants to protect them against volumetric and application-layer attacks using Google Cloud’s managed edge security capabilities. Which service should be used?
- Cloud Armor
- Cloud SQL
- Cloud Composer
- Cloud Storage Transfer Service
Correct Answer: 1
Explanation
Cloud Armor provides Google Cloud edge security capabilities for protecting applications and services from various network and application-layer threats. Security policies can be used to define rules that allow, deny, or otherwise control traffic based on supported request attributes. Cloud Armor can also provide protections such as rate limiting and support integration with Google Cloud load balancing architectures. Organizations should combine Cloud Armor with secure application design, appropriate TLS configuration, identity controls, and monitoring. A web application firewall and edge protection service cannot compensate for vulnerabilities within the application itself, so defense in depth remains important.
Question 280
A security team needs to detect network-based threats within a VPC by analyzing network traffic for suspicious activity. Which Google Cloud service is designed for network intrusion detection?
- Cloud NAT
- Cloud IDS
- Cloud DNS
- Cloud Scheduler
Correct Answer: 2
Explanation
Cloud Intrusion Detection System, or Cloud IDS, is designed to help detect suspicious network activity by analyzing traffic for known threats and attack patterns. It provides network-based detection capabilities that can complement other security controls such as firewall policies, Security Command Center findings, and application-level protections. Cloud IDS is intended for detection rather than replacing preventive controls. Security teams should establish appropriate monitoring, alerting, investigation, and response processes around detected events. Network intrusion detection is most effective when combined with layered controls, centralized logging, vulnerability management, identity security, and well-defined incident-response procedures.