πŸ”

PCSE β€” questions

Page 9 of 18 Β· 356 total questions.

Topic 1 Β· Question 161

You are implementing data protection by design and in accordance with GDPR requirements. As part of design reviews, you are told that you need to manage the encryption key for a solution that includes workloads for Compute Engine, Google Kubernetes Engine, Cloud Storage, BigQuery, and Pub/Sub. Which option should you choose for this implementation?

  • ACloud External Key Manager
  • BCustomer-managed encryption keys (correct answer)
  • CCustomer-supplied encryption keys
  • DGoogle default encryption
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Customer-managed encryption keys.

Topic 1 Β· Question 162

Which Identity-Aware Proxy role should you grant to an Identity and Access Management (IAM) user to access HTTPS resources?

  • ASecurity Reviewer
  • BIAP-Secured Tunnel User
  • CIAP-Secured Web App User (correct answer)
  • DService Broker Operator
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: IAP-Secured Web App User

Explanation

Identity-Aware Proxy enforces per-request access control to apps without a VPN.

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

You need to audit the network segmentation for your Google Cloud footprint. You currently operate Production and Non-Production infrastructure-as-a-service (IaaS) environments. All your VM instances are deployed without any service account customization. After observing the traffic in your custom network, you notice that all instances can communicate freely `" despite tag-based VPC firewall rules in place to segment traffic properly `" with a priority of 1000. What are the most likely reasons for this behavior?

  • AAll VM instances are missing the respective network tags. (correct answer)
  • BAll VM instances are residing in the same network subnet.
  • CAll VM instances are configured with the same network route.
  • DA VPC firewall rule is allowing traffic between source/targets based on the same service account with priority 999. E . A VPC firewall rule is allowing traffic between source/targets based on the same service account with priority 1001. (correct answer)
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: All VM instances are missing the respective network tags. Option D: A VPC firewall rule is allowing traffic between source/targets based on the same service account with priority 999. E. A VPC firewall rule is allowing traffic between source/targets based on the same service account...

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 164

You are creating a new infrastructure CI/CD pipeline to deploy hundreds of ephemeral projects in your Google Cloud organization to enable your users to interact with Google Cloud. You want to restrict the use of the default networks in your organization while following Google-recommended best practices. What should you do?

  • AEnable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level. (correct answer)
  • BCreate a cron job to trigger a daily Cloud Function to automatically delete all default networks for each project.
  • CGrant your users the IAM Owner role at the organization level. Create a VPC Service Controls perimeter around the project that restricts the compute.googleapis.com API.
  • DOnly allow your users to use your CI/CD pipeline with a predefined set of infrastructure templates they can deploy to skip the creation of the default networks.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.

Explanation

Organization Policy sets guardrails that constrain how resources can be configured across the org.

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

