Professional Cloud Security Engineer Practice Test

Professional Cloud Security Engineer Practice Test practice questions, page 14 of 15, with answer review and explanations.

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?

  1. Create a single KeyRing for all persistent disks and all Keys in this KeyRing. Manage the IAM permissions at the Key level.
  2. Create a single KeyRing for all persistent disks and all Keys in this KeyRing. Manage the IAM permissions at the KeyRing level.
  3. Create a KeyRing per persistent disk, with each KeyRing containing a single Key. Manage the IAM permissions at the Key level.
  4. Create a KeyRing per persistent disk, with each KeyRing containing a single Key. Manage the IAM permissions at the KeyRing level.

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?

  1. 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 accessible by the administrator.
  2. Upload 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.
  3. On the bucket shared with both the analysts and the administrator, configure Object Lifecycle Management to delete objects that contain any PII.
  4. On 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.

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?

  1. Use the Cloud SDK with their directory service to remove their IAM permissions in Cloud Identity.
  2. Use the Cloud SDK with their directory service to provision and deprovision users from Cloud Identity.
  3. Configure Cloud Directory Sync with their directory service to provision and deprovision users from Cloud Identity.
  4. Configure Cloud Directory Sync with their directory service to remove their IAM permissions in Cloud Identity.

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?

  1. Google Cloud Directory Sync (GCDS)
  2. Cloud Identity
  3. Security Assertion Markup Language (SAML)
  4. Pub/Sub

Question 70

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

  1. ISO 27001
  2. ISO 27002
  3. ISO 27017
  4. ISO 27018