πŸ”

PCSE β€” questions

Page 14 of 18 Β· 356 total questions.

Topic 1 Β· Question 261

Your organization utilizes Cloud Run services within multiple projects underneath the non-production folder which requires primarily internal communication. Some services need external access to approved fully qualified domain names (FQDN) while other external traffic must be blocked. Internal applications must not be exposed. You must achieve this granular control with allowlists overriding broader restrictions only for designated VPCs. What should you do?

  • AImplement a global-level allowlist rule for the necessary FQDNs within a hierarchical firewall policy. Apply this policy across all VPCs in the organization and configure Cloud NAT without any additional filtering.
  • BCreate a folder-level deny-all rule for outbound traffic within a hierarchical firewall policy. Define FQDN allowlist rules in separate policies and associate them with the necessary VPCs. Configure Cloud NAT for these VPCs. (correct answer)
  • CCreate a project-level deny-all rule within a hierarchical structure and apply it broadly. Override this rule with separate FQDN allowlists defined in VPC-level firewall policies associated with the relevant VPCs.
  • DConfigure Cloud NAT with IP-based filtering to permit outbound traffic only to the allowlist d FQDNs' IP ranges. Apply Cloud NAT uniformly to all VPCs within the organization's folder structure.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a folder-level deny-all rule for outbound traffic within a hierarchical firewall policy. Define FQDN allowlist rules in separate policies and associate them with the necessary VPCs. Configure Cloud NAT for thes...

Explanation

Cloud NAT lets private instances reach the internet for outbound traffic without external IPs. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 262

Your organization hosts a sensitive web application in Google Cloud. To protect the web application, you've set up a virtual private cloud (VPC) with dedicated subnets for the application's frontend and backend components. You must implement security controls to restrict incoming traffic, protect against web-based attacks, and monitor internal traffic. What should you do?

  • AConfigure Cloud Firewall to permit allow-listed traffic only, deploy Google Cloud Armor with predefined rules for blocking common web attacks, and deploy Cloud Intrusion Detection System (IDS) to detect internal traffic anomalies. (correct answer)
  • BConfigure Google Cloud Armor to allow incoming connections, configure DNS Security Extensions (DNSSEC) on Cloud DNS to secure against common web attacks, and deploy Cloud Intrusion Detection System (Cloud IDS) to detect internal traffic anomalies.
  • CConfigure Cloud Intrusion Detection System (Cloud IDS) to monitor incoming connections, deploy Identity-Aware Proxy (IAP) to block common web attacks, and deploy Google Cloud Armor to detect internal traffic anomalies.
  • DConfigure Cloud DNS to secure incoming traffic, deploy Cloud Intrusion Detection System (Cloud IDS) to detect common web attacks, and deploy Google Cloud Armor to detect internal traffic anomalies.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure Cloud Firewall to permit allow-listed traffic only, deploy Google Cloud Armor with predefined rules for blocking common web attacks, and deploy Cloud Intrusion Detection System (IDS) to detect internal traff...

Explanation

Cloud Armor protects applications from DDoS and common web attacks with WAF rules.

Topic 1 Β· Question 263

Your organization relies heavily on virtual machines (VMs) in Compute Engine. Due to team growth and resource demands, VM sprawl is becoming problematic. Maintaining consistent security hardening and timely package updates poses an increasing challenge. You need to centralize VM image management and automate the enforcement of security baselines throughout the virtual machine lifecycle. What should you do?

  • AUse VM Manager to automatically distribute and apply patches to YMs across your projects. Integrate VM Manager with hardened, organization-standard VM images stored in a central repository. (correct answer)
  • BConfigure the sole-tenancy feature in Compute Engine for all projects. Set up custom organization policies in Policy Controller to restrict the operating systems and image sources that teams are allowed to use.
  • CCreate a Cloud Build trigger to build a pipeline that generates hardened VM images. Run vulnerability scans in the pipeline, and store images with passing scans in a registry. Use instance templates pointing to this registry.
  • DActivate Security Command Center Enterprise. Use VM discovery and posture management features to monitor hardening state and trigger automatic responses upon detection of issues.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use VM Manager to automatically distribute and apply patches to YMs across your projects. Integrate VM Manager with hardened, organization-standard VM images stored in a central repository.

Topic 1 Β· Question 264

