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.)
Correct Answer: A,C
To keep track of "who did what, where, and when?" within GCP projects, the administrator should focus on Admin Activity logs and Data Access logs. Here's a detailed explanation of why these two log streams are essential: Admin Activity Logs: These logs capture administrative actions performed in your Google Cloud resources. This includes actions like creating, modifying, or deleting resources. Admin Activity logs provide detailed information about the user who performed the action, the resource that was affected, the action performed, and the timestamp. Data Access Logs: These logs capture read and write operations on data within your Google Cloud services. This includes actions like accessing or modifying data stored in databases, storage buckets, etc. Data Access logs help track the access patterns of users and services to sensitive data, providing insights into who accessed which data and when. Steps to Enable and Access Logs: Navigate to the Google Cloud Console. Go to Logging in the left-hand menu. Enable Admin Activity and Data Access logs if not already enabled. Use Logs Explorer to filter and view specific logs based on your requirements. By monitoring both Admin Activity and Data Access logs, administrators can gain comprehensive visibility into the actions performed on their GCP resources and data, ensuring robust security and compliance tracking. Google Cloud Logging Documentation Audit Logs Overview
A customer is running an analytics workload on Google Cloud Platform (GCP) where Compute Engine instances are accessing data stored on Cloud Storage. Your team wants to make sure that this workload will not be able to access, or be accessed from, the internet. Which two strategies should your team use to meet these requirements? (Choose two.)
Correct Answer: A,B
* Objective: Ensure that the analytics workload on Compute Engine instances accessing Cloud Storage does not interact with the public internet. * Solution: * Private Google Access: This allows Compute Engine instances that only have internal IP addresses to reach Google APIs and services through a private connection without the need for a public IP address. * No Public IP Addresses: By avoiding public IP addresses for the instances, you ensure that they are not accessible from the internet and do not initiate internet connections. Steps: * Step 1: Open the Google Cloud Console. * Step 2: Navigate to the VPC Network page and select the subnet where the Compute Engine instances are located. * Step 3: Enable Private Google Access for the subnet. * Step 4: Ensure that when launching the Compute Engine instances, no public IP addresses are assigned to them. References: * Configuring Private Google Access * Preventing External IP Address Assignment
Your company's storage team manages all product images within a specific Google Cloud project. To maintain control, you must isolate access to Cloud Storage for this project, allowing the storage team to manage restrictions at the project level. They must be restricted to using corporate computers. What should you do?
Correct Answer: C
Comprehensive and Detailed Explanation From Exact Extract: The key requirement is restricting access based on the client device (i.e., "corporate computers"). Context- Aware Access (CAA) is the specific Google Cloud tool designed to enforce access based on contextual factors, including the device security status or IP address. Context Restriction: Context-Aware Access allows you to define an Access Level based on attributes like device policy compliance, operating system, or IP address range-this addresses the "corporate computers" requirement. Isolation and Control: The Access Level is then enforced via an Organization Policy applied at the Project Level (or the folder/organization level), which fulfills the requirement to isolate access to Cloud Storage for this project and restrict the access to specific resources (Cloud Storage). VPC Service Controls (VPC SC) (Option B) are great for isolating projects and preventing data exfiltration, but its primary access restriction mechanisms are based on IP range, not fine-grained device security posture and user identity together, making CAA the more precise tool for device-specific enforcement. Also, applying VPC SC ingress/egress based on IP addresses for end-user access can be complex and less flexible than CAA. IAM (Option D) only controls who (identity) can access a resource, not where or how (context) they are accessing it from. Extracts: "Context-Aware Access (CAA) integrates with Google Workspace or Cloud Identity to enforce granular access to Google Cloud resources based on a user's context, such as their location, device security status, and IP address." (Source 7.1) "To enforce CAA for Google Cloud resources like Cloud Storage, you create an Access Level that defines the required context (e.g., only corporate-managed devices) and apply it via an Organization Policy constraint (e. g., iam.allowedServices) at the project level." (Source 7.2) "CAA allows you to restrict access based on the device security posture, a key requirement for enforcing 'corporate computer' access." (Source 7.3)
A customer needs to prevent attackers from hijacking their domain/IP and redirecting users to a malicious site through a man-in-the-middle attack. Which solution should this customer use?
Correct Answer: C
DNSSEC - use a DNS registrar that supports DNSSEC, and enable it. DNSSEC digitally signs DNS communication, making it more difficult (but not impossible) for hackers to intercept and spoof. Domain Name System Security Extensions (DNSSEC) adds security to the Domain Name System (DNS) protocol by enabling DNS responses to be validated. Having a trustworthy Domain Name System (DNS) that translates a domain name like www.example.com into its associated IP address is an increasingly important building block of today's web-based applications. Attackers can hijack this process of domain/IP lookup and redirect users to a malicious site through DNS hijacking and man-in-the-middle attacks. DNSSEC helps mitigate the risk of such attacks by cryptographically signing DNS records. As a result, it prevents attackers from issuing fake DNS responses that may misdirect browsers to nefarious websites. https://cloud.google.com/blog /products/gcp/dnssec-now-available-in-cloud-dns
Your organization deploys a large number of containerized applications on Google Kubernetes Engine (GKE). Node updates are currently applied manually. Audit findings show that a critical patch has not been installed due to a missed notification. You need to design a more reliable, cloud-first, and scalable process for node updates. What should you do?
Correct Answer: D
To establish a reliable, cloud-native, and scalable process for updating nodes in your GKE clusters, configuring node auto-upgrades within designated maintenance windows is the most effective approach. * Option A: Migrating to a self-managed Kubernetes environment would increase operational overhead and complexity, as your team would be responsible for managing the entire infrastructure, including patching and updates. This contradicts the goal of adopting a cloud-first strategy and does not inherently provide a more reliable update process. * Option B: Developing custom scripts for patch management introduces potential risks and maintenance burdens. Ensuring the reliability, security, and scalability of such scripts can be challenging, and this approach may not align with best practices for managing GKE environments. * Option C: Scheduling daily reboots does not guarantee that nodes will apply the latest patches or updates. Without a mechanism to manage and apply updates, reboots alone are insufficient to maintain node security and compliance. * Option D: Configuring node auto-upgrades ensures that GKE automatically keeps your nodes up-to- date with the latest stable versions, reducing the risk of missed critical patches. By setting maintenance windows, you can control when these upgrades occur, minimizing disruptions to your workloads. This approach leverages GKE's managed services to maintain security and compliance efficiently. Therefore, Option D is the optimal solution, as it aligns with a cloud-first strategy and leverages GKE's native capabilities to automate and schedule node updates effectively. References: * Auto-upgrading nodes | Google Kubernetes Engine (GKE) * Maintenance windows and exclusions | Google Kubernetes Engine