0
0
GCPcloud~20 mins

Project configuration in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
GCP Project Configuration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Understanding GCP Project Resource Hierarchy

In Google Cloud Platform, which of the following correctly describes the hierarchy from highest to lowest level for organizing resources?

AProject > Organization > Folder > Resource
BFolder > Organization > Project > Resource
COrganization > Folder > Project > Resource
DResource > Project > Folder > Organization
Attempts:
2 left
💡 Hint

Think about how companies organize their cloud resources from broadest to most specific.

security
intermediate
2:00remaining
Project IAM Roles Assignment

You want to grant a user the ability to create and manage Compute Engine instances in a specific GCP project. Which IAM role should you assign to the user at the project level?

Aroles/compute.admin
Broles/viewer
Croles/editor
Droles/owner
Attempts:
2 left
💡 Hint

Consider the principle of least privilege: assign only the permissions needed.

Configuration
advanced
2:00remaining
Configuring Billing Account for a GCP Project

You have created a new GCP project but want to link it to an existing billing account. Which gcloud command correctly links the billing account to the project?

gcloud ...
Agcloud projects set-billing PROJECT_ID --billing-account=BILLING_ACCOUNT_ID
Bgcloud billing projects link PROJECT_ID --billing-account=BILLING_ACCOUNT_ID
Cgcloud beta billing projects link PROJECT_ID --billing-account=BILLING_ACCOUNT_ID
Dgcloud beta projects set-billing PROJECT_ID --billing-account=BILLING_ACCOUNT_ID
Attempts:
2 left
💡 Hint

Check the latest gcloud command group for billing project linking.

Best Practice
advanced
2:00remaining
Best Practice for Project Naming Conventions

Which of the following is the best practice for naming GCP projects to ensure clarity and uniqueness?

AUse only the project purpose in uppercase letters
BUse a combination of company name, environment, and project purpose, all lowercase with hyphens
CUse random alphanumeric strings to avoid conflicts
DUse the creator's username and date of creation
Attempts:
2 left
💡 Hint

Think about how to make project names meaningful and easy to identify.

service_behavior
expert
2:00remaining
Effect of Deleting a GCP Project on Resources

What happens to the resources and services within a GCP project immediately after you delete the project?

AOnly the project metadata is deleted; resources continue running and billing continues.
BThe project and all resources are immediately and permanently deleted with no recovery option.
CThe project is disabled but resources continue running until manually deleted.
DThe project and all its resources enter a 30-day deletion grace period during which they can be recovered; after that, resources are permanently deleted.
Attempts:
2 left
💡 Hint

Consider Google's safety measures to prevent accidental data loss.