Flashcardsfor IT Certifications

D1: Enabling APIs

Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards

Question
Why must APIs be enabled?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Enabling APIs practice questions and answers
  1. Why must APIs be enabled?
    Each Google Cloud service API must be enabled per project before use.
  2. How do you enable an API with gcloud?
    gcloud services enable SERVICE (e.g. compute.googleapis.com).
  3. How do you list enabled APIs?
    gcloud services list --enabled.
  4. How do you list available APIs?
    gcloud services list --available.
  5. How do you disable an API?
    gcloud services disable SERVICE.
  6. Where are APIs enabled in the console?
    APIs & Services → Library.
  7. Which role is needed to enable APIs?
    Service Usage Admin (roles/serviceusage.serviceUsageAdmin) or Editor/Owner.
  8. Does enabling an API cost money?
    Enabling is free; you pay for usage.
  9. What happens to service agents when an API is enabled?
    Google-managed service agents may be created and granted roles.
  10. Common API for Kubernetes Engine?
    container.googleapis.com.
  11. Why might a deployment fail with 'API not enabled'?
    The service's API hasn't been enabled in that project.