Customers complain about error messages when they access your organization's website. You suspect that the web application firewall rules configured in Cloud Armor are too strict. You want to collect request logs to investigate what triggered the rules and blocked the traffic. What should you do?

  • AModify the Application Load Balancer backend and increase the tog sample rate to a higher number.
  • BEnable logging in the Application Load Balancer backend and set the log level to VERBOSE in the Cloud Armor policy. (correct answer)
  • CChange the configuration of suspicious web application firewall rules in the Cloud Armor policy to preview mode.
  • DCreate a log sink with a filter for togs containing redirected_by_security_policy and set a BigQuery dataset as destination.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Enable logging in the Application Load Balancer backend and set the log level to VERBOSE in the Cloud Armor policy.

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 265

Your organization must follow the Payment Card Industry Data Security Standard (PCI DSS). To prepare for an audit, you must detect deviations on an infrastructure-as-a-service level in your Google Cloud landing zone. What should you do?

  • ACreate a data profile covering all payment relevant data types. Configure Data Discovery and a risk analysis job in Google Cloud Sensitive Data Protection to analyze findings.
  • BUse the Google Cloud Compliance Reports Manager to download the latest version of the PCI DSS report Analyze the report to detect deviations.
  • CCreate an Assured Workloads folder in your Google Cloud organization. Migrate existing projects into the folder and monitor for deviations in the PCI DSS.
  • DActivate Security Command Center Premium. Use the Compliance Monitoring product to filter findings that may not be PCI DSS compliant. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Activate Security Command Center Premium. Use the Compliance Monitoring product to filter findings that may not be PCI DSS compliant.

Explanation

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

Topic 1 Β· Question 266

Your organization is migrating a complex application to Google Cloud. The application has multiple internal components that interact with each other across several Google Cloud projects. Security is a major concern, and you must design an authorization scheme for administrators that aligns with the principles of least privilege and separation of duties. What should you do?

  • AIdentify the users who will migrate the application, revoke the default user roles and assign the users with purposely created custom roles. (correct answer)
  • BUse multiple external identity providers (IdP) configured to use different SAML profiles and federate the IdPs for each application component.
  • CConfigure multi-factor authentication (MFA) to enforce the use of physical tokens for all users who will migrate the application.
  • DNo action needed. When a Google Cloud organization is created, the appropriate permissions are automatically assigned to all users in the domain.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Identify the users who will migrate the application, revoke the default user roles and assign the users with purposely created custom roles.

Topic 1 Β· Question 267

Your organization operates in a highly regulated industry and needs to implement strict controls around temporary access to sensitive Google Cloud resources. You have been using Access Approval to manage this access, but your compliance team has mandated the use of a custom signing key. Additionally, they require that the key be stored in a hardware security module (HSM) located outside Google Cloud. You need to configure Access Approval to use a custom signing key that meets the compliance requirements. What should you do?

  • ACreate a new asymmetric signing key in Cloud Key Management System (Cloud KMS) using a supported algorithm and grant the Access Approval service account the IAM signerVerifier role on the key.
  • BExport your existing Access Approval signing key as a PEM file. Upload the file to your external HSM and reconfigure Access Approval to use the key from the HSM.
  • CCreate a signing key in your external HSM. Integrate the HSM with Cloud External Key Manager (Cloud EKM) and make the key available within your project. Configure Access Approval to use this key. (correct answer)
  • DCreate a new asymmetric signing key in Cloud KMS and configure the key with a rotation period of 30 days. Add the corresponding public key to your external HSM.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a signing key in your external HSM. Integrate the HSM with Cloud External Key Manager (Cloud EKM) and make the key available within your project. Configure Access Approval to use this key.

Explanation

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

Topic 1 Β· Question 268

Your organization has sensitive data stored in BigQuery and Cloud Storage. You need to design a solution that provides granular and flexible control authorization to read data. What should you do?

  • ADeidentify sensitive fields within the dataset by using data leakage protection within the Sensitive Data Protection services.
  • BUse Cloud External Key Manager (Cloud EKM) to encrypt the data in BigQuery and Cloud Storage.
  • CGrant identity and access management (IAM) roles and permissions to principals. (correct answer)
  • DEnable server-side encryption on the data in BigQuery and Cloud Storage.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Grant identity and access management (IAM) roles and permissions to principals.

