πŸ”

PCSE β€” questions

Page 15 of 18 Β· 356 total questions.

Topic 1 Β· Question 281

You just implemented a Secure Web Proxy instance on Google Cloud for your organization. You were able to reach the internet when you tested this configuration on your test instance. However, developers cannot access the allowed URLs on the Secure Web Proxy instance from their Linux instance on Google Cloud. You want to solve this problem with developers. What should you do?

  • AConfigure a Cloud NAT gateway to enable internet access from the developer instance subnet.
  • BEnsure that the developers have restarted their instance and HTTP service is enabled.
  • CEnsure that the developers have explicitly configured the proxy address on their instance. (correct answer)
  • DConfigure a firewall rule to allow HTTP/S from the developer instance.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Ensure that the developers have explicitly configured the proxy address on their instance.

Topic 1 Β· Question 282

You have just created a new log bucket to replace the _Default log bucket. You want to route all log entries that are currently routed to the _Default log bucket to this new log bucket, in the most efficient manner. What should you do?

  • ACreate exclusion filters for the _Default sink to prevent it from receiving new logs. Create a user-defined sink, and select the new log bucket as the sink destination.
  • BDisable the _Default sink. Create a user-defined sink and select the new log bucket as the sink destination.
  • CCreate a user-defined sink with inclusion filters copied from the _Default sink. Select the new log bucket as the sink destination.
  • DEdit the _Default sink, and select the new log bucket as the sink destination. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Edit the _Default sink, and select the new log bucket as the sink destination.

Topic 1 Β· Question 283

Your organization's use of the Google Cloud has grown substantially and there are many different groups using different cloud resources independently. You must identify common misconfigurations and compliance violations across the organization and track findings for remedial action in a dashboard. What should you do?

  • ACreate a filter set in Cloud Asset Inventory to identify service accounts with high privileges and IAM principals with Gmail domains.
  • BScan and alert vulnerabilities and misconfigurations by using Secure Health Analytics detectors in Security Command Center Premium. (correct answer)
  • CSet up filters on Cloud Audit Logs to flag log entries for specific, risky API calls, and display the calls in a Cloud Log Analytics dashboard.
  • DAlert and track emerging attacks detected in your environment by using Event Threat Detection detectors.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Scan and alert vulnerabilities and misconfigurations by using Secure Health Analytics detectors in Security Command Center Premium.

Explanation

Security Command Center centralizes security findings, threats, and compliance posture.

Topic 1 Β· Question 284

You are responsible for a set of Cloud Functions running on your organization's Google Cloud environment. During the last annual security review, secrets were identified in environment variables of some of these Cloud Functions. You must ensure that secrets are identified in a timely manner. What should you do?

  • AImplement regular peer reviews to assess the environment variables and identify secrets in your Cloud Functions. Raise a security incident if secrets are discovered.
  • BImplement a Cloud Function that scans the environment variables multiple times a day, and creates a finding in Security Command Center if secrets are discovered.
  • CUse Sensitive Data Protection to scan the environment variables multiple times per day, and create a finding in Security Command Center if secrets are discovered. (correct answer)
  • DIntegrate dynamic application security testing into the CI/CD pipeline that scans the application code for the Cloud Functions. Fail the build process if secrets are discovered.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Sensitive Data Protection to scan the environment variables multiple times per day, and create a finding in Security Command Center if secrets are discovered.

Explanation

Security Command Center centralizes security findings, threats, and compliance posture.

Topic 1 Β· Question 285

