πŸ”

PCSE β€” questions

Page 7 of 18 Β· 356 total questions.

Topic 1 Β· Question 121

You manage your organization's Security Operations Center (SOC). You currently monitor and detect network traffic anomalies in your Google Cloud VPCs based on packet header information. However, you want the capability to explore network flows and their payload to aid investigations. Which Google Cloud product should you use?

  • AMarketplace IDS
  • BVPC Flow Logs
  • CVPC Service Controls logs
  • DPacket Mirroring (correct answer)
  • EGoogle Cloud Armor Deep Packet Inspection
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Packet Mirroring.

Topic 1 Β· Question 122

Your organization acquired a new workload. The Web and Application (App) servers will be running on Compute Engine in a newly created custom VPC. You are responsible for configuring a secure network communication solution that meets the following requirements: β€’ Only allows communication between the Web and App tiers. β€’ Enforces consistent network security when autoscaling the Web and App tiers. β€’ Prevents Compute Engine Instance Admins from altering network traffic. What should you do?

  • A1. Configure all running Web and App servers with respective network tags. 2. Create an allow VPC firewall rule that specifies the target/source with respective network tags.
  • B1. Configure all running Web and App servers with respective service accounts. 2. Create an allow VPC firewall rule that specifies the target/source with respective service accounts.
  • C1. Re-deploy the Web and App servers with instance templates configured with respective network tags. 2. Create an allow VPC firewall rule that specifies the target/source with respective network tags.
  • D1. Re-deploy the Web and App servers with instance templates configured with respective service accounts. 2. Create an allow VPC firewall rule that specifies the target/source with respective service accounts. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: 1. Re-deploy the Web and App servers with instance templates configured with respective service accounts. 2. Create an allow VPC firewall rule that specifies the target/source with respective service accounts.

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources. A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 1 Β· Question 123

You need to connect your organization's on-premises network with an existing Google Cloud environment that includes one Shared VPC with two subnets named Production and Non-Production. You are required to: β€’ Use a private transport link. β€’ Configure access to Google Cloud APIs through private API endpoints originating from on-premises environments. β€’ Ensure that Google Cloud APIs are only consumed via VPC Service Controls. What should you do?

  • A1. Set up a Cloud VPN link between the on-premises environment and Google Cloud. 2. Configure private access using the restricted.googleapis.com domains in on-premises DNS configurations.
  • B1. Set up a Partner Interconnect link between the on-premises environment and Google Cloud. 2. Configure private access using the private.googleapis.com domains in on-premises DNS configurations.
  • C1. Set up a Direct Peering link between the on-premises environment and Google Cloud. 2. Configure private access for both VPC subnets.
  • D1. Set up a Dedicated Interconnect link between the on-premises environment and Google Cloud. 2. Configure private access using the restricted.googleapis.com domains in on-premises DNS configurations. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: 1. Set up a Dedicated Interconnect link between the on-premises environment and Google Cloud. 2. Configure private access using the restricted.googleapis.com domains in on-premises DNS configurations.

Explanation

Dedicated Interconnect provides a private physical connection into Google's network.

Topic 1 Β· Question 124

You are working with protected health information (PHI) for an electronic health record system. The privacy officer is concerned that sensitive data is stored in the analytics system. You are tasked with anonymizing the sensitive data in a way that is not reversible. Also, the anonymized data should not preserve the character set and length. Which Google Cloud solution should you use?

  • ACloud Data Loss Prevention with deterministic encryption using AES-SIV
  • BCloud Data Loss Prevention with format-preserving encryption
  • CCloud Data Loss Prevention with cryptographic hashing (correct answer)
  • DCloud Data Loss Prevention with Cloud Key Management Service wrapped cryptographic keys
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Cloud Data Loss Prevention with cryptographic hashing.

Topic 1 Β· Question 125 Β· Select all that apply

