Your organization wants to be compliant with the General Data Protection Regulation (GDPR) on Google Cloud You must implement data residency and operational sovereignty in the EU. What should you do? Choose 2 answers
Correct Answer: A,C
https://cloud.google.com/architecture/framework/security/data-residency- sovereignty#manage_your_operational_sovereignty To ensure compliance with GDPR and implement data residency and operational sovereignty in the EU, the following steps can be taken: * Limit Physical Location of Resources: Use the Organization Policy Service to enforce the resource locations constraint. This ensures that all new resources are created within the specified regions (EU in this case). * Configure Organization Policy: Set up an organization policy that restricts the locations where new resources can be created. This is done through the Google Cloud Console or via the gcloud command-line tool. Example: gcloud resource-manager org-policies allow constraints/gcp.resourceLocations [europe-west1,europe-west2] -- organization=YOUR_ORG_ID * Key Access Justifications (KAJ): Use Key Access Justifications to limit Google personnel's access to encryption keys based on attributes like their geographic location or citizenship. * Set Up KAJ: Implement KAJ policies to ensure that only authorized personnel within the EU can access encryption keys. References * Organization Policy Service * Key Access Justifications
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?
Correct Answer: B
Comprehensive and Detailed Explanation From Exact Extract: The most effective way to address VM sprawl while enforcing consistent security baselines at the VM creation stage (VM lifecycle management) is through the use of immutable, hardened images built via an automated pipeline. Centralized Image Management and Hardening: A Cloud Build pipeline is the standard way to automate the creation of "golden images." The pipeline can install OS/packages, apply hardening scripts (e.g., CIS benchmarks), run vulnerability scans, and then store only the verified, secure images in a central registry. This centralizes control over the security baseline. Enforcement: Instance Templates are the mechanism to standardize VM deployment. By configuring the templates to only point to the central registry of approved, hardened images, you ensure that every new VM spun up automatically adheres to the security baseline. This prevents teams from deploying unhardened or insecure images, solving the "VM sprawl" and "consistent security hardening" problem at its source. Option A (SCC Posture Management) is a detective control that monitors after the VM is deployed; it does not prevent unhardened VMs from being created, which is the goal of lifecycle management. Option D (VM Manager) is excellent for ongoing patching and updating of existing VMs, but it doesn't solve the initial problem of ensuring a secure, centralized, hardened image is used for creation (which is where the baseline is enforced). Extracts: "Golden images that are configured and used to create servers play a key role in allowing companies to scale securely." (Source 1.2) "Using an automated tool eradicates this issue. When engineers use images produced by [automated tools], the evidence is clear, as everything needed is pre-baked into the image." (Source 1.2) "An instance template is a convenient way to save a virtual machine (VM) instance's configuration that includes machine type, boot disk image... You can use an instance template to... Create individual VMs." (Source 3.3) The overall strategy described in Option B-automate hardening, scan, store, and enforce usage via templates-is the best practice for secure and compliant VM deployment at scale.
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?
Correct Answer: A
* Objective: You want to limit the images that can be used as the source for boot disks to a set of images stored in a dedicated project. * Solution: Use the Organization Policy Service. * Steps: * Step 1: Open the Google Cloud Console. * Step 2: Navigate to the Organization Policies page. * Step 3: Create a new policy by clicking on "Create Policy". * Step 4: Select the constraint compute.trustedimageProjects. * Step 5: Set the policy to ALLOW and specify the project ID where the trusted images are stored in the whitelist. * Step 6: Save and apply the policy. By creating a compute.trustedimageProjects constraint at the organization level and specifying the trusted project in the allow list, you ensure that only images from this project can be used for boot disks across the organization. References: GCP Organization Policy Service Documentation Compute Trusted Image Projects Constraint
You have a highly sensitive BigQuery workload that contains personally identifiable information (Pll) that you want to ensure is not accessible from the internet. To prevent data exfiltration only requests from authorized IP addresses are allowed to query your BigQuery tables. What should you do?
Correct Answer: A
Enable VPC Service Controls: VPC Service Controls help mitigate the risk of data exfiltration by allowing you to define a security perimeter around GCP resources. Set up a service perimeter around your BigQuery project to restrict data access to within the defined perimeter. Create Access Levels: In the Google Cloud Console, navigate to the Access Context Manager. Define access levels based on IP address conditions, specifying the authorized source IP addresses that are allowed to access your BigQuery resources. These access levels are used to enforce policies that restrict who can access your sensitive data based on their IP addresses. Apply Service Perimeter with Access Levels: Apply the created access levels to the service perimeter to ensure that only requests originating from the specified IP addresses are able to access BigQuery tables. This setup ensures that the sensitive PII data is not accessible from unauthorized IP addresses, reducing the risk of data exfiltration. References: VPC Service Controls Access Context Manager Defining Access Levels
What is the most effective way to automatically scan environment variables in Cloud Functions for sensitive data and create security findings?
Correct Answer: C
Comprehensive and Detailed Explanation From Exact Extract: The problem is the detection of secrets (sensitive data patterns) within the environment variables of deployed resources (Cloud Functions) in a timely, automated manner. Sensitive Data Protection (SDP), formerly Cloud DLP, is the purpose-built Google Cloud service for scanning and classifying sensitive data patterns. It can be configured to scan code, configuration, or environment variables and integrate its findings directly with Security Command Center (SCC). Extracts: "Sensitive Data Protection provides highly configurable, automated detection of sensitive data, including API keys, passwords, and other credentials, using both pre-built and custom infoTypes." (Source 8.1) "SDP can be integrated with Cloud Functions and other resource configurations to scan environment variables or configuration files for secrets. Violations can be automatically routed to Security Command Center as findings." (Source 8.2) Option D (DAST) scans the application code or running application logic, but the requirement specifies the secrets are in the environment variables, which are part of the configuration/deployment metadata, making SDP the correct detection tool.