Explanation

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

Topic 1 Β· Question 269

Your organization is using Security Command Center Premium as a central tool to detect and alert on security threats. You also want to alert on suspicious outbound traffic that is targeting domains of known suspicious web services. What should you do?

  • ACreate a DNS Server Policy in Cloud DNS and turn on logs. Attach this policy to all Virtual Private Cloud networks with internet connectivity.
  • BForward all logs to Chronicle Security Information and Event Management. Create an alert for suspicious egress traffic to the internet.
  • CCreate a Cloud Intrusion Detection endpoint. Connect this endpoint to all Virtual Private Cloud networks with internet connectivity.
  • DCreate an egress firewall policy with Threat Intelligence as the destination. Attach this policy to all Virtual Private Cloud networks with internet connectivity. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an egress firewall policy with Threat Intelligence as the destination. Attach this policy to all Virtual Private Cloud networks with internet connectivity.

Topic 1 Β· Question 270

You work for a healthcare provider that is expanding into the cloud to store and process sensitive patient data. You must ensure the chosen Google Cloud configuration meets these strict regulatory requirements: β€’ Data must reside within specific geographic regions. β€’ Certain administrative actions on patient data require explicit approval from designated compliance officers. β€’ Access to patient data must be auditable. What should you do?

  • ASelect a standard Google Cloud region. Restrict access to patient data based on user location and job function by using Access Context Manager. Enable both Cloud Audit Logging and Access Transparency.
  • BDeploy an Assured Workloads environment in an approved region. Configure Access Approval for sensitive operations on patient data. Enable both Cloud Audit Logs and Access Transparency. (correct answer)
  • CDeploy an Assured Workloads environment in multiple regions for redundancy. Utilize custom IAM roles with granular permissions. Isolate network-level data by using VPC Service Controls.
  • DSelect multiple standard Google Cloud regions for high availability. Implement Access Control Lists (ACLs) on individual storage objects containing patient data. Enable Cloud Audit Logs.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Deploy an Assured Workloads environment in an approved region. Configure Access Approval for sensitive operations on patient data. Enable both Cloud Audit Logs and Access Transparency.

Explanation

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

Topic 1 Β· Question 271

You work for a multinational organization that has systems deployed across multiple cloud providers, including Google Cloud. Your organization maintains an extensive on-premises security information and event management (SIEM) system. New security compliance regulations require that relevant Google Cloud logs be integrated seamlessly with the existing SIEM to provide a unified view of security events. You need to implement a solution that exports Google Cloud logs to your on-premises SIEM by using a push-based, near real-time approach. You must prioritize fault tolerance, security, and auto scaling capabilities. In particular, you must ensure that if a log delivery fails, logs are re-sent. What should you do?

  • ACreate a Pub/Sub topic for log aggregation. Write a custom Python script on a Cloud Function Leverage the Cloud Logging API to periodically pull logs from Google Cloud and forward the logs to the SIEM. Schedule the Cloud Function to run twice per day.
  • BCollect all logs into an organization-level aggregated log sink and send the logs to a Pub/Sub topic. Implement a primary Dataflow pipeline that consumes logs from this Pub/Sub topic and delivers the logs to the SIEM. Implement a secondary Dataflow pipeline that replays failed messages. (correct answer)
  • CDeploy a Cloud Logging sink with a filter that routes all logs directly to a syslog endpoint. The endpoint is based on a single Compute Engine hosted on Google Cloud that routes all logs to the on-premises SIEM. Implement a Cloud Function that triggers a retry action in case of failure.
  • DUtilize custom firewall rules to allow your SIEM to directly query Google Cloud logs. Implement a Cloud Function that notifies the SIEM of a failed delivery and triggers a retry action.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Collect all logs into an organization-level aggregated log sink and send the logs to a Pub/Sub topic. Implement a primary Dataflow pipeline that consumes logs from this Pub/Sub topic and delivers the logs to the SIEM....

Explanation

Dataflow runs serverless Apache Beam pipelines for stream and batch data processing with autoscaling. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 Β· Question 272

