Google Professional Cloud Security Engineer Practice Test Questions and Exam Dumps Part17 Q321-340

View Full Google Professional Cloud Security Engineer Exam Dumps and Practice Test Dumps.

 

Question 321

A security team wants to prevent users from creating resources in Google Cloud regions that are not approved by the organization. Which control should be used?

  1. VPC firewall policy
  2. Organization Policy
  3. Cloud Armor
  4. IAM Recommender

Correct Answer: 2

Explanation

Organization Policy can enforce centralized governance requirements across the Google Cloud resource hierarchy. Location-based constraints can help organizations restrict where certain resources are created, supporting regulatory, data residency, and operational requirements. Applying the policy at the organization or folder level allows security teams to establish consistent controls across many projects. Administrators should identify legitimate regional requirements and create narrowly scoped exceptions when necessary. Organization Policy is a preventive governance mechanism, but it should be combined with IAM, monitoring, and other security controls. Regular policy reviews are important because business requirements and cloud architectures can change over time.

Question 322

A company wants to make sure that only approved identities can access a highly sensitive project. Which IAM practice should be prioritized?

  1. Grant broad predefined roles to all employees
  2. Use least-privilege IAM roles
  3. Share one service account among all users
  4. Disable audit logging

Correct Answer: 2

Explanation

Least-privilege IAM means granting identities only the permissions they require to perform their authorized tasks. For a sensitive project, administrators should carefully determine which users, groups, and service accounts need access and assign the smallest suitable roles. Broad roles can introduce unnecessary permissions and increase the potential impact of compromised accounts. Individual identities and appropriate groups should be preferred over shared credentials because they improve accountability and access management. Security teams should also conduct periodic access reviews and remove unnecessary permissions. Least privilege is an ongoing process because user responsibilities, applications, and project requirements change over time.

Question 323

A security administrator needs to provide a developer access to a specific Cloud Storage bucket without granting access to unrelated buckets. Which approach best follows least privilege?

  1. Grant a broad project-level storage role
  2. Grant the required role directly on the bucket
  3. Grant Owner at the organization level
  4. Create a public bucket

Correct Answer: 2

Explanation

Granting the required IAM role at the narrowest appropriate resource level helps minimize unnecessary access. If a developer only needs access to one Cloud Storage bucket, assigning the required permission directly on that bucket is generally more restrictive than granting a project-wide storage role. Resource-level permissions can reduce the blast radius if the developer’s account is compromised. Administrators should also consider whether the developer needs read, write, or administrative permissions and choose the appropriate role. Access should be reviewed periodically to ensure that temporary or obsolete permissions are removed when they are no longer needed.

Question 324

A security team wants to ensure that an application can access only the Secret Manager secrets required for its operation. What should the team configure?

  1. Secret-level IAM permissions
  2. Organization-wide Owner access
  3. Public secret access
  4. A shared administrator account

Correct Answer: 1

Explanation

Secret Manager supports IAM-based access control that can be applied at appropriate resource levels, including individual secrets. Granting an application only the permissions it needs on specific secrets supports the principle of least privilege. This is safer than giving the application’s service account broad access to all secrets in a project. Security teams should separate secrets by workload or sensitivity where practical and regularly review access. Secret Manager also supports version management, auditing, and controlled secret lifecycle operations. Combining narrowly scoped IAM permissions with secure application identity and monitoring helps reduce the impact of compromised workloads.

Question 325

A company needs to store application credentials securely and retrieve them at runtime rather than placing them in source code. Which service should be used?

  1. Cloud Storage
  2. Secret Manager
  3. Cloud DNS
  4. Cloud Scheduler

Correct Answer: 2

Explanation

Secret Manager is designed to securely store and manage sensitive values such as passwords, API keys, and application credentials. Applications can retrieve secrets at runtime using an authorized identity instead of embedding credentials directly in source code or configuration files. This reduces the risk of credentials being exposed through source repositories or application artifacts. Access should be controlled with IAM and granted only to the workloads that require the secret. Security teams should also establish secret rotation and version-management procedures. Logging and monitoring can help identify unexpected secret access. Secret Manager should be combined with secure application development practices.

