Cloud Digital Leader How Google Cloud Resources Are Managed Practice Question
A company wants to assign metadata to resources for cost allocation reporting. They need to categorize resources by environment (production, staging, development) and team (engineering, marketing). They also need to use this metadata in billing exports. Which approach should they take?
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
✓
Use labels.
Labels are key-value pairs that can be applied to resources and are included in billing exports for cost attribution. Tags are used for network firewall rules, not cost allocation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use folder names.
Why it's wrong here
Folder names are organizational hierarchy constructs, not metadata attached to individual resources. In Cloud Billing's cost export, resources are associated with their project and resource IDs, but folder names are not included as key–value metadata. Therefore, using folder names alone would not let you filter or group costs for specific resources within a folder, making them impractical for granular cost allocation.
- ✓
Use labels.
Why this is correct
Labels are the native GCP mechanism for cost allocation because they are key–value pairs attached directly to resources and are included in both BigQuery billing exports and Cloud Billing reports. By consistently applying labels like 'cost-center' or 'environment,' you can group and filter cost data across projects and resources. Unlike other options, labels are explicitly designed for this purpose and are visible in exported billing data.
- ✗
Use network tags.
Why it's wrong here
Network tags are networking constructs used to define firewall rules and routing behavior — for example, selecting which instances receive a particular firewall rule. They are not exported as part of Cloud Billing or cost management data, and they cannot be used to segment or allocate costs. Treating network tags as cost metadata would fail because billing exports do not contain network-tag fields.
- ✗
Use organization policy tags.
Why it's wrong here
Organization policy tags (also known as Organization Policy constraints) are governance tools that enforce security and compliance rules, such as blocking certain regions or resource types. They are not metadata that appears in billing exports or cost breakdowns, and they are not designed to identify resources for cost allocation. Attempting to use them for cost tracking would be mixing policy enforcement with financial metadata, which is not how Cloud Billing works.
Go deeper
Related to this question
Learn chapter
Cloud vs On-Premises Total Cost Analysis
Key term
Firewall
A firewall is a network security system that monitors and controls incoming and outgoing traffic based on predetermined security rules to protect trusted internal networks from untrusted external networks.
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
This GCDL question is part of Courseiva's 829-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.