You are a security administrator at your company and are responsible for managing access controls (identification, authentication, and authorization) on Google Cloud. Which Google-recommended best practices should you follow when configuring authentication and authorization? (Choose two.)

  • AUse Google default encryption.
  • BManually add users to Google Cloud.
  • CProvision users with basic roles using Google's Identity and Access Management (IAM) service.
  • DUse SSO/SAML integration with Cloud Identity for user authentication and user lifecycle management. (correct answer)
  • EProvide granular access with predefined roles. (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: Use SSO/SAML integration with Cloud Identity for user authentication and user lifecycle management. Option E: Provide granular access with predefined roles.

Explanation

Cloud Identity manages users, groups, and device policies as a managed identity platform.

Topic 1 Β· Question 166

You have been tasked with inspecting IP packet data for invalid or malicious content. What should you do?

  • AUse Packet Mirroring to mirror traffic to and from particular VM instances. Perform inspection using security software that analyzes the mirrored traffic. (correct answer)
  • BEnable VPC Flow Logs for all subnets in the VPC. Perform inspection on the Flow Logs data using Cloud Logging.
  • CConfigure the Fluentd agent on each VM Instance within the VPC. Perform inspection on the log data using Cloud Logging.
  • DConfigure Google Cloud Armor access logs to perform inspection on the log data.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Packet Mirroring to mirror traffic to and from particular VM instances. Perform inspection using security software that analyzes the mirrored traffic.

Topic 1 Β· Question 167

You have the following resource hierarchy. There is an organization policy at each node in the hierarchy as shown. Which load balancer types are denied in VPC A?

  • AAll load balancer types are denied in accordance with the global node's policy. (correct answer)
  • BINTERNAL_TCP_UDP, INTERNAL_HTTP_HTTPS is denied in accordance with the folder's policy.
  • CEXTERNAL_TCP_PROXY, EXTERNAL_SSL_PROXY are denied in accordance with the project's policy.
  • DEXTERNAL_TCP_PROXY, EXTERNAL_SSL_PROXY, INTERNAL_TCP_UDP, and INTERNAL_HTTP_HTTPS are denied in accordance with the folder and project's policies.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: All load balancer types are denied in accordance with the global node's policy.

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 1 Β· Question 168

Your security team wants to implement a defense-in-depth approach to protect sensitive data stored in a Cloud Storage bucket. Your team has the following requirements: β€’ The Cloud Storage bucket in Project A can only be readable from Project B. β€’ The Cloud Storage bucket in Project A cannot be accessed from outside the network. β€’ Data in the Cloud Storage bucket cannot be copied to an external Cloud Storage bucket. What should the security team do?

  • AEnable domain restricted sharing in an organization policy, and enable uniform bucket-level access on the Cloud Storage bucket.
  • BEnable VPC Service Controls, create a perimeter around Projects A and B, and include the Cloud Storage API in the Service Perimeter configuration. (correct answer)
  • CEnable Private Access in both Project A and B's networks with strict firewall rules that allow communication between the networks.
  • DEnable VPC Peering between Project A and B's networks with strict firewall rules that allow communication between the networks.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable VPC Service Controls, create a perimeter around Projects A and B, and include the Cloud Storage API in the Service Perimeter configuration.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. VPC Service Controls create a security perimeter around managed services to prevent data exfiltration. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 169

You need to create a VPC that enables your security team to control network resources such as firewall rules. How should you configure the network to allow for separation of duties for network resources?

  • ASet up multiple VPC networks, and set up multi-NIC virtual appliances to connect the networks.
  • BSet up VPC Network Peering, and allow developers to peer their network with a Shared VPC.
  • CSet up a VPC in a project. Assign the Compute Network Admin role to the security team, and assign the Compute Admin role to the developers.
  • DSet up a Shared VPC where the security team manages the firewall rules, and share the network with developers via service projects. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Set up a Shared VPC where the security team manages the firewall rules, and share the network with developers via service projects.

Explanation

Shared VPC centralizes network administration by sharing one VPC across multiple projects. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 170

You are onboarding new users into Cloud Identity and discover that some users have created consumer user accounts using the corporate domain name. How should you manage these consumer user accounts with Cloud Identity?

  • AUse Google Cloud Directory Sync to convert the unmanaged user accounts.
  • BCreate a new managed user account for each consumer user account.
  • CUse the transfer tool for unmanaged user accounts. (correct answer)
  • DConfigure single sign-on using a customer's third-party provider.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the transfer tool for unmanaged user accounts.

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

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.)

  • AGrant users the compute.imageUser role in their own projects.
  • BGrant users the compute.imageUser role in the OS image project. (correct answer)
  • CStore the image in every project that is spun up in your organization.
  • DSet up an image access organization policy constraint, and list the security team managed project in the project's allow list. (correct answer)
  • ERemove VM instance creation permission from users of the projects, and only allow you and your team to create VM instances.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Grant users the compute.imageUser role in the OS image project. Option D: Set up an image access organization policy constraint, and list the security team managed project in the project's allow list.

Explanation

Organization Policy sets guardrails that constrain how resources can be configured across the org.

Topic 1 Β· Question 172

You're developing the incident response plan for your company. You need to define the access strategy that your DevOps team will use when reviewing and investigating a deployment issue in your Google Cloud environment. There are two main requirements: β€’ Least-privilege access must be enforced at all times. β€’ The DevOps team must be able to access the required resources only during the deployment issue. How should you grant access while following Google-recommended best practices?

  • AAssign the Project Viewer Identity and Access Management (IAM) role to the DevOps team.
  • BCreate a custom IAM role with limited list/view permissions, and assign it to the DevOps team.
  • CCreate a service account, and grant it the Project Owner IAM role. Give the Service Account User Role on this service account to the DevOps team.
  • DCreate a service account, and grant it limited list/view permissions. Give the Service Account User Role on this service account to the DevOps team. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create a service account, and grant it limited list/view permissions. Give the Service Account User Role on this service account to the DevOps team.

Explanation

A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 1 Β· Question 173

