πŸ”

PCSE β€” questions

Page 4 of 18 Β· 356 total questions.

Topic 1 Β· Question 61

A customer wants to deploy a large number of 3-tier web applications on Compute Engine. How should the customer ensure authenticated network separation between the different tiers of the application?

  • ARun each tier in its own Project, and segregate using Project labels.
  • BRun each tier with a different Service Account (SA), and use SA-based firewall rules. (correct answer)
  • CRun each tier in its own subnet, and use subnet-based firewall rules.
  • DRun each tier with its own VM tags, and use tag-based firewall rules.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Run each tier with a different Service Account (SA), and use SA-based firewall rules.

Explanation

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

Topic 1 Β· Question 62

A manager wants to start retaining security event logs for 2 years while minimizing costs. You write a filter to select the appropriate log entries. Where should you export the logs?

  • ABigQuery datasets
  • BCloud Storage buckets (correct answer)
  • CStackDriver logging
  • DCloud Pub/Sub topics
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud Storage buckets

Explanation

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

Topic 1 Β· Question 63

For compliance reasons, an organization needs to ensure that in-scope PCI Kubernetes Pods reside on `in-scope` Nodes only. These Nodes can only contain the `in-scope` Pods. How should the organization achieve this objective?

  • AAdd a nodeSelector field to the pod configuration to only use the Nodes labeled inscope: true.
  • BCreate a node pool with the label inscope: true and a Pod Security Policy that only allows the Pods to run on Nodes with that label.
  • CPlace a taint on the Nodes with the label inscope: true and effect NoSchedule and a toleration to match in the Pod configuration. (correct answer)
  • DRun all in-scope Pods in the namespace "in-scope-pci".
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Place a taint on the Nodes with the label inscope: true and effect NoSchedule and a toleration to match in the Pod configuration.

Topic 1 Β· Question 64

In an effort for your company messaging app to comply with FIPS 140-2, a decision was made to use GCP compute and network services. The messaging app architecture includes a Managed Instance Group (MIG) that controls a cluster of Compute Engine instances. The instances use Local SSDs for data caching and UDP for instance-to-instance communications. The app development team is willing to make any changes necessary to comply with the standard Which options should you recommend to meet the requirements?

  • AEncrypt all cache storage and VM-to-VM communication using the BoringCrypto module. (correct answer)
  • BSet Disk Encryption on the Instance Template used by the MIG to customer-managed key and use BoringSSL for all data transit between instances.
  • CChange the app instance-to-instance communications from UDP to TCP and enable BoringSSL on clients' TLS connections.
  • DSet Disk Encryption on the Instance Template used by the MIG to Google-managed Key and use BoringSSL library on all instance-to-instance communications.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Encrypt all cache storage and VM-to-VM communication using the BoringCrypto module.

Topic 1 Β· Question 65

A customer has an analytics workload running on Compute Engine that should have limited internet access. Your team created an egress firewall rule to deny (priority 1000) all traffic to the internet. The Compute Engine instances now need to reach out to the public repository to get security updates. What should your team do?

  • ACreate an egress firewall rule to allow traffic to the CIDR range of the repository with a priority greater than 1000.
  • BCreate an egress firewall rule to allow traffic to the CIDR range of the repository with a priority less than 1000. (correct answer)
  • CCreate an egress firewall rule to allow traffic to the hostname of the repository with a priority greater than 1000.
  • DCreate an egress firewall rule to allow traffic to the hostname of the repository with a priority less than 1000.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create an egress firewall rule to allow traffic to the CIDR range of the repository with a priority less than 1000.

Topic 1 Β· Question 66

You want data on Compute Engine disks to be encrypted at rest with keys managed by Cloud Key Management Service (KMS). Cloud Identity and Access Management (IAM) permissions to these keys must be managed in a grouped way because the permissions should be the same for all keys. What should you do?

  • ACreate a single KeyRing for all persistent disks and all Keys in this KeyRing. Manage the IAM permissions at the Key level.
  • BCreate a single KeyRing for all persistent disks and all Keys in this KeyRing. Manage the IAM permissions at the KeyRing level. (correct answer)
  • CCreate a KeyRing per persistent disk, with each KeyRing containing a single Key. Manage the IAM permissions at the Key level.
  • DCreate a KeyRing per persistent disk, with each KeyRing containing a single Key. Manage the IAM permissions at the KeyRing level.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a single KeyRing for all persistent disks and all Keys in this KeyRing. Manage the IAM permissions at the KeyRing level.

Explanation

Persistent Disk provides durable block storage attached to Compute Engine VMs. Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 1 Β· Question 67