Your organization 1s developing a new SaaS application on Google Cloud. Stringent compliance standards require visibility into privileged account activity, and potentially unauthorized changes and misconfigurations to the application's infrastructure. You need to monitor administrative actions, log changes to IAM roles and permissions, and be able to trace potentially unauthorized configuration changes. What should you do?

  • ACreate log sinks to Cloud Storage for long-term retention. Set up log-based alerts in Cloud Logging based on relevant log types. Enable VPC Flow Logs for network visibility.
  • BDeploy Cloud IDS and activate Firewall Rules Logging. Create a custom dashboard in Security Command Center to visualize potential intrusion attempts.
  • CDetect sensitive administrative actions by using Cloud Logging with custom filters. Enable VPC Flow Logs with BigQuery exports for rapid analysis of network traffic patterns.
  • DEnable Event Threat Detection and Security Health Analytics in Security Command Center. Set up detailed logging for IAM-related activity and relevant project resources by deploying Cloud Audit Logs. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Enable Event Threat Detection and Security Health Analytics in Security Command Center. Set up detailed logging for IAM-related activity and relevant project resources by deploying Cloud Audit Logs.

Explanation

Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources. Security Command Center centralizes security findings, threats, and compliance posture. Cloud Audit Logs record administrative and data-access activity for auditing and governance.

Topic 1 Β· Question 286

Your application development team is releasing a new critical feature. To complete their final testing, they requested 10 thousand real transaction records. The new feature includes format checking on the primary account number (PAN) of a credit card. You must support the request and minimize the risk of unintended personally identifiable information (PII) exposure. What should you do?

  • ARun the new application by using Confidential Computing to ensure PII and card PAN is encrypted in use.
  • BScan and redact PII from the records by using the Cloud Data Loss Prevention API. Perform format-preserving encryption on the card PAN. (correct answer)
  • CEncrypt the records by using Cloud Key Management Service to protect the PII and card PAN.
  • DBuild a tool to replace the card PAN and PII fields with randomly generated values.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Scan and redact PII from the records by using the Cloud Data Loss Prevention API. Perform format-preserving encryption on the card PAN.

Topic 1 Β· Question 287

You work for a banking organization. You are migrating sensitive customer data to Google Cloud that is currently encrypted at rest while on-premises. There are strict regulatory requirements when moving sensitive data to the cloud. Independent of the cloud service provider, you must be able to audit key usage and be able to deny certain types of decrypt requests. You must choose an encryption strategy that will ensure robust security and compliance with the regulations. What should you do?

  • AUtilize Google default encryption and Cloud IAM to keep the keys within your organization's control.
  • BImplement Cloud External Key Manager (Cloud EKM) with Access Approval, to integrate with your existing on-premises key management solution.
  • CImplement Cloud External Key Manager (Cloud EKM) with Key Access Justifications to integrate with your existing one premises key management solution. (correct answer)
  • DUtilize customer-managed encryption keys (CMEK) created in a dedicated Google Compute Engine instance with Confidential Compute encryption, under your organization's control.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Implement Cloud External Key Manager (Cloud EKM) with Key Access Justifications to integrate with your existing one premises key management solution.

Explanation

Cloud External Key Manager lets you hold encryption keys outside Google Cloud.

Topic 1 Β· Question 288

Your organization is developing an application that will have both corporate and public end-users. You want to centrally manage those customers' identities and authorizations. Corporate end users must access the application by using their corporate user and domain name. What should you do?

  • AAdd the corporate and public end-user domains to domain restricted sharing on the organization.
  • BFederate the customers' identity provider (IdP) with Workforce Identity Federation in your application's project.
  • CDo nothing. Google Workspace identities will allow you to filter personal accounts and disable their access.
  • DUse a customer identity and access management tool (CIAM) like Identity Platform. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use a customer identity and access management tool (CIAM) like Identity Platform.

Explanation

Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 1 Β· Question 289

