D4: Enabling Google Cloud Services
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
How do you enable an API?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Enabling Google Cloud Services practice questions and answers
- How do you enable an API?gcloud services enable SERVICE.googleapis.com.
- Where in the console?APIs & Services → Library.
- Error when API isn't enabled?PERMISSION_DENIED / SERVICE_DISABLED (403).
- How to list enabled APIs?gcloud services list --enabled.
- Which role can enable APIs?Service Usage Admin.
- Why enable APIs via IaC?Reproducible project setup.
- Are service agents created when enabling APIs?Often yes; they act on your behalf.
- Do APIs need quota checks?Yes; enabled APIs have quotas.
- Can enabling an API cost money?Only usage is billed.
- Why disable unused APIs?Reduce attack surface.