Bitzu

Associate Cloud Engineer ยท Resource hierarchy, projects and identities

Projects, enabling APIs and quotas

Creating a project, enabling APIs and services, project lifecycle (shutdown/restore), viewing quotas, requesting quota increases, and the difference between rate and allocation quotas.

Key points

  • Create: gcloud projects create PROJECT_ID (optionally --organization or --folder).
  • Enable an API: gcloud services enable SERVICE.
  • Shut-down project: DELETE_REQUESTED for 30 days, restore with gcloud projects undelete, then relink billing.
  • Allocation quotas: how much of a resource you hold (e.g. number of VMs).
  • Rate quotas: use over time (e.g. requests per minute).
  • Increases: quotas page, no paid support plan needed.

Source: https://docs.cloud.google.com/resource-manager/docs/delete-restore-projects

Practice questions

Single choice

For how long after shutdown can a project normally be restored?

  1. 30 days
  2. 24 hours
  3. 7 days
  4. 90 days
Show answer

Answer: A. 30 days

A shut-down project stays in DELETE_REQUESTED for 30 days, after which it and its data are permanently deleted.

Select all that apply

Which statements about quota types are correct?

  1. An allocation quota limits how much of a resource you can hold, such as VMs in a project
  2. A rate quota limits consumption over a time period, such as requests per minute
  3. Deleting unused resources frees allocation quota
  4. Rate quotas never reset
  5. A paid Customer Care plan is required to request any adjustment
Show answer

Answer: A. An allocation quota limits how much of a resource you can hold, such as VMs in a project, B. A rate quota limits consumption over a time period, such as requests per minute, C. Deleting unused resources frees allocation quota

Allocation quotas cap the amount of a resource you hold and are freed by deleting resources; rate quotas cap use over a time period and reset with it. Requesting an adjustment needs no paid plan.

True or false

True or false: you must have a paid Customer Care support plan to request a quota adjustment.

Show answer

Answer: False

False. You can request an adjustment without a paid plan; most requests are reviewed automatically.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More Associate Cloud Engineer topics in this module