You work for a global company. Due to compliance requirements, certain Compute Engine instances that reside within specific projects must be located exclusively in cloud regions within the European Union (EU). You need to ensure that existing non-compliant workloads are remediated and prevent future Compute Engine instances from being launched in restricted regions. What should you do?

  • AUse a third-party configuration management tool to monitor the location of Compute Engine instances. Automatically delete or migrate non-compliant instances, including existing deployments.
  • BDeploy a Security Command Center source to detect Compute Engine instances created outside the EU. Use a custom remediation function to automatically relocate the instances, run the function once a day.
  • CUse organization policy constraints in Resource Manager to enforce allowed regions for Compute Engine instance creation within specific projects.
  • DSet an organization policy that denies the creation of Compute Engine instances outside the EU. Apply the policy to the appropriate projects. Identify existing non-compliant instances and migrate the instances to compliant EU regions. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Set an organization policy that denies the creation of Compute Engine instances outside the EU. Apply the policy to the appropriate projects. Identify existing non-compliant instances and migrate the instances to comp...

Explanation

Compute Engine provides configurable virtual machines when you need full control of the OS. Organization Policy sets guardrails that constrain how resources can be configured across the org.

Topic 1 Β· Question 273

You are working with developers to secure custom training jobs running on Vertex AI. For compliance reasons, all supported data types must be encrypted by key materials that reside in the Europe region and are controlled by your organization. The encryption activity must not impact the training operation in Vertex AI. What should you do?

  • AEncrypt the code, training data, and metadata with Google default encryption. Use customer-managed encryption keys (CMEK) for the trained models exported to Cloud Storage buckets.
  • BEncrypt the code, training data, metadata, and exported trained models with customer-managed encryption keys (CMEK). (correct answer)
  • CEncrypt the code, training data, and exported trained models with customer-managed encryption keys (CMEK).
  • DEncrypt the code, training data, and metadata with Google default encryption. Implement an organization policy that enforces a constraint to restrict the Cloud KMS location to the Europe region.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Encrypt the code, training data, metadata, and exported trained models with customer-managed encryption keys (CMEK).

Topic 1 Β· Question 274

Your EU-based organization stores both Personally Identifiable Information (PII) and non-PII data in Cloud Storage buckets across multiple Google Cloud regions. EU data privacy laws require that the PII data must not be stored outside of the EU. To help meet this compliance requirement, you want to detect if Cloud Storage buckets outside of the EU contain healthcare data. What should you do?

  • ACreate a Sensitive Data Protection job. Specify the infoType of data to be detected and run the job across all Google Cloud Storage buckets. (correct answer)
  • BCreate a log sink with a filter on resourceLocation.currentLocations. Trigger an alert if a log message appears with a non- EUcountry.
  • CActivate Security Command Center Premium. Use compliance monitoring to detect resources that do not follow the applicable healthcare regulation.
  • DEnforce the gcp.resourceLocations organization policy and add "EU" in a custom rule that only applies on resources with the tag "healthcare".
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a Sensitive Data Protection job. Specify the infoType of data to be detected and run the job across all Google Cloud Storage buckets.

Explanation

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

Topic 1 Β· Question 275

Your organization is migrating business critical applications to Google Cloud across multiple projects. You only have the required IAM permission at the Google Cloud organization level. You want to grant project access to support engineers from two partner organizations using their existing identity provider (IdP) credentials. What should you do?

  • ACreate two single sign-on (SSO) profiles for the internal and partner IdPs by using SSO for Cloud Identity.
  • BCreate users manually by using the Google Cloud console. Assign the users to groups.
  • CCreate two workforce identity pools for the partner IdPs. (correct answer)
  • DSync user identities from their existing IdPs to Cloud Identity by using Google Cloud Directory Sync (GCDS).
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create two workforce identity pools for the partner IdPs.

Topic 1 Β· Question 276

You are creating a secure network architecture. You must fully isolate development and production environments, and prevent any network traffic between the two environments. The network team requires that there is only one central entry point to the cloud network from the on-premises environment. What should you do?

  • ACreate one Virtual Private Cloud (VPC) network per environment. Add the on-premises entry point to the production VPC. Peer the VPCs with each other and create firewall rules to prevent traffic.
  • BCreate one shared Virtual Private Cloud (VPC) network and use it as the entry point to the cloud network. Create separate subnets per environment. Create firewall rules to prevent traffic.
  • CCreate one Virtual Private Cloud (VPC) network per environment. Create a VPC Service Controls perimeter per environment and add one environment VPC to each.
  • DCreate one Virtual Private Cloud (VPC) network per environment. Create one additional VPC for the entry point to the cloud network. Peer the entry point VPC with the environment VPCs. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create one Virtual Private Cloud (VPC) network per environment. Create one additional VPC for the entry point to the cloud network. Peer the entry point VPC with the environment VPCs.

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 277

