GCP Google Cloud Platform (GCP) 3 — Questions and Answers
Question 1: Which GCP networking feature allows you to extend your on-premises network to Google's network using a dedicated physical connection?
- Cloud VPN
- Cloud Interconnect (Dedicated) (Correct answer)
- VPC Peering
- Cloud NAT
Correct answer: Cloud Interconnect (Dedicated)
Dedicated Interconnect provides a direct physical connection between your on-premises network and Google's network, offering up to 100 Gbps bandwidth.
Question 2: What is a GCP Organization resource primarily used for?
- Billing account management only
- Root node for GCP resource hierarchy enabling centralized governance (Correct answer)
- Grouping Cloud Storage buckets
- Managing service account permissions
Correct answer: Root node for GCP resource hierarchy enabling centralized governance
The Organization resource is the root node of the GCP resource hierarchy, providing centralized visibility and control over all projects and resources.
Question 3: In BigQuery, what is a 'slot' and how does it relate to query cost?
- A storage partition unit charged per GB
- A unit of computational capacity used for query execution (Correct answer)
- A network bandwidth allocation for data transfer
- A cache layer for repeated query results
Correct answer: A unit of computational capacity used for query execution
A BigQuery slot is a virtual CPU used for query execution; on-demand pricing charges per byte scanned, while flat-rate pricing reserves a fixed number of slots.
Question 4: Which Cloud Storage consistency model ensures that a read immediately after a write always returns the latest data?
- Eventual consistency
- Strong consistency (Correct answer)
- Read-your-writes consistency
- Monotonic read consistency
Correct answer: Strong consistency
Cloud Storage offers strong global consistency for all object operations, so reads immediately after writes or deletes always reflect the latest state.
Question 5: What is the key difference between Preemptible VMs and Spot VMs in GCP?
- Spot VMs have a fixed 24-hour maximum runtime; Preemptible VMs do not
- Preemptible VMs have a maximum runtime of 24 hours; Spot VMs may run longer but can be reclaimed anytime (Correct answer)
- Spot VMs are only available in specific regions
- Preemptible VMs cannot run container workloads
Correct answer: Preemptible VMs have a maximum runtime of 24 hours; Spot VMs may run longer but can be reclaimed anytime
Preemptible VMs are limited to 24 hours and always preempted after that; Spot VMs have no maximum runtime but can be reclaimed at any time when capacity is needed.
Question 6: Which GCP service provides fully managed Apache Kafka-compatible streaming?
- Cloud Pub/Sub
- Dataflow
- Managed Service for Apache Kafka (Correct answer)
- Datastream
Correct answer: Managed Service for Apache Kafka
Managed Service for Apache Kafka on GCP provides a fully managed Kafka-compatible service without the need to manage Kafka infrastructure.
Question 7: What is the role of Workload Identity Federation in GCP?
- Federates on-premises Active Directory with Cloud IAM
- Allows external identities to access GCP resources without service account keys (Correct answer)
- Manages workload scheduling across multi-region clusters
- Provides single sign-on for Google Workspace users
Correct answer: Allows external identities to access GCP resources without service account keys
Workload Identity Federation lets external workloads (AWS, Azure, on-prem) authenticate to GCP using their existing identity providers, eliminating the need for service account keys.
Which GCP networking feature allows you to extend your on-premises network to Google's network using a dedicated physical connection?