πŸ”

PCSE β€” questions

Page 3 of 18 Β· 356 total questions.

Topic 1 Β· Question 41

Your company runs a website that will store PII on Google Cloud Platform. To comply with data privacy regulations, this data can only be stored for a specific amount of time and must be fully deleted after this specific period. Data that has not yet reached the time period should not be deleted. You want to automate the process of complying with this regulation. What should you do?

  • AStore the data in a single Persistent Disk, and delete the disk at expiration time.
  • BStore the data in a single BigQuery table and set the appropriate table expiration time.
  • CStore the data in a single Cloud Storage bucket and configure the bucket's Time to Live. (correct answer)
  • DStore the data in a single BigTable table and set an expiration time on the column families.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Store the data in a single Cloud Storage bucket and configure the bucket's Time to Live.

Explanation

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

Topic 1 Β· Question 42

A DevOps team will create a new container to run on Google Kubernetes Engine. As the application will be internet-facing, they want to minimize the attack surface of the container. What should they do?

  • AUse Cloud Build to build the container images.
  • BBuild small containers using small base images. (correct answer)
  • CDelete non-used versions from Container Registry.
  • DUse a Continuous Delivery tool to deploy the application.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Build small containers using small base images.

Topic 1 Β· Question 43

While migrating your organization's infrastructure to GCP, a large number of users will need to access GCP Console. The Identity Management team already has a well-established way to manage your users and want to keep using your existing Active Directory or LDAP server along with the existing SSO password. What should you do?

  • AManually synchronize the data in Google domain with your existing Active Directory or LDAP server.
  • BUse Google Cloud Directory Sync to synchronize the data in Google domain with your existing Active Directory or LDAP server. (correct answer)
  • CUsers sign in directly to the GCP Console using the credentials from your on-premises Kerberos compliant identity provider.
  • DUsers sign in using OpenID (OIDC) compatible IdP, receive an authentication token, then use that token to log in to the GCP Console.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use Google Cloud Directory Sync to synchronize the data in Google domain with your existing Active Directory or LDAP server.

Topic 1 Β· Question 44

Your company is using GSuite and has developed an application meant for internal usage on Google App Engine. You need to make sure that an external user cannot gain access to the application even when an employee's password has been compromised. What should you do?

  • AEnforce 2-factor authentication in GSuite for all users.
  • BConfigure Cloud Identity-Aware Proxy for the App Engine Application. (correct answer)
  • CProvision user passwords using GSuite Password Sync.
  • DConfigure Cloud VPN between your private network and GCP.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure Cloud Identity-Aware Proxy for the App Engine Application.

Explanation

App Engine is a fully managed platform that runs and autoscales web apps with little operational effort. Cloud Identity manages users, groups, and device policies as a managed identity platform. Identity-Aware Proxy enforces per-request access control to apps without a VPN.

Topic 1 Β· Question 45

A large financial institution is moving its Big Data analytics to Google Cloud Platform. They want to have maximum control over the encryption process of data stored at rest in BigQuery. What technique should the institution use?

  • AUse Cloud Storage as a federated Data Source.
  • BUse a Cloud Hardware Security Module (Cloud HSM).
  • CCustomer-managed encryption keys (CMEK). (correct answer)
  • DCustomer-supplied encryption keys (CSEK).
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Customer-managed encryption keys (CMEK).

Topic 1 Β· Question 46

A company is deploying their application on Google Cloud Platform. Company policy requires long-term data to be stored using a solution that can automatically replicate data over at least two geographic places. Which Storage solution are they allowed to use?

  • ACloud Bigtable
  • BCloud BigQuery (correct answer)
  • CCompute Engine SSD Disk
  • DCompute Engine Persistent Disk
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud BigQuery

Explanation

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

Topic 1 Β· Question 47

A large e-retailer is moving to Google Cloud Platform with its ecommerce website. The company wants to ensure payment information is encrypted between the customer's browser and GCP when the customers checkout online. What should they do?

  • AConfigure an SSL Certificate on an L7 Load Balancer and require encryption. (correct answer)
  • BConfigure an SSL Certificate on a Network TCP Load Balancer and require encryption.
  • CConfigure the firewall to allow inbound traffic on port 443, and block all other inbound traffic.
  • DConfigure the firewall to allow outbound traffic on port 443, and block all other outbound traffic.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure an SSL Certificate on an L7 Load Balancer and require encryption.