Question 326

A security administrator wants to ensure that a service account cannot be used from an unauthorized workload even if its credentials are compromised. Which approach provides stronger workload identity controls?

  1. Use workload identity with short-lived credentials
  2. Store a permanent key in the application
  3. Share the service account key with developers
  4. Place the key in a public repository

Correct Answer: 1

Explanation

Workload identity mechanisms allow applications to obtain credentials through controlled identity relationships instead of relying on long-lived service account keys. In Google Cloud environments, workload identity can associate workloads with appropriate Google identities and provide short-lived credentials. This reduces the exposure created by persistent credentials that can be copied or leaked. Administrators should define narrowly scoped permissions and ensure that only the intended workload can obtain the identity. Monitoring and regular access reviews remain important. Short-lived credentials do not eliminate all risks, but they significantly improve credential lifecycle management compared with unmanaged long-lived service account keys.

Question 327

A security team needs to control which services can be used within projects to reduce the attack surface. Which Google Cloud governance capability should they consider?

  1. Service usage restrictions through Organization Policy
  2. Cloud DNS
  3. Cloud NAT
  4. VPC Flow Logs

Correct Answer: 1

Explanation

Google Cloud governance controls can be used to restrict service usage according to organizational requirements. Controlling which services teams can deploy or consume can reduce unnecessary attack surface and help maintain compliance with approved architectures. Organization Policy provides centralized governance for many supported constraints, while service-specific configuration may also be required. Security teams should identify services that are necessary for business operations and avoid blocking dependencies that applications require. Policies should be tested before broad deployment and exceptions should be documented. Restricting unnecessary services is most effective when combined with IAM, asset inventory, monitoring, and secure deployment practices.

Question 328

A company wants to identify all Google Cloud resources associated with a specific project or organization for a security investigation. Which service provides a centralized inventory of cloud assets?

  1. Cloud Asset Inventory
  2. Cloud NAT
  3. Cloud Armor
  4. Cloud Scheduler

Correct Answer: 1

Explanation

Cloud Asset Inventory provides an inventory of supported Google Cloud resources and related metadata across an organization, folder, or project. Security teams can use this information to understand what resources exist and investigate configuration or ownership questions. Asset inventory is particularly useful during incident response because investigators need to identify affected resources and understand relationships between cloud assets. It can also support governance, compliance, and change monitoring. Cloud Asset Inventory does not replace runtime monitoring or vulnerability scanning, but it provides valuable visibility into the cloud environment. Maintaining accurate asset visibility is an important foundation for effective security management.

Question 329

A security administrator wants to detect changes to important cloud resources and investigate who made those changes. Which combination should be used?

  1. Cloud Audit Logs and Cloud Asset Inventory
  2. Cloud NAT and Cloud DNS
  3. Cloud CDN and Cloud Trace
  4. Cloud Scheduler and Cloud Storage Transfer

Correct Answer: 1

Explanation

Cloud Audit Logs record relevant administrative and data-access activities, helping security teams determine which identity performed an operation. Cloud Asset Inventory provides information about resources and their configurations, making it useful for understanding the affected assets. Together, these services can help investigators correlate configuration changes with the identities and resources involved. Organizations should establish appropriate audit-log retention and access controls because security logs can contain sensitive information. Combining audit records with asset information provides stronger investigation capabilities than relying on either source alone. Additional application and network telemetry may be required for a complete incident investigation.

Question 330

A company wants to make important Cloud Storage objects immutable for a defined retention period. Which feature should be considered?

  1. Object lifecycle deletion
  2. Bucket retention policy
  3. Cloud NAT
  4. Cloud Armor

Correct Answer: 2

Explanation

A Cloud Storage retention policy can require objects to be retained for a specified period before they can be deleted or replaced. This can support compliance, records management, and protection against accidental or unauthorized deletion. Organizations should carefully determine the required retention duration because retention policies can affect operational flexibility. For stronger immutability requirements, administrators can consider locking the retention policy after validating that the configured duration meets organizational requirements. Access controls remain important because retention does not determine who can read the data. Security teams should combine retention controls with IAM, logging, encryption, and appropriate lifecycle-management procedures.