You work for an organization that handles sensitive customer data. You must secure a series of Google Cloud Storage buckets housing this data and meet these requirements: β€’ Multiple teams need varying access levels (some read-only, some read-write). β€’ Data must be protected in storage and at rest. β€’ It's critical to track file changes and audit access for compliance purposes. β€’ For compliance purposes, the organization must have control over the encryption keys. What should you do?

  • ACreate IAM groups for each team and manage permissions at the group level. Employ server-side encryption and Object Versioning by Google Cloud Storage. Configure cloud monitoring tools to alert on anomalous data access patterns.
  • BSet individual permissions for each team and apply access control lists (ACLs) to each bucket and file. Enforce TLS encryption for file transfers. Enable Object Versioning and Cloud Audit Logs for the storage buckets.
  • CUse predefined IAM roles tailored to each team's access needs, such as Storage Object Viewer and Storage Object User. Utilize customer-supplied encryption keys (CSEK) and enforce TLS encryption. Turn on both Object Versioning and Cloud Audit Logs for the storage buckets. (correct answer)
  • DAssign IAM permissions for all teams at the object level. Implement third-party software to encrypt data at rest. Track data access by using network logs.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use predefined IAM roles tailored to each team's access needs, such as Storage Object Viewer and Storage Object User. Utilize customer-supplied encryption keys (CSEK) and enforce TLS encryption. Turn on both Object Ve...

Explanation

Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources. Cloud Audit Logs record administrative and data-access activity for auditing and governance.

Topic 1 Β· Question 290

You are implementing communications restrictions for specific services in your Google Cloud organization. Your data analytics team works in a dedicated folder. You need to ensure that access to BigQuery is controlled for that folder and its projects. The data analytics team must be able to control the restrictions only at the folder level. What should you do?

  • ACreate an organization-level access policy with a service perimeter to restrict BigQuery access. Assign the data analytics team the Access Context Manager Editor role on the access policy to allow the team to configure the access policy.
  • BCreate a scoped policy on the folder with a service perimeter to restrict BigQuery access. Assign the data analytics team the Access Context Manager Editor role on the scoped policy to allow the team to configure the scoped policy. (correct answer)
  • CDefine a hierarchical firewall policy on the folder to deny BigQuery access. Assign the data analytics team the Compute Organization Firewall Policy Admin role to allow the team to configure rules for the firewall policy.
  • DEnforce the Restrict Resource Service Usage organization policy constraint on the folder to restrict BigQuery access. Assign the data analytics team the Organization Policy Administrator role to allow the team to manage exclusions within the folder.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a scoped policy on the folder with a service perimeter to restrict BigQuery access. Assign the data analytics team the Access Context Manager Editor role on the scoped policy to allow the team to configure the...

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. Access Context Manager defines context-aware access policies based on identity and device.

Topic 1 Β· Question 291

Your organization шs using a third-party identity and authentication provider to centrally manage users. You want to use this identity provider to grant access to the Google Cloud console without syncing identities to Google Cloud. Users should receive permissions based on attributes. What should you do?

  • AConfigure the central identity provider as a workforce identity pool provider in Workforce Identity Federation. Create an attribute mapping by using the Common Expression Language (CEL). (correct answer)
  • BConfigure a periodic synchronization of relevant users and groups with attributes to Cloud Identity. Activate single sign-on by using the Security Assertion Markup Language (SAML).
  • CSet up the Google Cloud Identity Platform. Configure an external authentication provider by using OpenID Connect and link user accounts based on attributes.
  • DActivate external identities on the Identity-Aware Proxy. Use the Security Assertion Markup Language (SAML) to configure authentication based on attributes to the central authentication provider.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure the central identity provider as a workforce identity pool provider in Workforce Identity Federation. Create an attribute mapping by using the Common Expression Language (CEL).

Topic 1 Β· Question 292