A company is backing up application logs to a Cloud Storage bucket shared with both analysts and the administrator. Analysts should only have access to logs that do not contain any personally identifiable information (PII). Log files containing PII should be stored in another bucket that is only accessible by the administrator. What should you do?

  • AUse Cloud Pub/Sub and Cloud Functions to trigger a Data Loss Prevention scan every time a file is uploaded to the shared bucket. If the scan detects PII, have the function move into a Cloud Storage bucket only accessible by the administrator. (correct answer)
  • BUpload the logs to both the shared bucket and the bucket only accessible by the administrator. Create a job trigger using the Cloud Data Loss Prevention API. Configure the trigger to delete any files from the shared bucket that contain PII.
  • COn the bucket shared with both the analysts and the administrator, configure Object Lifecycle Management to delete objects that contain any PII.
  • DOn the bucket shared with both the analysts and the administrator, configure a Cloud Storage Trigger that is only triggered when PII data is uploaded. Use Cloud Functions to capture the trigger and delete such files.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Cloud Pub/Sub and Cloud Functions to trigger a Data Loss Prevention scan every time a file is uploaded to the shared bucket. If the scan detects PII, have the function move into a Cloud Storage bucket only accessi...

Explanation

Cloud Functions runs event-driven code without managing servers and scales automatically. Cloud Storage provides durable, scalable object storage that is fully managed. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams.

Topic 1 Β· Question 68

A customer terminates an engineer and needs to make sure the engineer's Google account is automatically deprovisioned. What should the customer do?

  • AUse the Cloud SDK with their directory service to remove their IAM permissions in Cloud Identity.
  • BUse the Cloud SDK with their directory service to provision and deprovision users from Cloud Identity.
  • CConfigure Cloud Directory Sync with their directory service to provision and deprovision users from Cloud Identity. (correct answer)
  • DConfigure Cloud Directory Sync with their directory service to remove their IAM permissions in Cloud Identity.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure Cloud Directory Sync with their directory service to provision and deprovision users from Cloud Identity.

Explanation

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

Topic 1 Β· Question 69

An organization is evaluating the use of Google Cloud Platform (GCP) for certain IT workloads. A well-established directory service is used to manage user identities and lifecycle management. This directory service must continue for the organization to use as the `source of truth` directory for identities. Which solution meets the organization's requirements?

  • AGoogle Cloud Directory Sync (GCDS) (correct answer)
  • BCloud Identity
  • CSecurity Assertion Markup Language (SAML)
  • DPub/Sub
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Google Cloud Directory Sync (GCDS).

Topic 1 Β· Question 70

Which international compliance standard provides guidelines for information security controls applicable to the provision and use of cloud services?

  • AISO 27001
  • BISO 27002
  • CISO 27017 (correct answer)
  • DISO 27018
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: ISO 27017.

Topic 1 Β· Question 71

You will create a new Service Account that should be able to list the Compute Engine instances in the project. You want to follow Google-recommended practices. What should you do?

  • ACreate an Instance Template, and allow the Service Account Read Only access for the Compute Engine Access Scope.
  • BCreate a custom role with the permission compute.instances.list and grant the Service Account this role. (correct answer)
  • CGive the Service Account the role of Compute Viewer, and use the new Service Account for all instances.
  • DGive the Service Account the role of Project Viewer, and use the new Service Account for all instances.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a custom role with the permission compute.instances.list and grant the Service Account this role.

Explanation

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

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

In a shared security responsibility model for IaaS, which two layers of the stack does the customer share responsibility for? (Choose two.)

  • AHardware
  • BNetwork Security (correct answer)
  • CStorage Encryption
  • DAccess Policies (correct answer)
  • EBoot
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Network Security Option D: Access Policies.

Topic 1 Β· Question 73

An organization is starting to move its infrastructure from its on-premises environment to Google Cloud Platform (GCP). The first step the organization wants to take is to migrate its ongoing data backup and disaster recovery solutions to GCP. The organization's on-premises production environment is going to be the next phase for migration to GCP. Stable networking connectivity between the on-premises environment and GCP is also being implemented. Which GCP solution should the organization use?

  • ABigQuery using a data pipeline job with continuous updates via Cloud VPN
  • BCloud Storage using a scheduled task and gsutil via Cloud Interconnect (correct answer)
  • CCompute Engines Virtual Machines using Persistent Disk via Cloud Interconnect
  • DCloud Datastore using regularly scheduled batch upload jobs via Cloud VPN
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud Storage using a scheduled task and gsutil via Cloud Interconnect

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Cloud Interconnect provides a dedicated, private, high-bandwidth link between on premises and Google Cloud. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 Β· Question 74