Explanation

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

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

Applications often require access to `secrets` - small pieces of sensitive data at build or run time. The administrator managing these secrets on GCP wants to keep a track of `who did what, where, and when?` within their GCP projects. Which two log streams would provide the information that the administrator is looking for? (Choose two.)

  • AAdmin Activity logs (correct answer)
  • BSystem Event logs
  • CData Access logs (correct answer)
  • DVPC Flow logs
  • EAgent logs
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Admin Activity logs Option C: Data Access logs.

Topic 1 Β· Question 49

You are in charge of migrating a legacy application from your company datacenters to GCP before the current maintenance contract expires. You do not know what ports the application is using and no documentation is available for you to check. You want to complete the migration without putting your environment at risk. What should you do?

  • AMigrate the application into an isolated project using a "Lift & Shift" approach. Enable all internal TCP traffic using VPC Firewall rules. Use VPC Flow logs to determine what traffic should be allowed for the application to work properly. (correct answer)
  • BMigrate the application into an isolated project using a "Lift & Shift" approach in a custom network. Disable all traffic within the VPC and look at the Firewall logs to determine what traffic should be allowed for the application to work properly.
  • CRefactor the application into a micro-services architecture in a GKE cluster. Disable all traffic from outside the cluster using Firewall Rules. Use VPC Flow logs to determine what traffic should be allowed for the application to work properly.
  • DRefactor the application into a micro-services architecture hosted in Cloud Functions in an isolated project. Disable all traffic from outside your project using Firewall Rules. Use VPC Flow logs to determine what traffic should be allowed for the application to work properly.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Migrate the application into an isolated project using a "Lift & Shift" approach. Enable all internal TCP traffic using VPC Firewall rules. Use VPC Flow logs to determine what traffic should be allowed for the appli...

Explanation

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

Topic 1 Β· Question 50

