
Free Google Professional-Cloud-Security-Engineer Exam 2026 Practice Materials Collection
Professional-Cloud-Security-Engineer Exam Info and Free Practice Test All-in-One Exam Guide Aug-2026
NEW QUESTION # 116
You are deploying a web application hosted on Compute Engine. A business requirement mandates that application logs are preserved for 12 years and data is kept within European boundaries. You want to implement a storage solution that minimizes overhead and is cost-effective. What should you do?
- A. Create a Cloud Storage bucket to store your logs in the EUROPE-WEST1 region. Modify your application code to ship logs directly to your bucket for increased efficiency.
- B. Use a Pub/Sub topic to forward your application logs to a Cloud Storage bucket in the EUROPE-WEST1 region.
- C. Configure your Compute Engine instances to use the Google Cloud's operations suite Cloud Logging agent to send application logs to a custom log bucket in the EUROPE-WEST1 region with a custom retention of 12 years.
- D. Configure a custom retention policy of 12 years on your Google Cloud's operations suite log bucket in the EUROPE-WEST1 region.
Answer: C
Explanation:
Explanation
https://youtu.be/MI4iG2GIZMA
NEW QUESTION # 117
Your organization is deploying a serverless web application on Cloud Run that must be publicly accessible over HTTPS. To meet security requirements, you need to terminate TLS at the edge, apply threat mitigation, and prepare for geo-based access restrictions. What should you do?
- A. Make the Cloud Run service public by enabling allUsers access. Configure Identity-Aware Proxy (IAP) for authentication and IP-based access control. Use custom SSL certificates for HTTPS.
- B. Deploy an external HTTP(S) load balancer with a serverless NEG that points to the Cloud Run service.
Use a Google-managed certificate for TLS termination. Configure a Cloud Armor policy with geo- based access control. - C. Create a Cloud DNS public zone for the Cloud Run URL. Bind a static IP to the service. Use VPC firewall rules to restrict incoming traffic based on IP ranges and threat signatures.
- D. Assign a custom domain to the Cloud Run service. Enable HTTPS. Configure IAM to allow allUsers to invoke the service. Use firewall rules and VPC Service Controls for geo-based restriction and traffic filtering.
Answer: B
Explanation:
The problem requires a publicly accessible Cloud Run service with HTTPS, TLS termination at the edge, threat mitigation, and geo-based access restrictions.
External HTTP(S) Load Balancer: This is the standard Google Cloud component for exposing public-facing web applications, providing a single global IP address, global load balancing, and crucially, TLS termination at the edge of Google's network.
Serverless Network Endpoint Group (NEG): A serverless NEG connects an HTTP(S) Load Balancer to a Cloud Run service (or other serverless backends like Cloud Functions or App Engine), allowing the load balancer to route traffic to the serverless application.Extract Reference: "You can use an external HTTP(S) Load Balancer with a serverless network endpoint group (NEG) to integrate Cloud Run services with advanced load balancing features, such as Cloud CDN, Google Cloud Armor, and Cloud Identity-Aware Proxy." (Google Cloud Documentation: "Connect a Cloud Run service to an HTTP(S) Load Balancer | Cloud Run Documentation" - https://cloud.google.com/run/docs/integrating/load-balancers) Google-Managed Certificate for TLS Termination: Using Google-managed SSL certificates simplifies the management of HTTPS, as Google handles the provisioning, renewal, and deployment of certificates. The external HTTP(S) Load Balancer terminates TLS using these certificates.Extract Reference: "Google- managed SSL certificates let you use Google Cloud's globally distributed infrastructure to automatically provision and renew your certificates." (Google Cloud Documentation: "Google-managed SSL certificates overview | Load Balancing" - https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed- certs) Cloud Armor for Threat Mitigation and Geo-Based Access Control: Cloud Armor is a Web Application Firewall (WAF) service that integrates with HTTP(S) Load Balancers. It provides DDoS protection, allows custom rules for threat mitigation (e.g., SQL injection, XSS), and supports geo-based access control rules to allow or deny traffic based on the source's geographic region.Extract Reference: "Google Cloud Armor helps protect your Google Cloud deployments from various threats, including Distributed Denial of Service (DDoS) attacks and application attacks such as cross-site scripting (XSS) and SQL injection (SQLi)." and "Google Cloud Armor supports geo-based access control, allowing you to filter requests based on geographic region." (Google Cloud Documentation: "Google Cloud Armor overview" - https://cloud.google.com/armor/docs
/overview)
Let's evaluate the other options:
A). IAP for authentication and IP-based access control + custom SSL certs: IAP is primarily an authentication layer for users/identities, not a WAF for threat mitigation or geo-blocking for a publicly accessible service before any authentication takes place. While it can apply IP-based access, it's typically for post-authentication controls.
B). Assign custom domain, enable HTTPS, allUsers IAM, firewall rules & VPC SC: While Cloud Run supports custom domains and HTTPS, and allUsers makes it public, direct Cloud Run services do not leverage traditional VPC firewall rules for public ingress. VPC Service Controls are for API access and data exfiltration, not for WAF or geo-blocking of public web traffic.
D). Cloud DNS public zone, static IP, VPC firewall rules, threat signatures: Cloud Run services are managed and do not typically expose a static IP address that can be directly associated with VPC firewall rules for public traffic. VPC firewall rules apply to VMs within a VPC, not to the managed global infrastructure of Cloud Run's public endpoints.
Therefore, deploying an external HTTP(S) Load Balancer with a serverless NEG and integrating it with Google-managed certificates and Cloud Armor is the most comprehensive and Google-recommended solution for meeting all the specified security requirements for a publicly accessible Cloud Run application.
NEW QUESTION # 118
You manage a fleet of virtual machines (VMs) in your organization. You have encountered issues with lack of patching in many VMs. You need to automate regular patching in your VMs and view the patch management data across multiple projects.
What should you do?
Choose 2 answers
- A. Deploy patches with Security Command Center by using Rapid Vulnerability Detection.
- B. View patch management data in VM Manager by using OS patch management.
- C. Deploy patches with VM Manager by using OS patch management
- D. View patch management data in a Security Command Center dashboard.
- E. View patch management data in Artifact Registry.
Answer: B,C
Explanation:
https://cloud.google.com/compute/docs/os-patch-management
NEW QUESTION # 119
Your company's storage team manages all product images within a specific Google Cloud project. To maintain control, you must isolate access to Cloud Storage for this project, allowing the storage team to manage restrictions at the project level. They must be restricted to using corporate computers. What should you do?
- A. Implement VPC Service Controls by establishing an organization-wide service perimeter with all projects. Configure ingress and egress rules to restrict access to Cloud Storage based on IP address ranges.
- B. Use Context-Aware Access. Create an access level that defines the required context. Apply it as an organization policy specifically at the project level, restricting access to Cloud Storage based on that context.
- C. Use Identity and Access Management (IAM) roles at the project level within the storage team's project.
Grant the storage team granular permissions on the project's Cloud Storage resources. - D. Employ organization-level firewall rules to block all traffic to Cloud Storage. Create exceptions for specific service accounts used by the storage team within their project.
Answer: B
Explanation:
Comprehensive and Detailed Explanation From Exact Extract:
The key requirement is restricting access based on the client device (i.e., "corporate computers"). Context- Aware Access (CAA) is the specific Google Cloud tool designed to enforce access based on contextual factors, including the device security status or IP address.
Context Restriction: Context-Aware Access allows you to define an Access Level based on attributes like device policy compliance, operating system, or IP address range-this addresses the "corporate computers" requirement.
Isolation and Control: The Access Level is then enforced via an Organization Policy applied at the Project Level (or the folder/organization level), which fulfills the requirement to isolate access to Cloud Storage for this project and restrict the access to specific resources (Cloud Storage).
VPC Service Controls (VPC SC) (Option B) are great for isolating projects and preventing data exfiltration, but its primary access restriction mechanisms are based on IP range, not fine-grained device security posture and user identity together, making CAA the more precise tool for device-specific enforcement. Also, applying VPC SC ingress/egress based on IP addresses for end-user access can be complex and less flexible than CAA.
IAM (Option D) only controls who (identity) can access a resource, not where or how (context) they are accessing it from.
Extracts:
"Context-Aware Access (CAA) integrates with Google Workspace or Cloud Identity to enforce granular access to Google Cloud resources based on a user's context, such as their location, device security status, and IP address." (Source 7.1)
"To enforce CAA for Google Cloud resources like Cloud Storage, you create an Access Level that defines the required context (e.g., only corporate-managed devices) and apply it via an Organization Policy constraint (e.
g., iam.allowedServices) at the project level." (Source 7.2)
"CAA allows you to restrict access based on the device security posture, a key requirement for enforcing
'corporate computer' access." (Source 7.3)
NEW QUESTION # 120
Your organization is using Active Directory and wants to configure Security Assertion Markup Language (SAML). You must set up and enforce single sign-on (SSO) for all users.
What should you do?
- A. 1. Create a new SAML profile.
* 2. Upload the X.509 certificate.
* 3. Enable the change password URL.
* 4. Configure Entity ID and ACS URL in your IdP. - B. 1. Manage SAML profile assignments.
* 2. Enable OpenID Connect (OIDC) in your Active Directory (AD) tenant.
* 3. Verify the domain. - C. 1- Create a new SAML profile.
* 2. Populate the sign-in and sign-out page URLs.
* 3. Upload the X.509 certificate.
* 4. Configure Entity ID and ACS URL in your IdP - D. 1. Configure prerequisites for OpenID Connect (OIDC) in your Active Directory (AD) tenant
* 2. Verify the AD domain.
* 3. Decide which users should use SAML.
* 4. Assign the pre-configured profile to the select organizational units (OUs) and groups.
Answer: C
Explanation:
When configuring SAML-based Single Sign-On (SSO) in an organization that's using Active Directory, the general steps would involve setting up a SAML profile, specifying the necessary URLs for sign-in and sign-out processes, uploading an X.509 certificate for secure communication, and setting up the Entity ID and Assertion Consumer Service (ACS) URL in the Identity Provider (which in this case would be Active Directory).
NEW QUESTION # 121
A customer needs to prevent attackers from hijacking their domain/IP and redirecting users to a malicious site through a man-in-the-middle attack.
Which solution should this customer use?
- A. VPC Flow Logs
- B. DNS Security Extensions
- C. Cloud Armor
- D. Cloud Identity-Aware Proxy
Answer: B
Explanation:
DNSSEC - use a DNS registrar that supports DNSSEC, and enable it. DNSSEC digitally signs DNS communication, making it more difficult (but not impossible) for hackers to intercept and spoof.
Domain Name System Security Extensions (DNSSEC) adds security to the Domain Name System (DNS) protocol by enabling DNS responses to be validated. Having a trustworthy Domain Name System (DNS) that translates a domain name like www.example.com into its associated IP address is an increasingly important building block of today's web-based applications. Attackers can hijack this process of domain/IP lookup and redirect users to a malicious site through DNS hijacking and man-in-the-middle attacks. DNSSEC helps mitigate the risk of such attacks by cryptographically signing DNS records. As a result, it prevents attackers from issuing fake DNS responses that may misdirect browsers to nefarious websites.
https://cloud.google.com/blog/products/gcp/dnssec-now-available-in-cloud-dns
NEW QUESTION # 122
You manage one of your organization's Google Cloud projects (Project A). AVPC Service Control (SC) perimeter is blocking API access requests to this project including Pub/Sub. A resource running under a service account in another project (Project B) needs to collect messages from a Pub/Sub topic in your project Project B is not included in a VPC SC perimeter. You need to provide access from Project B to the Pub/Sub topic in Project A using the principle of least Privilege.
What should you do?
- A. Create a perimeter bridge between Project A and Project B to allow the required communication between both projects.
- B. Configure an ingress policy for the perimeter in Project A and allow access for the service account in Project B to collect messages.
- C. Create an access level that allows a developer in Project B to subscribe to the Pub/Sub topic that is located in Project A.
- D. Remove the Pub/Sub API from the list of restricted services in the perimeter configuration for Project A.
Answer: B
Explanation:
When dealing with VPC Service Controls (VPC SC), it's important to ensure that only authorized resources can access sensitive data and services. To allow a resource in Project B to access Pub/Sub in Project A without compromising security, you should configure an ingress policy for the service perimeter in Project A.
* Identify the Service Account: Determine the service account in Project B that requires access to the Pub/Sub topic in Project A.
* Configure Ingress Policy:
* Go to the Google Cloud Console.
* Navigate to Security > VPC Service Controls.
* Select the service perimeter for Project A.
* Add an ingress rule specifying the service account from Project B and allowing it access to the necessary Pub/Sub resources.
* Define Conditions: Ensure that the ingress policy adheres to the principle of least privilege, granting only the necessary permissions to collect messages from the Pub/Sub topic.
* Save and Apply: Save the policy and apply the changes to enforce the new access controls.
This approach maintains the security boundaries set by VPC SC while enabling the required access from Project B to Project A.
References:
* VPC Service Controls Documentation
* Configuring Ingress Policies
NEW QUESTION # 123
Which international compliance standard provides guidelines for information security controls applicable to the provision and use of cloud services?
- A. ISO 27017
- B. ISO 27018
- C. ISO 27001
- D. ISO 27002
Answer: A
Explanation:
Create a new Service Account that should be able to list the Compute Engine instances in the project. You want to follow Google-recommended practices.
https://cloud.google.com/security/compliance/iso-27017
NEW QUESTION # 124
You have created an OS image that is hardened per your organization's security standards and is being stored in a project managed by the security team. As a Google Cloud administrator, you need to make sure all VMs in your Google Cloud organization can only use that specific OS image while minimizing operational overhead. What should you do? (Choose two.)
- A. Grant users the compuce.imageUser role in their own projects.
- B. Set up an image access organization policy constraint, and list the security team managed project in the projects allow list.
- C. Remove VM instance creation permission from users of the projects, and only allow you and your team to create VM instances.
- D. Store the image in every project that is spun up in your organization.
- E. Grant users the compuce.imageUser role in the OS image project.
Answer: B,E
Explanation:
https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints - constraints/compute.trustedImageProjects This list constraint defines the set of projects that can be used for image storage and disk instantiation for Compute Engine. If this constraint is active, only images from trusted projects will be allowed as the source for boot disks for new instances.
NEW QUESTION # 125
You recently joined the networking team supporting your company's Google Cloud implementation. You are tasked with familiarizing yourself with the firewall rules configuration and providing recommendations based on your networking and Google Cloud experience. What product should you recommend to detect firewall rules that are overlapped by attributes from other firewall rules with higher or equal priority?
- A. Firewall Rules Logging
- B. VPC Flow Logs
- C. Firewall Insights
- D. Security Command Center
Answer: C
Explanation:
Explanation
https://cloud.google.com/network-intelligence-center/docs/firewall-insights/concepts/overview#shadowed-firewa Firewall Insights analyzes your firewall rules to detect firewall rules that are shadowed by other rules. A shadowed rule is a firewall rule that has all of its relevant attributes, such as its IP address and port ranges, overlapped by attributes from one or more rules with higher or equal priority, called shadowing rules.
NEW QUESTION # 126
An organization is migrating from their current on-premises productivity software systems to G Suite. Some network security controls were in place that were mandated by a regulatory body in their region for their previous on-premises system. The organization's risk team wants to ensure that network security controls are maintained and effective in G Suite. A security architect supporting this migration has been asked to ensure that network security controls are in place as part of the new shared responsibility model between the organization and Google Cloud.
What solution would help meet the requirements?
- A. Ensure that firewall rules are in place to meet the required controls.
- B. Set up an array of Virtual Private Cloud (VPC) networks to control network security as mandated by the relevant regulation.
- C. Network security is a built-in solution and Google's Cloud responsibility for SaaS products like G Suite.
- D. Set up Cloud Armor to ensure that network security controls can be managed for G Suite.
Answer: C
Explanation:
https://gsuite.google.com/learn-more/security/security-whitepaper/page-1.html
NEW QUESTION # 127
Your organization wants full control of the keys used to encrypt data at rest in their Google Cloud environments. Keys must be generated and stored outside of Google and integrate with many Google Services including BigQuery.
What should you do?
- A. Use customer-supplied encryption keys (CSEK) with keys generated on trusted external systems.
Provide the raw CSEK as part of the API call. - B. Create a Cloud Key Management Service (KMS) key with imported key material. Wrap the key for protection during import. Import the key generated on a trusted system in Cloud KMS.
- C. Create a KMS key that is stored on a Google managed FIPS 140-2 level 3 Hardware Security Module (HSM). Manage the Identity and Access Management (IAM) permissions settings, and set up the key rotation period.
- D. Use Cloud External Key Management (EKM) that integrates with an external Hardware Security Module (HSM) system from supported vendors.
Answer: D
Explanation:
https://cloud.google.com/kms/docs/ekm
NEW QUESTION # 128
Your team wants to centrally manage GCP IAM permissions from their on-premises Active Directory Service. Your team wants to manage permissions by AD group membership.
What should your team do to meet these requirements?
- A. Use the Cloud Identity and Access Management API to create groups and IAM permissions from Active Directory.
- B. Use the Admin SDK to create groups and assign IAM permissions from Active Directory.
- C. Set up SAML 2.0 Single Sign-On (SSO), and assign IAM permissions to the groups.
- D. Set up Cloud Directory Sync to sync groups, and set IAM permissions on the groups.
Answer: D
Explanation:
In order to be able to keep using the existing identity management system, identities need to be synchronized between AD and GCP IAM. To do so google provides a tool called Cloud Directory Sync. This tool will read all identities in AD and replicate those within GCP.
Once the identities have been replicated then it's possible to apply IAM permissions on the groups. After that you will configure SAML so google can act as a service provider and either you ADFS or other third party tools like Ping or Okta will act as the identity provider. This way you effectively delegate the authentication from Google to something that is under your control.
NEW QUESTION # 129
A security audit uncovered several inconsistencies in your project's Identity and Access Management (IAM) configuration. Some service accounts have overly permissive roles, and a few external collaborators have more access than necessary. You need to gain detailed visibility into changes to IAM policies, user activity, service account behavior, and access to sensitive projects. What should you do?
- A. Configure Google Cloud Functions to be triggered by changes to IAM policies. Analyze changes by using the policy simulator, send alerts upon risky modifications, and store event details.
- B. Enable the metrics explorer in Cloud Monitoring to follow the service account authentication events and build alerts linked on it.
- C. Deploy the OS Config Management agent to your VMs. Use OS Config Management to create patch management jobs and monitor system modifications.
- D. Use Cloud Audit Logs. Create log export sinks to send these logs to a security information and event management (SIEM) solution for correlation with other event sources.
Answer: D
Explanation:
To address inconsistencies in your project's Identity and Access Management (IAM) configuration and gain comprehensive visibility into IAM policy changes, user activity, service account behavior, and access to sensitive projects, leveraging Google Cloud's auditing capabilities is essential.
Option A: While Cloud Monitoring's metrics explorer can track certain metrics, it is not designed to provide detailed logs of IAM policy changes or user activities.
Option B: Cloud Audit Logs offer detailed records of administrative activities, including IAM policy changes and authentications. By creating log export sinks, you can forward these logs to a Security Information and Event Management (SIEM) solution, enabling correlation with other event sources and comprehensive analysis. This approach provides the necessary visibility into IAM configurations and user activities.
Option C: Triggering Cloud Functions based on IAM policy changes and analyzing them with a policy simulator is a proactive approach. However, it may not provide the depth of historical data and comprehensive analysis capabilities that a SIEM solution offers.
Option D: Deploying the OS Config Management agent focuses on VM configuration and patch management, which does not directly address IAM policy monitoring or user activity tracking.
Therefore, Option B is the most effective solution to gain detailed visibility into IAM-related activities and address the identified inconsistencies.
Reference:
Cloud Audit Logs Overview
Exporting Logs to a SIEM
NEW QUESTION # 130
Your organization wants full control of the keys used to encrypt data at rest in their Google Cloud environments. Keys must be generated and stored outside of Google and integrate with many Google Services including BigQuery.
What should you do?
- A. Create a Cloud Key Management Service (KMS) key with imported key material Wrap the key for protection during import. Import the key generated on a trusted system in Cloud KMS.
- B. Use customer-supplied encryption keys (CSEK) with keys generated on trusted external systems Provide the raw CSEK as part of the API call.
- C. Create a KMS key that is stored on a Google managed FIPS 140-2 level 3 Hardware Security Module (HSM) Manage the Identity and Access Management (IAM) permissions settings, and set up the key rotation period.
- D. Use Cloud External Key Management (EKM) that integrates with an external Hardware Security Module (HSM) system from supported vendors.
Answer: D
Explanation:
Cloud EKM allows you to use encryption keys that are stored and managed in a third-party key management system deployed outside of Google's infrastructure. This gives your organization full control over the keys used to encrypt data at rest in Google Cloud environments, including BigQuery.
NEW QUESTION # 131
You want to use the gcloud command-line tool to authenticate using a third-party single sign-on (SSO) SAML identity provider. Which options are necessary to ensure that authentication is supported by the third-party identity provider (IdP)? (Choose two.)
- A. Identity Platform
- B. Identity-Aware Proxy
- C. Cloud Identity
- D. SSO SAML as a third-party IdP
- E. OpenID Connect
Answer: D,E
Explanation:
Explanation
To provide users with SSO-based access to selected cloud apps, Cloud Identity as your IdP supports the OpenID Connect (OIDC) and Security Assertion Markup Language 2.0 (SAML) protocols.
https://cloud.google.com/identity/solutions/enable-sso
NEW QUESTION # 132
An organization is starting to move its infrastructure from its on-premises environment to Google Cloud Platform (GCP). The first step the organization wants to take is to migrate its current data backup and disaster recovery solutions to GCP for later analysis. The organization's production environment will remain on- premises for an indefinite time. The organization wants a scalable and cost-efficient solution.
Which GCP solution should the organization use?
- A. Cloud Storage using a scheduled task and gsutil
- B. BigQuery using a data pipeline job with continuous updates
- C. Compute Engine Virtual Machines using Persistent Disk
- D. Cloud Datastore using regularly scheduled batch upload jobs
Answer: A
Explanation:
To migrate the current data backup and disaster recovery solutions to GCP while keeping the production environment on-premises, the most scalable and cost-efficient solution is using Google Cloud Storage with scheduled tasks and the gsutil command.
* Setup Cloud Storage: Create a Cloud Storage bucket to store the backups.
* Go to the Cloud Console and navigate to Cloud Storage.
* Click "Create bucket" and follow the prompts to configure the storage bucket.
* Install gsutil: Ensure gsutil is installed on the on-premises servers.
* gsutil is a command-line tool for interacting with Cloud Storage.
* Follow the installation guide here.
* Create Backup Script: Write a script to upload data to Cloud Storage using gsutil.
#!/bin/bash gsutil -m cp -r /path/to/local/backup gs://your-bucket-name
* Schedule Backup Task: Use a scheduling tool like cron on Linux to run the backup script at regular intervals.
* Edit the crontab file with crontab -e and add an entry like:
Cloud Storage Documentation
gsutil Documentation
NEW QUESTION # 133
......
Pass Google Professional-Cloud-Security-Engineer Actual Free Exam Q&As Updated Dump: https://www.validdumps.top/Professional-Cloud-Security-Engineer-exam-torrent.html
Latest Professional-Cloud-Security-Engineer Actual Free Exam Updated 320 Questions: https://drive.google.com/open?id=1VeFNzQ570XW75bguGd6g1qq4ohS-Z9TW