View Full Google Professional Cloud Security Engineer Exam Dumps and Practice Test Dumps.
Question 281
A security team wants to ensure that virtual machine administrators authenticate to Linux VMs using their corporate identities instead of managing individual SSH keys. Which Google Cloud capability should they use?
- Cloud NAT
- OS Login
- Cloud Armor
- Cloud DNS
Correct Answer: 2
Explanation
OS Login allows administrators to manage SSH access to Linux virtual machines through Google Cloud IAM rather than distributing individual SSH keys manually. Users can authenticate with their Google identities and receive access according to IAM permissions. This centralizes identity and access management and makes it easier to revoke access when an employee changes roles or leaves the organization. OS Login can also support more consistent auditing of administrative access. Security teams should still apply least-privilege IAM roles, restrict network access to SSH, and monitor administrative activity. Combining identity-based SSH access with strong network controls provides a stronger security posture for Linux VM administration.
Question 282
A company wants employees to access an internal web application without exposing the application directly to the public internet. Which Google Cloud service can provide identity-aware access control for the application?
- Cloud NAT
- Cloud Storage
- Identity-Aware Proxy
- Cloud DNS
Correct Answer: 3
Explanation
Identity-Aware Proxy, or IAP, provides an identity-aware access layer for applications. Instead of relying solely on network location, IAP can require users to authenticate and then enforce access based on their identity and configured policies. This approach can help organizations implement a zero-trust style access model for supported applications. The backend application can remain protected behind Google Cloud infrastructure rather than being directly exposed for unrestricted access. Administrators should configure appropriate IAM permissions, secure the backend, and monitor authentication and access activity. IAP works best as part of a broader architecture that includes strong identity management and application-level security.
Question 283
A security administrator needs to allow administrators to securely connect to a VM’s TCP service through an identity-controlled access mechanism without exposing the service directly to the internet. Which feature is appropriate?
- IAP TCP forwarding
- Cloud CDN
- Cloud DNSSEC
- Cloud Storage Transfer Service
Correct Answer: 1
Explanation
IAP TCP forwarding can provide identity-aware access to TCP resources such as SSH or RDP connections without requiring the VM to expose those administrative ports directly to the public internet. Access can be controlled through IAM permissions and IAP configuration. This reduces reliance on broad firewall rules that permit administrative access from arbitrary internet addresses. Administrators should still configure firewall rules appropriately and ensure that only authorized identities can use the forwarding capability. Logging and monitoring should also be enabled to help detect unauthorized access attempts. IAP TCP forwarding is particularly useful for centrally managed administrative access to protected workloads.
Question 284
A company wants VM instances without external IP addresses to reach supported Google APIs and services privately. Which feature should be configured?
- Cloud Armor
- Private Google Access
- Cloud IDS
- Cloud DNSSEC
Correct Answer: 2
Explanation
Private Google Access allows virtual machines that do not have external IP addresses to access supported Google APIs and Google services through private connectivity. This helps organizations keep workloads off the public internet while still allowing applications to communicate with required Google Cloud services. The feature is configured at the subnet level and works with appropriate routing and DNS configurations. Private Google Access does not automatically provide unrestricted access to every internet destination. Security teams should continue to apply firewall rules, IAM permissions, and service-specific controls. This approach is useful for private workloads that need access to services such as Cloud Storage or other supported Google APIs.
Question 285
A security team wants to prevent users from creating VM instances with external IP addresses across an organization. Which control is most appropriate?
- Organization Policy
- Cloud Logging
- Cloud DNS
- Cloud Scheduler
Correct Answer: 1
Explanation
Organization Policy can enforce constraints across Google Cloud resources and help prevent configurations that violate organizational security requirements. A policy can be used to restrict external IP address usage for VM instances where the relevant constraint supports the organization’s requirements. Applying such controls at the organization or folder level helps establish consistent governance across projects. Administrators should verify exceptions for workloads that genuinely require public connectivity and use narrowly scoped exemptions where necessary. Organization Policy is a preventive governance mechanism and should be combined with IAM, firewall controls, logging, and continuous security monitoring to provide defense in depth.
Question 286
A company wants to collect network traffic metadata from VM interfaces to investigate unexpected communication patterns. Which feature should be enabled?
- Cloud Trace
- VPC Flow Logs
- Cloud Scheduler
- Cloud KMS
Correct Answer: 2
Explanation
VPC Flow Logs capture metadata about network traffic flowing to and from resources in a VPC subnet. They can provide information useful for troubleshooting connectivity, investigating suspicious communication, and understanding traffic patterns. Flow logs do not capture complete packet contents; instead, they provide flow-level information such as source and destination details and traffic characteristics. Security teams can route relevant logs to Cloud Logging and use appropriate retention and analysis mechanisms. VPC Flow Logs should be combined with firewall logging, application logs, and other security telemetry when investigating incidents because no single network telemetry source provides complete visibility.
Question 287
A security engineer wants to create an alert when a particular type of security-related log entry appears repeatedly. Which Google Cloud capability can be used to generate alerts from matching log entries?
- Log-based alerting policies
- Cloud DNS
- Cloud NAT
- Cloud KMS
Correct Answer: 1
Explanation
Cloud Logging supports log-based alerting policies that can generate notifications when log entries match specified conditions. Security teams can use these alerts to identify events such as repeated authentication failures, unexpected administrative activity, or other suspicious operations recorded in logs. The effectiveness of an alert depends on the quality of the filter and the notification configuration. Teams should avoid overly broad rules that generate excessive noise while ensuring important security events are not missed. Log-based alerts can complement Security Command Center findings and other monitoring systems, providing an additional mechanism for detecting events that are visible through Cloud Logging.
Question 288
A security team wants to forward selected audit logs from multiple projects to a centralized security project for long-term analysis. Which Cloud Logging capability should be used?
- Cloud Logging sinks
- Cloud Scheduler
- Cloud Router
- Cloud DNS
Correct Answer: 1
Explanation
Cloud Logging sinks allow organizations to route selected logs to supported destinations such as Cloud Storage, BigQuery, Pub/Sub, or another logging environment depending on the architecture. Centralizing security-relevant logs can simplify investigation, retention, compliance reporting, and correlation across projects. Administrators can define filters so that only relevant entries are exported rather than forwarding unnecessary data. When configuring centralized logging, security teams should carefully manage the permissions associated with the destination and sink service account. They should also establish appropriate retention policies and protect exported logs against unauthorized modification or deletion.
Question 289
A company needs to protect encryption keys against accidental deletion and ensure that old key versions cannot be immediately destroyed. Which Cloud KMS feature can help control key destruction?
- Key destruction scheduling
- Cloud Armor adaptive protection
- VPC Flow Logs
- IAM Recommender
Correct Answer: 1
Explanation
Cloud KMS uses a scheduled destruction process rather than immediately destroying a key version when a destruction request is made. This provides an opportunity to cancel the destruction during the applicable waiting period if the deletion was accidental or premature. Such controls are important because destroying cryptographic keys can make encrypted data permanently inaccessible. Organizations should establish documented key lifecycle procedures, limit permissions that allow key destruction, and monitor administrative activity. Key destruction controls should be considered alongside backup, rotation, access management, and compliance requirements. Proper governance helps prevent irreversible cryptographic mistakes.
Question 290
A security administrator wants to prevent a service account from being used to create new service account keys. Which approach provides a centralized organizational safeguard?
- Organization Policy constraint
- Cloud CDN
- Cloud Trace
- Cloud NAT
Correct Answer: 1
Explanation
Organization Policy supports constraints that can help organizations restrict the creation or use of service account keys where supported. Preventing unnecessary user-managed service account keys reduces the risk associated with long-lived credentials being copied, leaked, or stored insecurely. Organizations can instead favor short-lived credentials, service account impersonation, or workload identity mechanisms. Exceptions should be narrowly controlled for applications that genuinely require supported key-based authentication. Security teams should also monitor existing service account keys and establish processes for removing unused credentials. Centralized policy enforcement provides a scalable way to apply credential-management requirements across many projects.
Question 291
A workload running outside Google Cloud needs to authenticate to Google Cloud without storing a long-lived service account key. Which solution is most appropriate?
- Workload Identity Federation
- Cloud Storage ACLs
- Cloud NAT
- VPC Flow Logs
Correct Answer: 1
Explanation
Workload Identity Federation allows workloads outside Google Cloud to obtain short-lived Google Cloud credentials by exchanging trusted external identity credentials. This avoids the need to distribute long-lived service account keys to external workloads. The organization establishes a trust relationship with an external identity provider and configures appropriate attribute and access mappings. This approach can significantly reduce credential-management risk for applications running in other clouds, on-premises environments, or supported identity platforms. Administrators should restrict federation permissions carefully and validate external identity attributes. Monitoring authentication activity and periodically reviewing federation configuration are also important parts of secure implementation.
Question 292
A security engineer wants to investigate why a user was allowed or denied access to a particular Google Cloud resource. Which IAM troubleshooting capability is designed for this purpose?
- Policy Troubleshooter
- Cloud CDN
- Cloud DNS
- Cloud NAT
Correct Answer: 1
Explanation
Policy Troubleshooter helps administrators determine whether a principal has a specific permission on a resource and provides information about the policies affecting the authorization decision. It can be useful when users report unexpected access denials or when administrators need to understand why a principal has access. Troubleshooting IAM decisions can involve inherited policies, group memberships, roles, and other authorization factors. Security teams should use the tool as part of access investigations rather than simply granting broader permissions when a request fails. Understanding the actual authorization path supports least-privilege access and reduces unnecessary privilege escalation.
Question 293
A company wants to identify which users and groups have access to sensitive resources before making IAM changes. Which capability can help analyze existing IAM access?
- IAM Policy Analyzer
- Cloud NAT
- Cloud Scheduler
- Cloud CDN
Correct Answer: 1
Explanation
IAM Policy Analyzer can help organizations analyze who has access to resources and what permissions are granted through IAM policies. This is valuable during access reviews, investigations, and least-privilege initiatives. Security teams can use analysis results to identify unexpected access and determine whether permissions should be modified. IAM analysis should be performed carefully because access may be inherited through the resource hierarchy or granted through groups and other policy relationships. Combining policy analysis with actual usage information can provide a more complete picture of required access. Any changes should be validated before deployment to avoid disrupting legitimate workloads.
Question 294
A security team wants to detect potentially malicious behavior in cloud workloads using Google Cloud’s managed threat-detection capabilities. Which Security Command Center capability is appropriate for detecting suspicious activity?
- Event Threat Detection
- Cloud NAT
- Cloud DNS
- Cloud Scheduler
Correct Answer: 1
Explanation
Event Threat Detection is a Security Command Center capability designed to identify suspicious activity from supported Google Cloud logs and events. It can detect certain indicators associated with threats such as unusual authentication activity, suspicious network behavior, or other potentially malicious events. Findings can provide security teams with information for investigation and response. Detection capabilities do not guarantee that every attack will be identified, so organizations should use them alongside preventive controls, vulnerability management, identity security, and application monitoring. Security teams should establish procedures for triaging findings and determining whether detected activity represents a genuine security incident.
Question 295
A security administrator wants to identify vulnerabilities and security misconfigurations in Google Cloud resources using automated security findings. Which Security Command Center capability is intended for security posture analysis?
- Security Health Analytics
- Cloud NAT
- Cloud DNS
- Cloud Scheduler
Correct Answer: 1
Explanation
Security Health Analytics provides automated detection of supported security misconfigurations and vulnerabilities in Google Cloud environments. It can identify configuration issues that may increase security risk and generate findings for investigation and remediation. This capability can help security teams continuously assess cloud resources rather than relying exclusively on periodic manual reviews. Findings should be prioritized according to organizational risk and validated before remediation. Security Health Analytics is not a replacement for application security testing or vulnerability management across every technology layer. It is one component of a broader cloud security program that includes secure configuration, identity management, monitoring, and incident response.
Question 296
A company wants to protect a GKE cluster by ensuring that only approved container images are deployed. Which Google Cloud security control can enforce this requirement?
- Cloud NAT
- Binary Authorization
- Cloud DNS
- VPC Flow Logs
Correct Answer: 2
Explanation
Binary Authorization helps enforce deployment policies for container images in supported environments such as Google Kubernetes Engine. Organizations can define requirements that images must satisfy before deployment, such as having appropriate attestations. This helps prevent unapproved or unverified images from reaching production environments. Binary Authorization can be integrated into a software supply-chain security strategy that includes trusted build processes, vulnerability scanning, image signing, and artifact management. Security teams should carefully design attestation policies and ensure that legitimate deployment workflows produce the required evidence. Enforcement provides a preventive control at deployment time rather than relying only on post-deployment detection.
Question 297
A security team wants to reduce the risk of compromised GKE workloads communicating freely with other pods. Which Kubernetes security control can restrict pod-to-pod network communication?
- NetworkPolicy
- Cloud Scheduler
- Cloud NAT
- Cloud DNS
Correct Answer: 1
Explanation
Kubernetes NetworkPolicy can restrict network communication between pods based on defined policy rules. In GKE environments where NetworkPolicy is supported and enabled, administrators can define which workloads are permitted to communicate with other workloads. This supports network segmentation and can limit lateral movement if a workload becomes compromised. Effective policies should follow application communication requirements and be tested carefully before enforcement. Security teams should also consider ingress and egress requirements and combine Kubernetes network controls with IAM, workload identity, container security, and node-level protections. NetworkPolicy is therefore an important layer of defense but should not be treated as the only Kubernetes security control.
Question 298
A company wants VM instances to remain without public IP addresses while still allowing them to reach the internet for outbound updates. Which service can provide outbound NAT connectivity?
- Cloud DNS
- Cloud NAT
- Cloud Armor
- Cloud IDS
Correct Answer: 2
Explanation
Cloud NAT provides network address translation for outbound connections from resources that do not have external IP addresses. This allows private VM instances to initiate connections to external destinations without assigning each instance a public IP address. Cloud NAT is useful for workloads that require outbound internet access for updates, package downloads, or external APIs while reducing direct inbound exposure. Cloud NAT does not provide inbound access to private VMs and does not replace firewall policies. Security teams should still restrict outbound traffic where appropriate, monitor network activity, and use private connectivity to Google services when suitable.
Question 299
A security engineer wants to ensure that a production VM’s boot process can be verified and protected against certain forms of low-level tampering. Which Google Cloud VM capability should be considered?
- Shielded VM
- Cloud NAT
- Cloud Scheduler
- BigQuery reservations
Correct Answer: 1
Explanation
Shielded VM provides security features designed to help protect virtual machine instances against certain rootkits and boot-level threats. It includes capabilities such as Secure Boot, virtual trusted platform module support, and integrity monitoring, depending on the configuration and supported environment. Secure Boot can help ensure that only trusted boot components are loaded, while integrity monitoring can provide information about unexpected changes. Shielded VM should be combined with operating system hardening, IAM controls, vulnerability management, and monitoring. It is particularly useful for workloads where protection against low-level compromise and verification of VM integrity are important security requirements.
Question 300
A security team needs to provide encryption for data stored by a supported Google Cloud service while retaining control over the encryption key lifecycle through Cloud KMS. Which encryption approach should they consider?
- CMEK
- Cloud NAT
- VPC Flow Logs
- Cloud DNSSEC
Correct Answer: 1
Explanation
Customer-managed encryption keys, or CMEK, allow organizations to use keys managed through Cloud KMS for supported Google Cloud services. CMEK provides additional control over key lifecycle activities such as creation, rotation, access management, disabling, and destruction. This can be important for regulatory or organizational requirements that require customers to manage encryption keys more directly. CMEK does not automatically secure every aspect of an application, and administrators must carefully manage IAM permissions for key usage. Organizations should also understand the operational consequences of disabling or destroying keys because doing so can affect access to protected data.