Your company has deployed an application on Compute Engine. The application is accessible by clients on port 587. You need to balance the load between the different instances running the application. The connection should be secured using TLS, and terminated by the Load Balancer. What type of Load Balancing should you use?

  • ANetwork Load Balancing
  • BHTTP(S) Load Balancing
  • CTCP Proxy Load Balancing
  • DSSL Proxy Load Balancing (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: SSL Proxy Load Balancing

Explanation

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

Topic 1 Β· Question 51

You want to limit the images that can be used as the source for boot disks. These images will be stored in a dedicated project. What should you do?

  • AUse the Organization Policy Service to create a compute.trustedimageProjects constraint on the organization level. List the trusted project as the whitelist in an allow operation. (correct answer)
  • BUse the Organization Policy Service to create a compute.trustedimageProjects constraint on the organization level. List the trusted projects as the exceptions in a deny operation.
  • CIn Resource Manager, edit the project permissions for the trusted project. Add the organization as member with the role: Compute Image User.
  • DIn Resource Manager, edit the organization permissions. Add the project ID as member with the role: Compute Image User.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use the Organization Policy Service to create a compute.trustedimageProjects constraint on the organization level. List the trusted project as the whitelist in an allow operation.

Explanation

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

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

Your team needs to prevent users from creating projects in the organization. Only the DevOps team should be allowed to create projects on behalf of the requester. Which two tasks should your team perform to handle this request? (Choose two.)

  • ARemove all users from the Project Creator role at the organizational level. (correct answer)
  • BCreate an Organization Policy constraint, and apply it at the organizational level.
  • CGrant the Project Editor role at the organizational level to a designated group of users.
  • DAdd a designated group of users to the Project Creator role at the organizational level. (correct answer)
  • EGrant the billing account creator role to the designated DevOps team.
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Remove all users from the Project Creator role at the organizational level. Option D: Add a designated group of users to the Project Creator role at the organizational level.

Topic 1 Β· Question 53

A customer deployed an application on Compute Engine that takes advantage of the elastic nature of cloud computing. How can you work with Infrastructure Operations Engineers to best ensure that Windows Compute Engine VMs are up to date with all the latest OS patches?

  • ABuild new base images when patches are available, and use a CI/CD pipeline to rebuild VMs, deploying incrementally. (correct answer)
  • BFederate a Domain Controller into Compute Engine, and roll out weekly patches via Group Policy Object.
  • CUse Deployment Manager to provision updated VMs into new serving Instance Groups (IGs).
  • DReboot all VMs during the weekly maintenance window and allow the StartUp Script to download the latest patches from the internet.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Build new base images when patches are available, and use a CI/CD pipeline to rebuild VMs, deploying incrementally.

Topic 1 Β· Question 54

Your team needs to make sure that their backend database can only be accessed by the frontend application and no other instances on the network. How should your team design this network?

  • ACreate an ingress firewall rule to allow access only from the application to the database using firewall tags. (correct answer)
  • BCreate a different subnet for the frontend application and database to ensure network isolation.
  • CCreate two VPC networks, and connect the two networks using Cloud VPN gateways to ensure network isolation.
  • DCreate two VPC networks, and connect the two networks using VPC peering to ensure network isolation.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an ingress firewall rule to allow access only from the application to the database using firewall tags.

Topic 1 Β· Question 55

An organization receives an increasing number of phishing emails. Which method should be used to protect employee credentials in this situation?

  • AMultifactor Authentication (correct answer)
  • BA strict password policy
  • CCaptcha on login pages
  • DEncrypted emails
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Multifactor Authentication.

Topic 1 Β· Question 56

A customer is collaborating with another company to build an application on Compute Engine. The customer is building the application tier in their GCP Organization, and the other company is building the storage tier in a different GCP Organization. This is a 3-tier web application. Communication between portions of the application must not traverse the public internet by any means. Which connectivity option should be implemented?

  • AVPC peering (correct answer)
  • BCloud VPN
  • CCloud Interconnect
  • DShared VPC
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: VPC peering

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.

Topic 1 Β· Question 57

Your team wants to make sure Compute Engine instances running in your production project do not have public IP addresses. The frontend application Compute Engine instances will require public IPs. The product engineers have the Editor role to modify resources. Your team wants to enforce this requirement. How should your team meet these requirements?

  • AEnable Private Access on the VPC network in the production project.
  • BRemove the Editor role and grant the Compute Admin IAM role to the engineers.
  • CSet up an organization policy to only permit public IPs for the front-end Compute Engine instances. (correct answer)
  • DSet up a VPC network with two subnets: one with public IPs and one without public IPs.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Set up an organization policy to only permit public IPs for the front-end Compute Engine instances.

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 58 Β· Select all that apply

Which two security characteristics are related to the use of VPC peering to connect two VPC networks? (Choose two.)

  • ACentral management of routes, firewalls, and VPNs for peered networks
  • BNon-transitive peered networks; where only directly peered networks can communicate (correct answer)
  • CAbility to peer networks that belong to different Google Cloud organizations (correct answer)
  • DFirewall rules that can be created with a tag from one peered network to another peered network
  • EAbility to share specific subnets across peered networks
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Non-transitive peered networks; where only directly peered networks can communicate Option C: Ability to peer networks that belong to different Google Cloud organizations.

Topic 1 Β· Question 59

A patch for a vulnerability has been released, and a DevOps team needs to update their running containers in Google Kubernetes Engine (GKE). How should the DevOps team accomplish this?

  • AUse Puppet or Chef to push out the patch to the running container.
  • BVerify that auto upgrade is enabled; if so, Google will upgrade the nodes in a GKE cluster.
  • CUpdate the application code or apply a patch, build a new image, and redeploy it. (correct answer)
  • DConfigure containers to automatically upgrade when the base image is available in Container Registry.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Update the application code or apply a patch, build a new image, and redeploy it.

Topic 1 Β· Question 60

A company is running their webshop on Google Kubernetes Engine and wants to analyze customer transactions in BigQuery. You need to ensure that no credit card numbers are stored in BigQuery What should you do?

  • ACreate a BigQuery view with regular expressions matching credit card numbers to query and delete affected rows.
  • BUse the Cloud Data Loss Prevention API to redact related infoTypes before data is ingested into BigQuery. (correct answer)
  • CLeverage Security Command Center to scan for the assets of type Credit Card Number in BigQuery.
  • DEnable Cloud Identity-Aware Proxy to filter out credit card numbers before storing the logs in BigQuery.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use the Cloud Data Loss Prevention API to redact related infoTypes before data is ingested into BigQuery.

Explanation

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

Showing questions 41–60 of 356 Β· Page 3 of 18