โ† All GCP Flashcard Decks

Google Cloud Platform (GCP) CE Flashcards

7 cards from real GCP practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Google Cloud Platform (GCP) CE flashcards as text
  1. A developer needs to call a GCP API from a Compute Engine VM without storing service account keys on disk. What is the recommended approach?

    Answer: Use the VM's attached service account and Application Default Credentials

    Attaching a service account to a Compute Engine VM and using Application Default Credentials (ADC) is the recommended keyless authentication approach.

  2. Which Cloud Storage feature enables you to automatically transition objects to cheaper storage classes over time?

    Answer: Lifecycle Management Rules

    Cloud Storage Lifecycle Management Rules allow automatic transitions of objects to Nearline, Coldline, or Archive storage classes based on age or other conditions.

  3. What is the maximum duration for which a GCP Preemptible VM can run before being automatically terminated by Google?

    Answer: 24 hours

    Preemptible VMs are terminated by Google after a maximum of 24 hours, and may be reclaimed sooner when Compute Engine needs capacity.

  4. Which GCP tool helps you understand and optimize your cloud spending by providing cost allocation, budgets, and recommendations?

    Answer: Cloud Billing Reports with Cost Table

    Cloud Billing Reports with Cost Table provides detailed cost allocation, filtering, and grouping to understand and optimize GCP spending.

  5. Which feature of Cloud Run allows it to automatically scale down to zero instances when there is no traffic?

    Answer: Serverless autoscaling with concurrency-based request buffering

    Cloud Run uses serverless autoscaling that scales to zero instances during idle periods and buffers incoming requests while new instances start.

  6. An organization requires that all GCP resources be created only in specific geographic regions. Which control enforces this?

    Answer: Organization Policy constraints/gcp.resourceLocations

    The Organization Policy constraint `constraints/gcp.resourceLocations` restricts resource creation to a defined list of allowed regions or multi-regions.

  7. What is the role of Cloud Interconnect compared to Cloud VPN when connecting on-premises networks to GCP?

    Answer: Cloud Interconnect provides dedicated physical connections with higher throughput and lower latency; Cloud VPN tunnels over the public internet

    Cloud Interconnect provides dedicated or partner connections with guaranteed bandwidth and lower latency, while Cloud VPN encrypts traffic over the public internet.