You work for a large organization that is using Cloud Identity as the identity provider (IdP) on Google Cloud. Your InfoSec team has mandated the enforcement of a strong password with a length between 12 and 16 characters for all users. After configuring this requirement, users are still able to access the Google Cloud console with passwords that are less than 12 characters. You need to fix this problem within the Admin console. What should you do?

  • AReview each user's password configuration and reset existing passwords.
  • BReview the organization password management setting and select Enforce password policy at the next sign-in. (correct answer)
  • CReview each user's password configuration and select Enforce strong password.
  • DReview the organization password management setting and select Enforce strong password.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Review the organization password management setting and select Enforce password policy at the next sign-in.

Topic 1 Β· Question 278

Your organization is preparing to build business services in Google Cloud for the first time. You must determine where to apply appropriate controls or policies. You must also identify what aspects of your cloud deployment are managed by Google. What should you do?

  • AModel your deployment on the Google Enterprise foundations blueprint. Follow the blueprint exactly and rely on the blueprint to maintain the posture necessary for your business.
  • BUse the Risk Manager tool in the Risk Protection Program to generate a report on your cloud security posture. Obtain cyber insurance coverage.
  • CSubscribe to the Google Cloud release notes to keep up on product updates and when new services are available. Evaluate new services for appropriate use before enabling their API.
  • DStudy the shared responsibilities model. Depending on your business scenario, you might need to consider your responsibilities based on the location of your business offices, your customers, and your data. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Study the shared responsibilities model. Depending on your business scenario, you might need to consider your responsibilities based on the location of your business offices, your customers, and your data.

Topic 1 Β· Question 279

Your organization operates a hybrid cloud environment and has recently deployed a private Artifact Registry repository in Google Cloud. On-premises developers cannot resolve the Artifact Registry hostname and therefore cannot push or pull artifacts. You've verified the following: β€’ Connectivity to Google Cloud is established by Cloud VPN or Cloud Interconnect. β€’ No custom DNS configurations exist on-premises. β€’ There is no route to the internet from the on-premises network. You need to identify the cause and enable the developers to push and pull artifacts. What is likely causing the issue and what should you do to fix the issue?

  • AOn-premises DNS servers lack the necessary records to resolve private Google API domains. Create DNS records for restricted.googleapis.com or private.googleapis.com pointing to Google's published IP ranges. (correct answer)
  • BDevelopers must be granted the artifactregistry.writer IAM role. Grant the relevant developer group this role.
  • CPrivate Google Access is not enabled for the subnet hosting the Artifact Registry. Enable Private Google Access for the appropriate subnet.
  • DArtifact Registry requires external HTTP/HTTPS access. Create a new firewall rule allowing ingress traffic on ports 80 and 443 from the developer's IP ranges.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: On-premises DNS servers lack the necessary records to resolve private Google API domains. Create DNS records for restricted.googleapis.com or private.googleapis.com pointing to Google's published IP ranges.

Topic 1 Β· Question 280

Your organization has an application hosted in Cloud Run. You must control access to the application by using Cloud Identity-Aware Proxy (IAP) with these requirements: β€’ Only users from the AppDev group may have access. β€’ Access must be restricted to internal network IP addresses. What should you do?

  • ADeploy a VPN gateway and instruct the AppDev group to connect to the company network before accessing the application.
  • BCreate an access level that includes conditions for internal IP address ranges and AppDev groups. Apply this access level to the application's IAP policy. (correct answer)
  • CConfigure firewall rules to limit access to IAP based on the AppDev group and source IP addresses.
  • DConfigure IAP to enforce multi-factor authentication (MFA) for all users and use network intrusion detection systems (NIDS) to block unauthorized access attempts.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create an access level that includes conditions for internal IP address ranges and AppDev groups. Apply this access level to the application's IAP policy.

Explanation

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

Showing questions 261–280 of 356 Β· Page 14 of 18