GCP Google Cloud Platform (GCP) CE 2 — Questions and Answers
Question 1: Which GCP service provides a fully managed, serverless data warehouse optimized for large-scale analytics?
- Cloud Spanner
- BigQuery (Correct answer)
- Cloud Bigtable
- Cloud SQL
Correct answer: BigQuery
BigQuery is GCP's fully managed, serverless data warehouse designed for large-scale analytics with built-in machine learning capabilities.
Question 2: What is the primary purpose of Google Cloud's VPC Service Controls?
- To encrypt data at rest in Cloud Storage
- To define firewall rules for Compute Engine VMs
- To create security perimeters around GCP services to mitigate data exfiltration risks (Correct answer)
- To manage IAM roles across multiple projects
Correct answer: To create security perimeters around GCP services to mitigate data exfiltration risks
VPC Service Controls create security perimeters around GCP API services to prevent data exfiltration, even if IAM credentials are compromised.
Question 3: Which load balancer type in GCP supports HTTP/2 and gRPC protocols globally?
- TCP/SSL Proxy Load Balancer
- Network Load Balancer
- Internal HTTP(S) Load Balancer
- External HTTP(S) Load Balancer (Correct answer)
Correct answer: External HTTP(S) Load Balancer
The External HTTP(S) Load Balancer supports HTTP/2 and gRPC globally, distributing traffic across regions using Google's front-end infrastructure.
Question 4: A company wants to run containers without managing the underlying node infrastructure. Which GCP service best fits this requirement?
- Google Kubernetes Engine (GKE) Standard
- Cloud Run (Correct answer)
- Compute Engine with Container-Optimized OS
- Anthos
Correct answer: Cloud Run
Cloud Run is a fully managed serverless platform that runs containers without requiring users to manage servers or clusters.
Question 5: Which GCP feature allows you to schedule automatic snapshots of Persistent Disks?
- Cloud Scheduler with gcloud scripts
- Snapshot Schedules (Resource Policies) (Correct answer)
- Cloud Functions triggered by Pub/Sub
- Cloud Backup and DR
Correct answer: Snapshot Schedules (Resource Policies)
Snapshot Schedules (implemented as Resource Policies) let you define automatic, recurring snapshot creation for Persistent Disks.
Question 6: What does the 'nearline' storage class in Google Cloud Storage optimize for?
- Frequently accessed data with millisecond latency
- Data accessed less than once a month with low retrieval cost (Correct answer)
- Archival data accessed less than once a year
- Data that must be stored across multiple regions
Correct answer: Data accessed less than once a month with low retrieval cost
Nearline storage is optimized for data accessed less than once a month, offering lower storage costs with a 30-day minimum storage duration.
Question 7: Which GCP tool provides a unified interface for applying policies, configurations, and security controls across hybrid and multi-cloud environments?
- Cloud Deployment Manager
- Anthos Config Management (Correct answer)
- Cloud Asset Inventory
- Policy Intelligence
Correct answer: Anthos Config Management
Anthos Config Management enables centralized policy and configuration management across GKE clusters, on-premises, and other cloud environments.
Which GCP service provides a fully managed, serverless data warehouse optimized for large-scale analytics?