🔍

PCSE — questions

Page 18 of 18 · 356 total questions.

Topic 1 · Question 341

Your organization is deploying a new web application on Compute Engine and needs robust perimeter security. You need to protect the application from common web attacks, including SQL injection and cross-site scripting (XSS), while also controlling network traffic based on the source IP address and user identity. What should you do?

  • AImplement Cloud Load Balancing and Cloud DNS. Set up Cloud CDN to cache content and mitigate some DDoS attacks. Configure Cloud Armor to provide layer 7 protection.
  • BDeploy Cloud Armor with its default WAF rules enabled. Configure network firewall rules on the Compute Engine instances to control all traffic based on source IP addresses. Use Cloud IAM to manage which users have roles granting access to the web application.
  • CUse Google Cloud Armor with pre-configured WAF rules to filter malicious traffic. Implement VPC Service Controls to create a secure perimeter around the application's resources. Manage users with Cloud IAM.
  • DDeploy Cloud Armor, and configure Cloud Firewall rules to control traffic based on source IP addresses. Integrate with Identity-Aware Proxy to control access based on user identity. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Deploy Cloud Armor, and configure Cloud Firewall rules to control traffic based on source IP addresses. Integrate with Identity-Aware Proxy to control access based on user identity.

Explanation

Cloud Armor protects applications from DDoS and common web attacks with WAF rules. Identity-Aware Proxy enforces per-request access control to apps without a VPN.

Topic 1 · Question 342

Your company is in a regulated industry that requires low overhead encryption using private connectivity from on-premises data centers to Google Cloud. You need to establish connectivity and ensure high availability across multiple regions. What should you do?

  • ASet up two pairs of HA VPNs using IPSec from the data centers in multiple regions.
  • BSet up pairs of Cloud Interconnect connections to your data centers in multiple regions, and employ MACSec encryption. (correct answer)
  • CSet up L2TP encryption over pairs of dedicated Cloud Interconnect connections from the data centers in multiple regions.
  • DSet up IPSec encryption over Partner Interconnect connections from your data centers in multiple regions.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Set up pairs of Cloud Interconnect connections to your data centers in multiple regions, and employ MACSec encryption.

Explanation

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

Topic 1 · Question 343

You manage the security logs within your cloud environment. You have configured a continuous export of security logs to Cloud Storage buckets for long-term retention. You need to provide auditors the ability to analyze the logs that were exported to Cloud Storage. Your solution must be cost-effective and quickly implemented. What should you do?

  • AUse a VM instance to download the data from Cloud Storage. Provide the auditors access to the VM and allow them to install their preferred analytics toolset.
  • BUse the data in the Cloud Storage bucket as an external table in BigQuery. Provide the auditors access to the BigQuery dataset. (correct answer)
  • CUse Dataflow to import the data from Cloud Storage into Elasticsearch. Provide the auditors with access to Elasticsearch.
  • DUse a Cloud Run job to import the log data from Cloud Storage to Cloud Logging. Provide the auditors access through Log Analytics.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use the data in the Cloud Storage bucket as an external table in BigQuery. Provide the auditors access to the BigQuery dataset.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. This option delivers the requirement at the lowest cost.

Topic 1 · Question 344

Your organization currently uses a third-party identity provider (IdP) that only requires a username and password for authentication. You need to enforce 2-step verification (2SV) for the Super admins in Cloud Identity. What should you do?

  • ACreate an organizational unit (OU) for Super admins, and enable 2SV within Cloud Identity for the OU. (correct answer)
  • BCollaborate with the third-party IdP to enable 2SV for Super admins while maintaining the current Cloud Identity configuration.
  • CImplement monitoring tools to track the authentication methods used by Super admins in Cloud Identity. Alert on those not using 2SV.
  • DEvaluate the 2SV options for Super admins offered by both the third-party IdP and Cloud Identity. Implement the solution that provides the strongest second factor.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an organizational unit (OU) for Super admins, and enable 2SV within Cloud Identity for the OU.

Explanation

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

Topic 1 · Question 345

Your organization has a hybrid cloud environment with a data center connected to Google Cloud through a dedicated Cloud Interconnect connection. You need to configure private access from your on-premises hosts to Google APIs, specifically Cloud Storage and BigQuery, without exposing traffic to the public internet. What should you do?

  • AConfigure Shared VPC to extend your Google Cloud VPC network to your on-premises environment. Use Private Google Access to access Google APIs.
  • BEstablish VPC peering between your on-premises network and your Google Cloud VPC network. Configure Cloud Firewall rules to allow traffic to Google API IP ranges.
  • CUse Private Google Access for on-premises hosts. Configure DNS resolution to point to the private.googleapis.com domain. (correct answer)
  • DConfigure Cloud NAT on your on-premises network. Configure DNS records in a private DNS zone to send requests to 199.36.153.8/30 to access Google APIs.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Private Google Access for on-premises hosts. Configure DNS resolution to point to the private.googleapis.com domain.