You are working with a client who plans to migrate their data to Google Cloud. You are responsible for recommending an encryption service to manage their encrypted keys. You have the following requirements: β€’ The master key must be rotated at least once every 45 days. β€’ The solution that stores the master key must be FIPS 140-2 Level 3 validated. β€’ The master key must be stored in multiple regions within the US for redundancy. Which solution meets these requirements?

  • ACustomer-managed encryption keys with Cloud Key Management Service
  • BCustomer-managed encryption keys with Cloud HSM (correct answer)
  • CCustomer-supplied encryption keys
  • DGoogle-managed encryption keys
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Customer-managed encryption keys with Cloud HSM

Explanation

Cloud HSM provides hardware security modules for key protection to meet compliance.

Topic 1 Β· Question 174

You manage your organization's Security Operations Center (SOC). You currently monitor and detect network traffic anomalies in your VPCs based on network logs. However, you want to explore your environment using network payloads and headers. Which Google Cloud product should you use?

  • ACloud IDS (correct answer)
  • BVPC Service Controls logs
  • CVPC Flow Logs
  • DGoogle Cloud Armor
  • EPacket Mirroring
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Cloud IDS.

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

You are consulting with a client that requires end-to-end encryption of application data (including data in transit, data in use, and data at rest) within Google Cloud. Which options should you utilize to accomplish this? (Choose two.)

  • AExternal Key Manager
  • BCustomer-supplied encryption keys
  • CHardware Security Module
  • DConfidential Computing and Istio (correct answer)
  • EClient-side encryption (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: Confidential Computing and Istio Option E: Client-side encryption.

Topic 1 Β· Question 176

You need to enforce a security policy in your Google Cloud organization that prevents users from exposing objects in their buckets externally. There are currently no buckets in your organization. Which solution should you implement proactively to achieve this goal with the least operational overhead?

  • ACreate an hourly cron job to run a Cloud Function that finds public buckets and makes them private.
  • BEnable the constraints/storage.publicAccessPrevention constraint at the organization level. (correct answer)
  • CEnable the constraints/storage.uniformBucketLevelAccess constraint at the organization level.
  • DCreate a VPC Service Controls perimeter that protects the storage.googleapis.com service in your projects that contains buckets. Add any new project that contains a bucket to the perimeter.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable the constraints/storage.publicAccessPrevention constraint at the organization level.

Topic 1 Β· Question 177

Your company requires the security and network engineering teams to identify all network anomalies and be able to capture payloads within VPCs. Which method should you use?

  • ADefine an organization policy constraint.
  • BConfigure packet mirroring policies. (correct answer)
  • CEnable VPC Flow Logs on the subnet.
  • DMonitor and analyze Cloud Audit Logs.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure packet mirroring policies.

Topic 1 Β· Question 178

An organization wants to track how bonus compensations have changed over time to identify employee outliers and correct earning disparities. This task must be performed without exposing the sensitive compensation data for any individual and must be reversible to identify the outlier. Which Cloud Data Loss Prevention API technique should you use?

  • ACryptographic hashing
  • BRedaction
  • CFormat-preserving encryption (correct answer)
  • DGeneralization
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Format-preserving encryption.

Topic 1 Β· Question 179

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.
  • BCreate a CNAME to map *.googleapis.com to restricted.googleapis.com, and create A records for restricted.googleapis.com mapped to 199.36.153.8/30.
  • 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 180

Your organization develops software involved in many open source projects and is concerned about software supply chain threats. You need to deliver provenance for the build to demonstrate the software is untampered. What should you do?

  • A1. Hire an external auditor to review and provide provenance.2. Define the scope and conditions.3. Get support from the Security department or representative.4. Publish the attestation to your public web page.
  • B1. Review the software process.2. Generate private and public key pairs and use Pretty Good Privacy (PGP) protocols to sign the output software artifacts together with a file containing the address of your enterprise and point of contact.3. Publish the PGP signed attestation to your public web page.
  • C1. Publish the software code on GitHub as open source.2. Establish a bug bounty program, and encourage the open source community to review, report, and fix the vulnerabilities.
  • D1. Generate Supply Chain Levels for Software Artifacts (SLSA) level 3 assurance by using Cloud Build.2. View the build provenance in the Security insights side panel within the Google Cloud console. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: 1. Generate Supply Chain Levels for Software Artifacts (SLSA) level 3 assurance by using Cloud Build.2. View the build provenance in the Security insights side panel within the Google Cloud console.

Explanation

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

Showing questions 161–180 of 356 Β· Page 9 of 18