You are setting up a CI/CD pipeline to deploy containerized applications to your production clusters on Google Kubernetes Engine (GKE). You need to prevent containers with known vulnerabilities from being deployed. You have the following requirements for your solution: Must be cloud-native - β€’ Must be cost-efficient β€’ Minimize operational overhead How should you accomplish this? (Choose two.)

  • ACreate a Cloud Build pipeline that will monitor changes to your container templates in a Cloud Source Repositories repository. Add a step to analyze Container Analysis results before allowing the build to continue. (correct answer)
  • BUse a Cloud Function triggered by log events in Google Cloud's operations suite to automatically scan your container images in Container Registry.
  • CUse a cron job on a Compute Engine instance to scan your existing repositories for known vulnerabilities and raise an alert if a non-compliant container image is found.
  • DDeploy Jenkins on GKE and configure a CI/CD pipeline to deploy your containers to Container Registry. Add a step to validate your container images before deploying your container to the cluster.
  • EIn your CI/CD pipeline, add an attestation on your container image when no vulnerabilities have been found. Use a Binary Authorization policy to block deployments of containers with no attestation in your cluster. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: Create a Cloud Build pipeline that will monitor changes to your container templates in a Cloud Source Repositories repository. Add a step to analyze Container Analysis results before allowing the build to continue. Option E: In your CI/CD pipeline, add an attestation on your container image when no vulnerabilities have been found. Use a Binary Authorization policy to block deployments of containers with no attestation in your cluster.

Explanation

Cloud Build runs managed CI pipelines to build, test, and package code.

Topic 1 Β· Question 126

