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