Explanation

Private Google Access lets internal instances reach Google APIs without external IPs.

Topic 1 · Question 346

A batch job running on Compute Engine needs temporary write access to a Cloud Storage bucket. You want the batch job to use the minimum permissions necessary to complete the task. What should you do?

  • ACreate a service account with full Cloud Storage administrator permissions. Assign the service account to the Compute Engine instance.
  • BCreate a service account and embed a long-lived service account key file that has write permissions specified directly in the batch job script.
  • CCreate a service account with the storage.objectCreator role. Use service account impersonation in the batch job's code. (correct answer)
  • DGrant the predefined storage.objectCreator role to the Compute Engine instance's default service account.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a service account with the storage.objectCreator role. Use service account impersonation in the batch job's code.

Explanation

Google Cloud Batch schedules and runs batch jobs at scale without managing infrastructure. A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 1 · Question 347

Your company has recently enabled Security Command Center at the organization level. You need to implement runtime threat detection for applications running in containers within projects residing in the production folder. Specifically, you need to be notified if additional libraries are loaded or malicious scripts are executed within these running containers. You need to configure Security Command Center to meet this requirement while ensuring findings are visible within Security Command Center. What should you do?

  • ACreate log-based metrics and alerts in Cloud Logging and Cloud Monitoring for suspicious container activity within the production folder.
  • BConfigure Security Health Analytics within Security Command Center to monitor container runtime vulnerabilities in the production folder.
  • CEnsure that the containers in the production folder are running on hosts that are using Container-Optimized OS.
  • DEnable Container Threat Detection in Security Command Center Premium tier for the projects within the production folder. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Enable Container Threat Detection in Security Command Center Premium tier for the projects within the production folder.

Explanation

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

Topic 1 · Question 348

You are managing a set of Google Cloud projects that are contained in a folder named Data Warehouse. A new data analysis team has been approved to perform data analysis for all BigQuery data in the projects within the Data Warehouse folder. They should only be able to read the data and not have permissions to modify or delete the data. You want to reduce the operational overhead of provisioning access while adhering to the principle of least privilege. What should you do?

  • AGrant the BigQuery Data Viewer role at the project level for each project within the Data Warehouse folder.
  • BGrant the BigQuery Data Viewer role at the Data Warehouse folder. (correct answer)
  • CGrant the BigQuery Data Viewer role at the dataset level for each BigQuery dataset within each project in the Data Warehouse folder.
  • DGrant the BigQuery Metadata Viewer role at the Data Warehouse folder.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Grant the BigQuery Data Viewer role at the Data Warehouse folder.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 1 · Question 349

Your company hosts a critical web application on Google Cloud. The application is experiencing an increasing number of sophisticated layer 7 attacks, including cross-site scripting (XSS) and SQL injection attempts. You need to protect the application from these attacks while minimizing the impact on legitimate traffic and ensuring high availability. What should you do?

  • AImplement a load balancer in front of the web application instances, and enable Adaptive Protection and throttling to mitigate the occurrence of these malicious requests.
  • BConfigure Cloud Next Generation Firewall to block known malicious IP addresses targeting /32 addresses.
  • CEnable Google Cloud Armor’s pre-configured WAF rules for OWASP Top 10 vulnerabilities at the backend service.
  • DConfigure a Cloud Armor security policy with customized and pre-configured WAF rules for OWASP Top 10 vulnerabilities at the load balancer. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure a Cloud Armor security policy with customized and pre-configured WAF rules for OWASP Top 10 vulnerabilities at the load balancer.

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale. Cloud Armor protects applications from DDoS and common web attacks with WAF rules.

Topic 1 · Question 350