You are implementing a new web application on Google Cloud that will be accessed from your on-premises network. To provide protection from threats like malware, you must implement transport layer security (TLS) interception for incoming traffic to your application. What should you do?

  • AConfigure Secure Web Proxy. Offload the TLS traffic in the load balancer, inspect the traffic, and forward the traffic to the web application.
  • BConfigure an internal proxy load balancer. Offload the TLS traffic in the load balancer inspect, the traffic and forward the traffic to the web application.
  • CConfigure a hierarchical firewall policy. Enable TLS interception by using Cloud Next Generation Firewall (NGFW) Enterprise. (correct answer)
  • DConfigure a VPC firewall rule. Enable TLS interception by using Cloud Next Generation Firewall (NGFW) Enterprise.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure a hierarchical firewall policy. Enable TLS interception by using Cloud Next Generation Firewall (NGFW) Enterprise.

Topic 1 Β· Question 293

Your organization has hired a small, temporary partner team for 18 months. The temporary team will work alongside your DevOps team to develop your organization's application that is hosted on Google Cloud. You must give the temporary partner team access to your application's resources on Google Cloud and ensure that partner employees lose access. If they are removed from their employer's organization. What should you do?

  • ACreate a temporary username and password for the temporary partner team members. Auto-clean the usernames and passwords after the work engagement has ended.
  • BCreate a workforce identity pool and federate the identity pool with the identity provider (IdP) of the temporary partner team. (correct answer)
  • CImplement just-in-time privileged access to Google Cloud for the temporary partner team.
  • DAdd the identities of the temporary partner team members to your identity provider (IdP).
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a workforce identity pool and federate the identity pool with the identity provider (IdP) of the temporary partner team.

Topic 1 Β· Question 294

Your organization has an internet-facing application behind a load balancer. Your regulators require end-to-end encryption of user login credentials. You must implement this requirement. What should you do?

  • AGenerate a symmetric key with Cloud KMS. Encrypt client-side user credentials by using the symmetric key.
  • BConcatenate the credential with a timestamp. Submit the timestamp and hashed value of credentials to the network.
  • CDeploy the TLS certificate at Google Cloud Global HTTPs Load Balancer, and submit the user credentials through HTTPs. (correct answer)
  • DGenerate an asymmetric key with Cloud KMS. Encrypt client-side user credentials using the public key.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Deploy the TLS certificate at Google Cloud Global HTTPs Load Balancer, and submit the user credentials through HTTPs.

Explanation

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

Topic 1 Β· Question 295

Your organization heavily utilizes serverless applications while prioritizing security best practices. You are responsible for enforcing image provenance and compliance with security standards before deployment. You leverage Cloud Build as your continuous integration and continuous deployment (CI/CD) tool for building container images. You must configure Binary Authorization to ensure that only images built by your Cloud Build pipeline are deployed and that the images pass security standard compliance checks. What should you do?

  • ACreate a Binary Authorization attestor that uses a scanner to assess source code management repositories. Deploy images only if the attestor validates results against a security policy.
  • BCreate a Binary Authorization attestor that utilizes a scanner to evaluate container image build processes. Define a policy that requires deployment of images only if this attestation is present. (correct answer)
  • CCreate a Binary Authorization attestor that retrieves the Cloud Build build ID of the container image. Configure a policy to allow deployment only if there's a matching build ID attestation.
  • DUtilize a custom Security Health Analytics module to create a policy. Enforce the policy through Binary Authorization to prevent deployment of images that do not meet predefined security standards.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a Binary Authorization attestor that utilizes a scanner to evaluate container image build processes. Define a policy that requires deployment of images only if this attestation is present.

Topic 1 Β· Question 296

Your organization operates in a highly regulated industry and uses multiple Google Cloud services. You need to identify potential risks to regulatory compliance. Which situation introduces the greatest risk?

  • AThe security team mandates the use of customer-managed encryption keys (CMEK) for all data classified as sensitive.
  • BSensitive data is stored in a Cloud Storage bucket with the uniform bucket-level access setting enabled.
  • CThe audit team needs access to Cloud Audit Logs related to managed services like BigQuery.
  • DPrincipals have broad IAM roles allowing the creation and management of Compute Engine VMs without a pre-defined hardening process. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Principals have broad IAM roles allowing the creation and management of Compute Engine VMs without a pre-defined hardening process.