Which type of load balancer should you use to maintain client IP by default while using the standard network tier?

  • ASSL Proxy
  • BTCP Proxy
  • CInternal TCP/UDP
  • DTCP/UDP Network (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: TCP/UDP Network.

Topic 1 Β· Question 127

You want to prevent users from accidentally deleting a Shared VPC host project. Which organization-level policy constraint should you enable?

  • Acompute.restrictSharedVpcHostProjects
  • Bcompute.restrictXpnProjectLienRemoval (correct answer)
  • Ccompute.restrictSharedVpcSubnetworks
  • Dcompute.sharedReservationsOwnerProjects
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: compute.restrictXpnProjectLienRemoval.

Topic 1 Β· Question 128

Users are reporting an outage on your public-facing application that is hosted on Compute Engine. You suspect that a recent change to your firewall rules is responsible. You need to test whether your firewall rules are working properly. What should you do?

  • AEnable Firewall Rules Logging on the latest rules that were changed. Use Logs Explorer to analyze whether the rules are working correctly. (correct answer)
  • BConnect to a bastion host in your VPC. Use a network traffic analyzer to determine at which point your requests are being blocked.
  • CIn a pre-production environment, disable all firewall rules individually to determine which one is blocking user traffic.
  • DEnable VPC Flow Logs in your VPC. Use Logs Explorer to analyze whether the rules are working correctly.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enable Firewall Rules Logging on the latest rules that were changed. Use Logs Explorer to analyze whether the rules are working correctly.

Topic 1 Β· Question 129

You are a security administrator at your company. Per Google-recommended best practices, you implemented the domain restricted sharing organization policy to allow only required domains to access your projects. An engineering team is now reporting that users at an external partner outside your organization domain cannot be granted access to the resources in a project. How should you make an exception for your partner's domain while following the stated best practices?

  • ATurn off the domain restriction sharing organization policy. Set the policy value to "Allow All."
  • BTurn off the domain restricted sharing organization policy. Provide the external partners with the required permissions using Google's Identity and Access Management (IAM) service.
  • CTurn off the domain restricted sharing organization policy. Add each partner's Google Workspace customer ID to a Google group, add the Google group as an exception under the organization policy, and then turn the policy back on.
  • DTurn off the domain restricted sharing organization policy. Set the policy value to "Custom." Add each external partner's Cloud Identity or Google Workspace customer ID as an exception under the organization policy, and then turn the policy back on. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Turn off the domain restricted sharing organization policy. Set the policy value to "Custom." Add each external partner's Cloud Identity or Google Workspace customer ID as an exception under the organization policy, a...

Explanation

Cloud Identity manages users, groups, and device policies as a managed identity platform. Organization Policy sets guardrails that constrain how resources can be configured across the org.

Topic 1 Β· Question 130 Β· Select all that apply

You plan to use a Google Cloud Armor policy to prevent common attacks such as cross-site scripting (XSS) and SQL injection (SQLi) from reaching your web application's backend. What are two requirements for using Google Cloud Armor security policies? (Choose two.)

  • AThe load balancer must be an external SSL proxy load balancer.
  • BGoogle Cloud Armor Policy rules can only match on Layer 7 (L7) attributes.
  • CThe load balancer must use the Premium Network Service Tier.
  • DThe backend service's load balancing scheme must be EXTERNAL. (correct answer)
  • EThe load balancer must be an external HTTP(S) load balancer. (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: The backend service's load balancing scheme must be EXTERNAL. Option E: The load balancer must be an external HTTP(S) load balancer.

Explanation

The external HTTP(S) Load Balancer distributes global web traffic with a single anycast IP. A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 1 Β· Question 131

You perform a security assessment on a customer architecture and discover that multiple VMs have public IP addresses. After providing a recommendation to remove the public IP addresses, you are told those VMs need to communicate to external sites as part of the customer's typical operations. What should you recommend to reduce the need for public IP addresses in your customer's VMs?

  • AGoogle Cloud Armor
  • BCloud NAT (correct answer)
  • CCloud Router
  • DCloud VPN
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud NAT

Explanation

Cloud NAT lets private instances reach the internet for outbound traffic without external IPs.

Topic 1 Β· Question 132 Β· Select all that apply

You are tasked with exporting and auditing security logs for login activity events for Google Cloud console and API calls that modify configurations to Google Cloud resources. Your export must meet the following requirements: β€’ Export related logs for all projects in the Google Cloud organization. β€’ Export logs in near real-time to an external SIEM. What should you do? (Choose two.)

  • ACreate a Log Sink at the organization level with a Pub/Sub destination.
  • BCreate a Log Sink at the organization level with the includeChildren parameter, and set the destination to a Pub/Sub topic. (correct answer)
  • CEnable Data Access audit logs at the organization level to apply to all projects.
  • DEnable Google Workspace audit logs to be shared with Google Cloud in the Admin Console. (correct answer)
  • EEnsure that the SIEM processes the AuthenticationInfo field in the audit log entry to gather identity information.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Create a Log Sink at the organization level with the includeChildren parameter, and set the destination to a Pub/Sub topic. Option D: Enable Google Workspace audit logs to be shared with Google Cloud in the Admin Console.

Explanation

Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 133

Your company's Chief Information Security Officer (CISO) creates a requirement that business data must be stored in specific locations due to regulatory requirements that affect the company's global expansion plans. After working on the details to implement this requirement, you determine the following: β€’ The services in scope are included in the Google Cloud Data Residency Terms. β€’ The business data remains within specific locations under the same organization. β€’ The folder structure can contain multiple data residency locations. You plan to use the Resource Location Restriction organization policy constraint. At which level in the resource hierarchy should you set the constraint?

  • AFolder
  • BResource
  • CProject (correct answer)
  • DOrganization
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Project.

Topic 1 Β· Question 134

You need to set up a Cloud interconnect connection between your company's on-premises data center and VPC host network. You want to make sure that on- premises applications can only access Google APIs over the Cloud Interconnect and not through the public internet. You are required to only use APIs that are supported by VPC Service Controls to mitigate against exfiltration risk to non-supported APIs. How should you configure the network?

  • AEnable Private Google Access on the regional subnets and global dynamic routing mode.
  • BSet up a Private Service Connect endpoint IP address with the API bundle of "all-apis", which is advertised as a route over the Cloud interconnect connection.
  • CUse private.googleapis.com to access Google APIs using a set of IP addresses only routable from within Google Cloud, which are advertised as routes over the connection.
  • DUse restricted googleapis.com to access Google APIs using a set of IP addresses only routable from within Google Cloud, which are advertised as routes over the Cloud Interconnect connection. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use restricted googleapis.com to access Google APIs using a set of IP addresses only routable from within Google Cloud, which are advertised as routes over the Cloud Interconnect connection.

Explanation

Cloud Interconnect provides a dedicated, private, high-bandwidth link between on premises and Google Cloud.

Topic 1 Β· Question 135

You need to implement an encryption-at-rest strategy that protects sensitive data and reduces key management complexity for non-sensitive data. Your solution has the following requirements: β€’ Schedule key rotation for sensitive data. β€’ Control which region the encryption keys for sensitive data are stored in. β€’ Minimize the latency to access encryption keys for both sensitive and non-sensitive data. What should you do?

  • AEncrypt non-sensitive data and sensitive data with Cloud External Key Manager.
  • BEncrypt non-sensitive data and sensitive data with Cloud Key Management Service.
  • CEncrypt non-sensitive data with Google default encryption, and encrypt sensitive data with Cloud External Key Manager.
  • DEncrypt non-sensitive data with Google default encryption, and encrypt sensitive data with Cloud Key Management Service. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Encrypt non-sensitive data with Google default encryption, and encrypt sensitive data with Cloud Key Management Service.

Topic 1 Β· Question 136 Β· Select all that apply

Your security team uses encryption keys to ensure confidentiality of user data. You want to establish a process to reduce the impact of a potentially compromised symmetric encryption key in Cloud Key Management Service (Cloud KMS). Which steps should your team take before an incident occurs? (Choose two.)

  • ADisable and revoke access to compromised keys.
  • BEnable automatic key version rotation on a regular schedule. (correct answer)
  • CManually rotate key versions on an ad hoc schedule.
  • DLimit the number of messages encrypted with each key version. (correct answer)
  • EDisable the Cloud KMS API.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Enable automatic key version rotation on a regular schedule. Option D: Limit the number of messages encrypted with each key version.

Topic 1 Β· Question 137

Your company's chief information security officer (CISO) is requiring business data to be stored in specific locations due to regulatory requirements that affect the company's global expansion plans. After working on a plan to implement this requirement, you determine the following: β€’ The services in scope are included in the Google Cloud data residency requirements. β€’ The business data remains within specific locations under the same organization. β€’ The folder structure can contain multiple data residency locations. β€’ The projects are aligned to specific locations. You plan to use the Resource Location Restriction organization policy constraint with very granular control. At which level in the hierarchy should you set the constraint?

  • AOrganization
  • BResource
  • CProject (correct answer)
  • DFolder
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Project.

Topic 1 Β· Question 138

A database administrator notices malicious activities within their Cloud SQL instance. The database administrator wants to monitor the API calls that read the configuration or metadata of resources. Which logs should the database administrator review?

  • AAdmin Activity
  • BSystem Event
  • CAccess Transparency
  • DData Access (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Data Access.

Topic 1 Β· Question 139

You are backing up application logs to a shared Cloud Storage bucket that is accessible to both the administrator and analysts. Analysts should not have access to logs that contain any personally identifiable information (PII). Log files containing PII should be stored in another bucket that is only accessible to the administrator. What should you do?

  • AUpload the logs to both the shared bucket and the bucket with PII that is only accessible to the administrator. Use the Cloud Data Loss Prevention API to create a job trigger. Configure the trigger to delete any files that contain PII from the shared bucket.
  • BOn the shared bucket, configure Object Lifecycle Management to delete objects that contain PII.
  • COn the shared bucket, configure a Cloud Storage trigger that is only triggered when PII is uploaded. Use Cloud Functions to capture the trigger and delete the files that contain PII.
  • DUse Pub/Sub and Cloud Functions to trigger a Cloud Data Loss Prevention scan every time a file is uploaded to the administrator's bucket. If the scan does not detect PII, have the function move the objects into the shared Cloud Storage bucket. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Pub/Sub and Cloud Functions to trigger a Cloud Data Loss Prevention scan every time a file is uploaded to the administrator's bucket. If the scan does not detect PII, have the function move the objects into the sh...

Explanation

Cloud Functions runs event-driven code without managing servers and scales automatically. Cloud Storage provides durable, scalable object storage that is fully managed. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams.

Topic 1 Β· Question 140

You work for an organization in a regulated industry that has strict data protection requirements. The organization backs up their data in the cloud. To comply with data privacy regulations, this data can only be stored for a specific length of time and must be deleted after this specific period. You want to automate the compliance with this regulation while minimizing storage costs. What should you do?

  • AStore the data in a persistent disk, and delete the disk at expiration time.
  • BStore the data in a Cloud Bigtable table, and set an expiration time on the column families.
  • CStore the data in a BigQuery table, and set the table's expiration time.
  • DStore the data in a Cloud Storage bucket, and configure the bucket's Object Lifecycle Management feature. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Store the data in a Cloud Storage bucket, and configure the bucket's Object Lifecycle Management feature.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed.

Showing questions 121–140 of 356 Β· Page 7 of 18