Your financial services company needs to process customer personally identifiable information (PII) for analytics while adhering to strict privacy regulations. You must transform this data to protect individual privacy to ensure that the data retains its original format and consistency for analytical integrity. Your solution must avoid full irreversible deletion. What should you do?

  • AUse Cloud Key Management Service (Cloud KMS) to encrypt the entire dataset with a customer-managed encryption key (CMEK).
  • BSet up VPC Service Controls around the BigQuery project. Implement row-level encryption.
  • CImplement a custom BigQuery user-defined function (UDF) by using JavaScript to hash all sensitive fields before they are loaded into the analytical tables.
  • DConfigure Sensitive Data Protection (SDP) to de-identify PII using format-preserving encryption (FPE). (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure Sensitive Data Protection (SDP) to de-identify PII using format-preserving encryption (FPE).

Topic 1 · Question 351

Your global defense company is migrating top-secret classified data to BigQuery and Cloud Storage. National security regulations demand that master encryption key material never leaves the accredited on-premises cryptographic hardware. You must retain the unilateral ability to revoke data access, independent of any cloud provider. What should you do?

  • AUse customer-managed encryption keys (CMEKs) for the BigQuery datasets and Cloud Storage buckets. Store the keys in Cloud Key Management Service (Cloud KMS).
  • BUse customer-supplied encryption keys (CSEKs) by providing your own encryption keys with each data operation in Cloud Storage and BigQuery.
  • CImport existing on-premises master encryption keys into Cloud Key Management Service (Cloud KMS). Use the imported keys for BigQuery and Cloud Storage encryption.
  • DConfigure Cloud External Key Manager (Cloud EKM) for the BigQuery datasets and Cloud Storage buckets. Integrate EKM with your existing on-premises hardware security modules (HSMs). (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure Cloud External Key Manager (Cloud EKM) for the BigQuery datasets and Cloud Storage buckets. Integrate EKM with your existing on-premises hardware security modules (HSMs).

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. Cloud External Key Manager lets you hold encryption keys outside Google Cloud.

Topic 1 · Question 352

You work at a company in a regulated industry and are responsible for ongoing security of the Cloud environment. You need to prevent and detect misconfigurations in a particular folder based on specific compliance policies. You need to adhere to industry-specific compliance policies and policies that are internal to your company. What should you do?

  • ACreate a Posture file by using custom and predefined SHA or organization policies. Enforce the posture on the folder level. (correct answer)
  • BCreate custom organization policies that follow specific business requirements. Enforce the policies on the folder level.
  • CEnable Assured Workloads on the folder level, with the specific control bundle appropriate for your industry’s regulations.
  • DUse Workload Manager with custom Rego policies to continuously scan the environment for misconfigurations on the folder level.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a Posture file by using custom and predefined SHA or organization policies. Enforce the posture on the folder level.

Topic 1 · Question 353

Your organization has established a highly sensitive project within a VPC Service Controls perimeter. You need to ensure that only users meeting specific contextual requirements such as having a company-managed device, a specific location, and a valid user identity can access resources within this perimeter. You want to evaluate the impact of this change without blocking legitimate access. What should you do?

  • AEstablish a Context-Aware Access policy that specifies the required contextual attributes, and associate the policy with the VPC Service Controls perimeter in dry run mode. (correct answer)
  • BUse the VPC Service Control Violation dashboard to identify the impact of details about access denials by service perimeters.
  • CConfigure a VPC Service Controls perimeter in dry run mode, and enforce strict network segmentation using firewall rules. Use multi-factor authentication (MFA) for user verification.
  • DUse Cloud Audit Logs to monitor user access to the project resources. Use post-incident analysis to identify unauthorized access attempts.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Establish a Context-Aware Access policy that specifies the required contextual attributes, and associate the policy with the VPC Service Controls perimeter in dry run mode.

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 354

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?

  • AUse 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.
  • BEmploy 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.
  • CUse 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. (correct answer)
  • DImplement 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.
Reveal answer & explanation
Correct answer: C

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

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Organization Policy sets guardrails that constrain how resources can be configured across the org.

Topic 1 · Question 355

Your organization uses Google Workspace as the primary identity provider for Google Cloud. Users in your organization initially created their passwords. You need to improve password security due to a recent security event. What should you do?

  • AConduct a security awareness training session, and set the password expiration settings to require more frequent updates.
  • BCheck the Enforce strong password box, and check Enforce password policy at the next sign-in. (correct answer)
  • CCheck the Enforce strong password box, and set the password expiration to occur more frequently.
  • DAudit user activity for suspicious logins by using the audit and investigation tool.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Check the Enforce strong password box, and check Enforce password policy at the next sign-in.

Topic 1 · Question 356

Your company has deployed an artificial intelligence model in a central project. This model has a lot of sensitive intellectual property and must be kept strictly isolated from the internet. You must expose the model endpoint only to a defined list of projects in your organization. What should you do?

  • AWithin the model project, create an internal Application Load Balancer that points to the model endpoint. Expose this load balancer with Private Service Connect to a configured list of projects. (correct answer)
  • BActivate Private Google Access in both the model project and in each project that needs to connect to the model. Create a firewall policy to allow connectivity to Private Google Access addresses.
  • CCreate a central project to host Shared VPC networks that are provided to all other projects. Centrally administer all firewall rules in this project to grant access to the model.
  • DWithin the model project, create an external Application Load Balancer that points to the model endpoint. Create a Cloud Armor policy to restrict IP addresses to Google Cloud.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Within the model project, create an internal Application Load Balancer that points to the model endpoint. Expose this load balancer with Private Service Connect to a configured list of projects.

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale. Private Service Connect exposes and consumes services privately within VPCs without internet exposure.

Showing questions 341356 of 356 · Page 18 of 18