What are the steps to encrypt data using envelope encryption? A. β€’ Generate a data encryption key (DEK) locally. β€’ Use a key encryption key (KEK) to wrap the DEK. β€’ Encrypt data with the KEK. β€’ Store the encrypted data and the wrapped KEK. B. β€’ Generate a key encryption key (KEK) locally. β€’ Use the KEK to generate a data encryption key (DEK). β€’ Encrypt data with the DEK. β€’ Store the encrypted data and the wrapped DEK. C. β€’ Generate a data encryption key (DEK) locally. β€’ Encrypt data with the DEK. β€’ Use a key encryption key (KEK) to wrap the DEK. β€’ Store the encrypted data and the wrapped DEK. D. β€’ Generate a key encryption key (KEK) locally. β€’ Generate a data encryption key (DEK) locally. β€’ Encrypt data with the KEK. Store the encrypted data and the wrapped DEK.

  • Aβ€’ Generate a data encryption key (DEK) locally. β€’ Use a key encryption key (KEK) to wrap the DEK. β€’ Encrypt data with the KEK. β€’ Store the encrypted data and the wrapped KEK.
  • Bβ€’ Generate a key encryption key (KEK) locally. β€’ Use the KEK to generate a data encryption key (DEK). β€’ Encrypt data with the DEK. β€’ Store the encrypted data and the wrapped DEK.
  • Cβ€’ Generate a data encryption key (DEK) locally. β€’ Encrypt data with the DEK. β€’ Use a key encryption key (KEK) to wrap the DEK. β€’ Store the encrypted data and the wrapped DEK. (correct answer)
  • Dβ€’ Generate a key encryption key (KEK) locally. β€’ Generate a data encryption key (DEK) locally. β€’ Encrypt data with the KEK. Store the encrypted data and the wrapped DEK.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: β€’ Generate a data encryption key (DEK) locally. β€’ Encrypt data with the DEK. β€’ Use a key encryption key (KEK) to wrap the DEK. β€’ Store the encrypted data and the wrapped DEK.

Topic 1 Β· Question 75

A customer wants to make it convenient for their mobile workforce to access a CRM web interface that is hosted on Google Cloud Platform (GCP). The CRM can only be accessed by someone on the corporate network. The customer wants to make it available over the internet. Your team requires an authentication layer in front of the application that supports two-factor authentication Which GCP product should the customer implement to meet these requirements?

  • ACloud Identity-Aware Proxy (correct answer)
  • BCloud Armor
  • CCloud Endpoints
  • DCloud VPN
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Cloud Identity-Aware Proxy

Explanation

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 76

Your company is storing sensitive data in Cloud Storage. You want a key generated on-premises to be used in the encryption process. What should you do?

  • AUse the Cloud Key Management Service to manage a data encryption key (DEK).
  • BUse the Cloud Key Management Service to manage a key encryption key (KEK).
  • CUse customer-supplied encryption keys to manage the data encryption key (DEK).
  • DUse customer-supplied encryption keys to manage the key encryption key (KEK). (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use customer-supplied encryption keys to manage the key encryption key (KEK).

Topic 1 Β· Question 77

Last week, a company deployed a new App Engine application that writes logs to BigQuery. No other workloads are running in the project. You need to validate that all data written to BigQuery was done using the App Engine Default Service Account. What should you do?

  • A1. Use Cloud Logging and filter on BigQuery Insert Jobs. 2. Click on the email address in line with the App Engine Default Service Account in the authentication field. 3. Click Hide Matching Entries. 4. Make sure the resulting list is empty. (correct answer)
  • B1. Use Cloud Logging and filter on BigQuery Insert Jobs. 2. Click on the email address in line with the App Engine Default Service Account in the authentication field. 3. Click Show Matching Entries. 4. Make sure the resulting list is empty.
  • C1. In BigQuery, select the related dataset. 2. Make sure that the App Engine Default Service Account is the only account that can write to the dataset.
  • D1. Go to the Identity and Access Management (IAM) section of the project. 2. Validate that the App Engine Default Service Account is the only account that has a role that can write to BigQuery.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: 1. Use Cloud Logging and filter on BigQuery Insert Jobs. 2. Click on the email address in line with the App Engine Default Service Account in the authentication field. 3. Click Hide Matching Entries. 4. Make sure the...

Explanation

App Engine is a fully managed platform that runs and autoscales web apps with little operational effort. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. A service account provides an identity for workloads to access Google Cloud APIs securely.

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

Your team wants to limit users with administrative privileges at the organization level. Which two roles should your team restrict? (Choose two.)

  • AOrganization Administrator (correct answer)
  • BSuper Admin (correct answer)
  • CGKE Cluster Admin
  • DCompute Admin
  • EOrganization Role Viewer
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Organization Administrator Option B: Super Admin.

Topic 1 Β· Question 79

An organization's security and risk management teams are concerned about where their responsibility lies for certain production workloads they are running in Google Cloud and where Google's responsibility lies. They are mostly running workloads using Google Cloud's platform-as-a-Service (PaaS) offerings, including App Engine primarily. Which area in the technology stack should they focus on as their primary responsibility when using App Engine?

  • AConfiguring and monitoring VPC Flow Logs
  • BDefending against XSS and SQLi attacks (correct answer)
  • CManaging the latest updates and security patches for the Guest OS
  • DEncrypting all stored data
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Defending against XSS and SQLi attacks.

Topic 1 Β· Question 80

An engineering team is launching a web application that will be public on the internet. The web application is hosted in multiple GCP regions and will be directed to the respective backend based on the URL request. Your team wants to avoid exposing the application directly on the internet and wants to deny traffic from a specific list of malicious IP addresses. Which solution should your team implement to meet these requirements?

  • ACloud Armor (correct answer)
  • BNetwork Load Balancing
  • CSSL Proxy Load Balancing
  • DNAT Gateway
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Cloud Armor

Explanation

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

Showing questions 61–80 of 356 Β· Page 4 of 18