Cloud Digital Leader How Google Cloud Resources Are Managed Practice Question
A developer wants to label resources with key-value pairs to track cost by team. Which GCP feature should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Labels
Labels are key-value metadata that can be applied to resources for cost tracking and filtering.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Tags
Why it's wrong here
Network tags are simple string identifiers attached to VM instances primarily for network policy enforcement, such as firewall rules and routing decisions. They do not support key-value pairs or integrate with Cloud Billing for cost allocation, so they cannot be used to label resources for cost tracking. Therefore, using tags for this purpose is incorrect.
- ✓
Labels
Why this is correct
Resource labels are key-value pairs that can be attached to nearly all Google Cloud resources, including compute instances, storage buckets, and BigQuery datasets. They are natively integrated with Cloud Billing, allowing you to generate cost reports filtered by label keys and values. This makes them the appropriate mechanism for labeling resources to track costs, organize workloads, and manage resources.
- ✗
Folders
Why it's wrong here
Folders are containers in the Google Cloud resource hierarchy that group projects together to apply organizational policies and IAM permissions at scale. They cannot be attached to individual resources like virtual machines or storage buckets; instead, they exist above projects. Consequently, folders are not a viable method for labeling specific resources for cost tracking.
- ✗
Organization policy tags
Why it's wrong here
Organization policy tags, also known as policy tags, are used in access control to enforce fine-grained IAM conditions and manage data classification, especially in BigQuery and Data Catalog. They are not designed for cost attribution, as they do not feed into Cloud Billing reports or provide key-value metadata for resource organization. For this reason, they are not correct for labeling resources for cost tracking.
Go deeper
Related to this question
Learn chapter
Cloud vs On-Premises Total Cost Analysis
Key term
Metadata
Metadata is data that describes other data, providing context such as when a file was created, who created it, or its size.
Key term
Labels
Labels are descriptive text or tags attached to IT resources to organize, identify, and manage them based on attributes like purpose, environment, or owner.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.