Explanation

Compute Engine provides configurable virtual machines when you need full control of the OS. Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 1 Β· Question 297

Your multinational organization is undergoing rapid expansion within Google Cloud. New teams and projects are added frequently. You are concerned about the potential for inconsistent security policy application and permission sprawl across the organization. You must enforce consistent standards while maintaining the autonomy of regional teams. You need to design a strategy to effectively manage IAM and organization policies at scale, ensuring security and administrative efficiency. What should you do?

  • ACreate detailed organization-wide policies for common scenarios. Instruct teams to apply the policies carefully at the project and resource level as needed.
  • BDelegate the creation of organization policies to regional teams. Centrally review these policies for compliance before deployment.
  • CDefine a small set of essential organization policies. Supplement these policies with a library of optional policy templates for teams to leverage as needed.
  • DUse a hierarchical structure of folders. Implement template-based organization policies that cascade down, allowing limited customization by regional teams. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use a hierarchical structure of folders. Implement template-based organization policies that cascade down, allowing limited customization by regional teams.

Topic 1 Β· Question 298

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?

  • AConfigure 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.
  • BEnable the metrics explorer in Cloud Monitoring to follow the service account authentication events and build alerts linked on it.
  • CUse 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. (correct answer)
  • DDeploy the OS Config Management agent to your VMs. Use OS Config Management to create patch management jobs and monitor system modifications.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: 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.

Explanation

Cloud Audit Logs record administrative and data-access activity for auditing and governance.

Topic 1 Β· Question 299

You manage multiple internal-only applications that are hosted within different Google Cloud projects. You are deploying a new application that requires external internet access. To maintain security, you want to clearly separate this new application from internal systems. Your solution must have effective security isolation for the new externally-facing application. What should you do?

  • ADeploy the application within the same project as an internal application. Use a Shared VPC model to manage network configurations.
  • BPlace the application in the same project as an existing internal application, and adjust firewall rules to allow external traffic.
  • CCreate a VPC Service Controls perimeter, and place the new application’s project within that perimeter. (correct answer)
  • DCreate a new project for the application, and use VPC Network Peering to access necessary resources in the internal projects.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a VPC Service Controls perimeter, and place the new application’s project within that perimeter.

Explanation

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 300

You work for an ecommerce company that stores sensitive customer data across multiple Google Cloud regions. The development team has built a new 3-tier application to process orders and must integrate the application into the production environment. You must design the network architecture to ensure strong security boundaries and isolation for the new application, facilitate secure remote maintenance by authorized third-party vendors, and follow the principle of least privilege. What should you do?

  • ACreate separate VPC networks for each tier. Use VPC peering between application tiers and other required VPCs. Provide vendors with SSH keys and root access only to the instances within the VPC for maintenance purposes.
  • BCreate a single VPC network and create different subnets for each tier. Create a new Google project specifically for the third-party vendors and grant the network admin role to the vendors. Deploy a VPN appliance and rely on the vendors’ configurations to secure third-party access.
  • CCreate separate VPC networks for each tier. Use VPC peering between application tiers and other required VPCs. Enable Identity-Aware Proxy (IAP) for remote access to management resources, limiting access to authorized vendors. (correct answer)
  • DCreate a single VPC network and create different subnets for each tier. Create a new Google project specifically for the third-party vendors. Grant the vendors ownership of that project and the ability to modify the Shared VPC configuration.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create separate VPC networks for each tier. Use VPC peering between application tiers and other required VPCs. Enable Identity-Aware Proxy (IAP) for remote access to management resources, limiting access to authorized...

Explanation

VPC Network Peering privately connects two VPC networks without a gateway. A VPC provides a global, software-defined private network for your Google Cloud resources. Identity-Aware Proxy enforces per-request access control to apps without a VPN.

Showing questions 281–300 of 356 Β· Page 15 of 18