Question 331

A security team needs to protect stored data from unauthorized access while allowing applications to use encryption keys managed by the organization. Which key-management service should be used?

  1. Cloud KMS
  2. Cloud NAT
  3. Cloud Scheduler
  4. Cloud DNS

Correct Answer: 1

Explanation

Cloud Key Management Service provides centralized management of cryptographic keys used by supported Google Cloud services and applications. Organizations can create, control, rotate, disable, and destroy keys according to their security requirements. Cloud KMS can support customer-managed encryption keys when integrated with supported services. Administrators should apply strict IAM permissions to key operations because access to encryption keys can provide access to protected data. Key lifecycle policies should also account for rotation, backup requirements, compliance obligations, and the consequences of disabling or destroying keys. Proper key management is an important part of protecting sensitive cloud data.

Question 332

A security administrator wants to ensure that encryption keys cannot be accessed by users who do not require cryptographic operations. Which principle should guide Cloud KMS IAM configuration?

  1. Grant all users CryptoKey Admin
  2. Grant only required key permissions
  3. Make the key publicly accessible
  4. Use the Owner role for applications

Correct Answer: 2

Explanation

Cloud KMS permissions should follow the principle of least privilege. Users who only need to encrypt or decrypt data should not automatically receive administrative permissions such as the ability to manage keys or change key policies. Separating cryptographic usage from key administration reduces the risk of unauthorized key modification or destruction. Organizations should define distinct administrative and operational responsibilities where appropriate. IAM permissions should be reviewed regularly and monitored through audit logging. Strong separation of duties is particularly important for highly sensitive encryption keys because unauthorized key-management access can have significant consequences for protected data.

Question 333

A company wants to require approval before Google personnel can access customer content in eligible circumstances. Which feature should be configured?

  1. Access Approval
  2. Cloud Armor
  3. Cloud NAT
  4. VPC Flow Logs

Correct Answer: 1

Explanation

Access Approval is designed to allow customers to require explicit approval before eligible Google personnel access customer content. This can provide an additional governance control for organizations with strict regulatory, privacy, or internal security requirements. Authorized personnel can review and approve eligible access requests according to organizational procedures. Access Approval is different from Access Transparency, which provides logs about eligible Google personnel access. Organizations can use both capabilities as part of a broader provider-access governance strategy. Administrators should verify which Google Cloud services and access scenarios are covered and establish appropriate approval workflows before relying on the control for compliance purposes.

Question 334

A regulated organization needs additional controls around data residency and personnel access for specific cloud workloads. Which Google Cloud service is designed to help address such compliance requirements?

  1. Assured Workloads
  2. Cloud NAT
  3. Cloud Trace
  4. Cloud Scheduler

Correct Answer: 1

Explanation

Assured Workloads helps organizations configure controlled Google Cloud environments for certain regulatory and compliance requirements. Depending on the selected workload configuration, it can provide controls related to data location, supported services, personnel access, and other compliance requirements. This can help regulated organizations establish appropriate boundaries around sensitive workloads. Assured Workloads does not automatically make an application compliant with every regulation. Organizations must still implement application security, IAM, logging, data governance, and operational controls. Security teams should review the specific compliance package and supported services before deploying workloads so that the selected environment matches the organization’s regulatory requirements.

Question 335

A security engineer wants to identify suspicious activity detected from cloud logs and receive security findings for investigation. Which Security Command Center capability is designed for threat detection?

  1. Event Threat Detection
  2. Cloud DNS
  3. Cloud NAT
  4. Cloud Scheduler

Correct Answer: 1

Explanation

Event Threat Detection is a Security Command Center capability that analyzes supported Google Cloud events and logs for indicators of suspicious or potentially malicious activity. When supported threat patterns are detected, findings can be generated for security teams to investigate. This provides an additional layer of detection beyond preventive controls such as IAM and firewall policies. Security teams should establish processes for reviewing, prioritizing, and responding to findings because not every detection necessarily represents a confirmed compromise. Event Threat Detection works best when combined with centralized logging, identity monitoring, vulnerability management, and a documented incident-response process.

Question 336

A company wants automated checks for insecure Google Cloud configurations such as overly permissive settings. Which Security Command Center capability should be considered?

  1. Security Health Analytics
  2. Cloud NAT
  3. Cloud CDN
  4. Cloud DNS

Correct Answer: 1

Explanation

Security Health Analytics provides automated security checks for supported Google Cloud configurations and can identify certain vulnerabilities and misconfigurations. Findings can help organizations discover issues such as insecure settings or configurations that do not follow recommended security practices. Security teams can use these findings to prioritize remediation and improve the overall cloud security posture. Automated findings should still be validated because environments can have legitimate exceptions or business-specific requirements. Security Health Analytics should be combined with IAM reviews, vulnerability management, asset inventory, and continuous monitoring. Regular remediation processes help ensure that identified configuration weaknesses do not remain unresolved.

Question 337

A security team wants to prevent workloads in a protected environment from accessing services outside an approved security perimeter. Which Google Cloud capability should be considered?

  1. VPC Service Controls
  2. Cloud Scheduler
  3. Cloud NAT
  4. Cloud DNS

Correct Answer: 1

Explanation

VPC Service Controls can create security perimeters around supported Google Cloud services and help reduce the risk of data exfiltration. They allow organizations to define boundaries around protected resources and control access based on perimeter configuration and supported access levels. VPC Service Controls complement IAM rather than replacing it. A user may have valid IAM permissions but still be unable to access a protected resource if the request violates the configured service perimeter. Organizations should carefully design perimeter architecture, test legitimate application flows, and account for approved external access requirements to avoid disrupting business operations.

Question 338

A company wants to limit access to a protected Google Cloud service based on contextual information such as user identity and network attributes. Which service works with access levels to provide contextual access control?

  1. Access Context Manager
  2. Cloud NAT
  3. Cloud Scheduler
  4. Cloud Storage Transfer Service

Correct Answer: 1

Explanation

Access Context Manager allows organizations to define access levels based on contextual attributes for supported Google Cloud access scenarios. These attributes can include information about the identity, device, network, or other supported request characteristics. Access levels can be used with services such as VPC Service Controls to create more contextual security boundaries. This approach supports zero-trust principles by considering more than simply whether a user has an IAM role. Administrators should carefully define and test access levels because overly restrictive conditions can prevent legitimate access. Context-aware controls should complement strong authentication, authorization, and monitoring.

Question 339

A security administrator wants to review whether a user’s permissions are broader than necessary and determine what access the user currently has. Which activity should be performed regularly?

  1. IAM access review
  2. DNS zone transfer
  3. Cloud NAT configuration
  4. Load balancer health checking

Correct Answer: 1

Explanation

Regular IAM access reviews help organizations identify unnecessary, excessive, or outdated permissions. Reviewers can examine user, group, and service account access and determine whether assigned roles remain appropriate for current responsibilities. Access reviews are especially important for privileged accounts and sensitive resources. Organizations can combine IAM analysis tools with usage information and business-owner validation to make informed access decisions. Permissions should be removed or reduced when they are no longer required, while legitimate exceptions should be documented. Periodic access reviews support least privilege and help reduce the potential impact of compromised identities.

Question 340

A company wants to ensure that a production application can use a private service without exposing the application traffic to the public internet. Which Google Cloud networking option can provide private connectivity to supported services?

  1. Private Service Connect
  2. Cloud Scheduler
  3. Cloud DNSSEC
  4. Cloud Armor

Correct Answer: 1

Explanation

Private Service Connect enables private connectivity between consumers and supported services without requiring traffic to traverse the public internet. It can be used in architectures where organizations want to consume services privately while maintaining controlled network boundaries. This can reduce exposure to public networks and simplify secure service connectivity. Administrators should configure appropriate IAM, firewall, routing, and service-specific controls because private connectivity alone does not determine whether a user or workload is authorized to access a service. Private Service Connect is particularly useful for designing controlled service-to-service architectures in environments with strong network security and segmentation requirements.