CCNA How Google Cloud Resources Are Managed Questions

75 of 84 questions · Page 1/2 · How Google Cloud Resources Are Managed · Answers revealed

1
MCQmedium

A startup wants to estimate the monthly cost of running a managed Kubernetes cluster with specific node configurations before deploying. Which GCP tool should they use?

A.Active Assist recommendations
B.Cost Management dashboard
C.Google Cloud Pricing Calculator
D.Billing export to BigQuery
AnswerC

This tool estimates costs based on selected resources.

Why this answer

The Google Cloud Pricing Calculator allows pre-deployment cost estimation by specifying resources like GKE clusters.

2
MCQmedium

A company wants to analyze their GCP spending trends by service and project over the past year. They need to export detailed billing data to a BigQuery dataset for custom queries. Which feature should they use?

A.Billing export to BigQuery
B.Cloud Pricing Calculator
C.Active Assist rightsizing recommendations
D.Cloud Billing budget alerts
AnswerA

This exports detailed billing data to BigQuery for analysis.

Why this answer

Billing export to BigQuery sends detailed usage and cost data to a BigQuery dataset for analysis.

3
MCQhard

An organization has a folder-level IAM policy that grants the 'roles/compute.instanceAdmin' role to a group. A project under that folder has a policy that denies this role to the same group. What is the effective access for the group on Compute Engine instances in the project?

A.The group has no access because the deny overrides the allow
B.The group has full admin access because the folder policy allows it
C.The group has view access only
D.The group retains permissions but cannot modify instances
AnswerA

Deny always overrides allow.

Why this answer

Deny policies override allow policies. Even though the group has an allowed role at the folder level, the explicit deny at the project level takes precedence, so the group will not have the role's permissions on instances in that project.

4
MCQmedium

A company has a production project that requires a compute quota of 500 vCPUs, but the default limit is 200. What is the correct process to request a quota increase?

A.Shut down idle VMs to free up quota
B.Create a new support ticket with the Billing team
C.Use the gcloud compute quotas update command
D.Navigate to IAM & Admin > Quotas in Cloud Console, select the metric, and request an increase
AnswerD

This is the standard procedure for requesting quota increases.

Why this answer

Quota increases can be requested through the Cloud Console under IAM & Admin > Quotas, where the engineer can select the metric (e.g., CPUs) and request a higher limit.

5
MCQeasy

An organization wants to tag resources with key-value metadata for cost allocation purposes (e.g., team: marketing, environment: prod). Which feature should be used?

A.Organization policy constraints
B.Labels
C.IAM custom roles
D.Tags (network tags)
AnswerB

Labels are key-value pairs designed for organizing and tracking resources, especially for billing.

Why this answer

Labels are key-value pairs that can be applied to resources for billing, filtering, and cost attribution. They are visible in billing reports and the cost management dashboard.

6
Multi-Selecthard

A company wants to reduce costs for their Compute Engine workloads. They have predictable baseline usage and are willing to commit to a 1-year term. They also want to automatically get discounts for instances running more than 25% of a month. Which THREE options should they use? (Select THREE)

Select 3 answers
A.Apply CUDs at the project or folder level.
B.Purchase committed use discounts (CUDs).
C.Use sustained use discounts (SUDs).
D.Use preemptible VMs for all workloads.
E.Set up billing export to BigQuery.
AnswersA, B, C

CUDs can be applied at project or folder level to cover multiple resources.

Why this answer

Committed use discounts are for predictable workloads with 1 or 3 year terms. Sustained use discounts automatically apply to instances running >25% of a month. Committed use discounts can be applied at the project or folder level.

Preemptible VMs are not suitable for predictable workloads. Billing export does not reduce costs. Budgets do not provide discounts.

7
Multi-Selectmedium

A company wants to allocate costs for shared resources (e.g., a Cloud SQL instance used by multiple teams) to each team's budget. They also need to filter resources by environment (prod, dev) in the Cost Management dashboard. Which TWO steps should they take? (Choose TWO.)

Select 2 answers
A.Create separate Cloud SQL instances for each team
B.Purchase committed use discounts for the instance
C.Use a budget for each team at the project level
D.Apply labels to the Cloud SQL instance such as 'team:alpha' and 'environment:prod'
E.Enable billing export to BigQuery and query by label
AnswersD, E

Labels allow cost attribution and filtering by key-value pairs.

Why this answer

Labels are the primary mechanism for cost allocation and filtering in the Cost Management dashboard. For shared resources, labeling is the standard approach. Committed use discounts are not for cost allocation.

8
MCQmedium

A company has set a budget at the project level with alerts at 50%, 90%, and 100% of the budget. However, they notice that actual spending is not triggering alerts. What is the most likely cause?

A.The project has exceeded the default service quota
B.The budget amount is lower than the committed use discount amount
C.The budget was created at the project level, but alerts can only be set on billing account budgets
D.The budget was created at the billing account level instead of the project level
AnswerC

Budget alerts are based on the billing account; project-level budgets are for tracking but alerts may not fire if not properly configured with the billing account.

Why this answer

Budgets and alerts are based on projected or actual spend, but they do not stop spending. The most common issue is that the budget scope or alert thresholds are misconfigured. However, the question points to a typical mistake: budgets must be associated with a billing account, not a project directly.

If the budget was set at the project level (instead of billing account), alerts may not work.

9
MCQeasy

A company needs to track spending per team by tagging resources with a 'team' label. However, some engineers are not applying consistent labels, leading to untagged resources. How can they enforce that all new resources are created with a specific label?

A.Set up a budget alert to notify when untagged resources are created.
B.Use a custom organization policy to require the 'team' label on all resources.
C.Create a folder per team and apply labels at the folder level.
D.Run a weekly script to tag untagged resources.
AnswerB

Organization policies can enforce that resources have specific labels.

Why this answer

Organization policies can be used to enforce that resources must have certain labels. This can be done using the 'constraints/compute.requireOsLogin' for Compute Engine, but more generally, the 'constraints/iam.requireLabels' or custom constraints. However, the simplest way is to use a policy that requires a label key 'team' on all resources.

10
MCQmedium

A company has applied a deny organization policy at the folder level that prevents the use of certain machine series. An IAM policy at the project level grants a user the role of compute.instanceAdmin. The user attempts to create a VM using a denied machine series. What will happen?

A.The user is prompted to request a quota increase.
B.The VM creation is blocked by the deny policy at the folder level.
C.The VM is created successfully because the IAM policy allows it.
D.The deny policy is overridden by the project-level IAM policy.
AnswerB

Organization policy constraints (deny) override IAM allows, so the creation fails.

Why this answer

Deny policies within organization policies override allow policies, including IAM roles. The deny at the folder level will block the VM creation even if the user has the necessary IAM permissions.

11
MCQhard

A company uses a single billing account for multiple projects. The finance team needs to see costs broken down by team (based on a label 'team'). However, some resources are missing the label. What is the most efficient way to identify unlabeled resources and enforce labeling?

A.Export billing data to BigQuery and query for resources missing the label.
B.Use the gcloud command 'gcloud compute instances list --filter labels:team' to list resources with the label.
C.Use the Cloud Console to manually check each resource.
D.Set up a budget alert for resources without labels.
AnswerA

Billing export includes labels; querying for missing labels is efficient.

Why this answer

Use the Cost Management dashboard to filter by missing labels and create a report, then enforce labeling via organization policies or CI/CD pipelines.

12
MCQmedium

An organization wants to ensure that all projects in the organization have a specific IAM policy applied, such as restricting the use of certain machine series. They also need to enforce this policy on new projects automatically. Where should they set this policy?

A.At the organization node
B.At the project level for each project
C.Using tags on individual resources
D.At the folder level for each environment
AnswerA

The organization node applies policies to all projects and folders under it, including future ones, ensuring consistent enforcement.

Why this answer

Organization policies applied at the organization node are inherited by all projects under it, ensuring uniform enforcement across the entire hierarchy.

13
MCQmedium

A company has a support plan that guarantees a 15-minute response time for P1 cases and includes a Technical Account Manager (TAM). Which support plan do they have?

A.Standard Support
B.Enhanced Support
C.Basic Support
D.Premium Support
AnswerD

Premium support provides 15-min P1 response and a TAM.

Why this answer

The Premium support plan includes a 15-minute P1 response time and a TAM. Enhanced provides <1 hour, and Standard/ Basic provide limited support.

14
MCQmedium

A team needs to analyze spending patterns across projects using BigQuery. The billing export is already configured. However, the team cannot see any data in the billing export dataset. What is the most likely reason?

A.The billing account has not been linked to the project
B.The IAM permissions for the BigQuery dataset are incorrect
C.The BigQuery dataset is in a different region than the billing account's default region
D.The billing export tables are only updated monthly
AnswerC

Billing export requires the dataset to be in the same multi-regional location (US or EU) as the billing account.

Why this answer

Billing export tables typically start populating within a few hours of setup. If no data appears, the most common cause is that the dataset location does not match the billing account's default region.

15
MCQmedium

A team wants to track costs for their development and production environments separately. They have multiple projects for each environment. Which approach should they use to group projects by environment and analyze costs by environment in billing reports?

A.Create a folder for each environment and assign projects to the folders
B.Add a label like 'environment:dev' or 'environment:prod' to each project
C.Use separate billing accounts for each environment
D.Create a separate organization for each environment
AnswerB

Labels enable cost breakdown by environment in billing export and reports.

Why this answer

Labels are key-value pairs that can be applied to resources or projects and used for cost allocation and filtering in billing reports. Folders are for hierarchical grouping and IAM inheritance, not direct cost tracking.

16
MCQmedium

An organization wants to allow their finance team to view billing account cost information but prevent them from making any changes to the billing account. Which IAM role should they grant?

A.Billing Account Admin
B.Project Billing Manager
C.Billing Account User
D.Billing Account Viewer
AnswerD

This role provides read-only access to billing information.

Why this answer

Billing Viewer role provides read-only access to billing account information.

17
MCQeasy

What is the primary purpose of a folder in the Google Cloud resource hierarchy?

A.To manage user identities
B.To define network topologies
C.To store billing information
D.To group projects and apply policies
AnswerD

Folders are used for grouping and policy inheritance.

Why this answer

Folders allow you to group projects and apply IAM policies and organization policies at a level below the organization node, enabling departmental separation and delegated administration.

18
MCQeasy

A developer needs to estimate the monthly cost of running a set of Compute Engine instances with specific machine types, persistent disks, and network egress before deploying. Which tool should they use?

A.Google Cloud Pricing Calculator
B.Billing export to BigQuery
C.Active Assist Recommendations
D.Cost Management dashboard
AnswerA

The Pricing Calculator is designed for estimating costs before deployment.

Why this answer

The Google Cloud Pricing Calculator allows users to estimate costs for various services based on their configuration, before deployment.

19
MCQeasy

A company needs to estimate the monthly cost of running a set of Compute Engine instances, including network egress and Cloud Storage usage, before deploying the architecture. Which tool should they use?

A.Active Assist recommendations
B.Google Cloud Pricing Calculator
C.Budget alerts
D.Cost Management dashboard
AnswerB

The Pricing Calculator provides a detailed cost estimate based on user-provided resource specifications.

Why this answer

The Google Cloud Pricing Calculator allows users to input their expected resource usage and receive a cost estimate before deployment.

20
MCQmedium

A company wants to receive notifications when its monthly spending exceeds 80% of a $10,000 budget. Which set of steps will achieve this?

A.Create a budget alert in Cloud Monitoring with a metric threshold of 80%
B.Set up a budget in the Billing section of Cloud Console, define the amount, and add alert thresholds at 80%
C.Use the Google Cloud Pricing Calculator to set a spending limit
D.Configure a Cloud Scheduler job to check billing data in BigQuery and send a notification
AnswerB

Budgets with alerts notify when actual or forecasted spend exceeds thresholds.

Why this answer

Budgets and alerts can be set up in the Cloud Console to trigger email or Pub/Sub notifications at specified thresholds (e.g., 50%, 80%, 90%).

21
Multi-Selectmedium

A company is planning their resource hierarchy in Google Cloud. They need to separate environments (prod, non-prod) and teams (engineering, data science). They also need to apply common policies to all prod projects. Which TWO resources should they use?

Select 2 answers
A.Billing accounts
B.Folders
C.Organization policies
D.Labels
E.Projects
AnswersB, C

Folders can represent environments or teams and allow policy inheritance.

Why this answer

Folders allow hierarchical grouping of projects. Organization policies can be applied at the folder level to enforce common policies. Projects are the unit of resource management.

Labels are for metadata, not hierarchy. Billing accounts are separate from hierarchy.

22
Multi-Selecteasy

An engineer needs to grant a team access to view but not edit Compute Engine instances in a project. They also need to ensure that any new instances created in a folder automatically inherit a policy that denies using certain machine types. Which TWO steps should they take? (Choose TWO.)

Select 2 answers
A.Grant the team the 'roles/iam.securityReviewer' role
B.Use a deny IAM policy at the project level to block create permissions
C.Apply an organization policy constraint to the folder to deny certain machine types
D.Set a quota for the machine type at the project level
E.Grant the team the 'roles/compute.viewer' role at the project level
AnswersC, E

Organization policies at the folder level are inherited by all projects and resources within.

Why this answer

IAM roles grant permissions; compute.viewer provides read-only access to Compute resources. Organization policies can be set at the folder level to restrict machine types across all projects within.

23
Multi-Selecthard

A company needs to optimize costs for Compute Engine VMs. They have a mix of workloads: some are batch jobs that can be interrupted, while others are critical services that must run 24/7. The company wants to use the most cost-effective options without sacrificing reliability for critical services. Which THREE strategies should they implement?

Select 3 answers
A.Use committed use discounts for the 24/7 critical services
B.Rightsize VMs using Active Assist recommendations
C.Set up budget alerts to monitor spending
D.Rely solely on sustained use discounts for all instances
E.Use preemptible or Spot VMs for batch jobs
AnswersA, B, E

Committed use discounts reduce costs for predictable, always-on instances.

Why this answer

Sustained use discounts automatically apply to long-running VMs. Committed use discounts provide larger discounts for predictable, always-on workloads. Preemptible/Spot VMs are ideal for fault-tolerant batch jobs.

The other options are not relevant or would not reduce costs.

24
Multi-Selecthard

A company has a multi-project GCP environment with a single billing account. They want to receive alerts when any project's spending exceeds its allocated budget, and they want to analyze cost trends by project and service. Which THREE services should they use together?

Select 3 answers
A.Committed use discounts
B.Labels on resources
C.Active Assist idle resource recommendations
D.Cloud Billing budgets
E.Billing export to BigQuery
AnswersB, D, E

Labels allow cost breakdown by project and service.

Why this answer

Use budgets for alerts, billing export to BigQuery for analysis, and labels for cost attribution.

25
MCQhard

An engineer is designing a resource hierarchy for a multinational company with multiple business units. The company uses Google Workspace. What is the first step in creating the resource hierarchy?

A.Link the Google Workspace account to the organization node
B.Create a project for each business unit
C.Create a folder for each business unit
D.Enable the Cloud Resource Manager API
AnswerA

The organization node is provisioned automatically when Google Workspace or Cloud Identity is set up; no manual creation is needed.

Why this answer

The organization node is automatically created when a Google Workspace or Cloud Identity account is set up. It serves as the root node for the resource hierarchy.

26
MCQmedium

A company wants to reserve Compute Engine resources for a 3-year term to get a significant discount. Which discount type should they use?

A.Preemptible VM discount
B.Sustained use discount
C.Sole-tenant node discount
D.Committed use discount
AnswerD

CUDs are designed for long-term commitments.

Why this answer

Committed use discounts (CUDs) allow you to commit to a certain level of usage for 1 or 3 years in exchange for a discounted rate.

27
Multi-Selecthard

An organization wants to enforce that all Compute Engine instances must have a label 'environment' set to 'production', 'staging', or 'development'. They also want to ensure that instances in the 'production' folder cannot be created with public IP addresses. Which THREE steps should they take? (Choose 3)

Select 2 answers
A.Use IAM conditions to deny the compute.instances.create permission without the label.
B.Set up VPC Service Controls to restrict access to the production VPC.
C.Create an organization policy constraint that prohibits external IP addresses on Compute Engine instances in the production folder.
D.Create a folder for each environment and apply the label automatically using a Cloud Function triggered by Resource Manager events.
E.Create a custom organization policy constraint that requires the 'environment' label on Compute Engine instances.
AnswersC, E

This restricts public IPs for instances under the production folder.

Why this answer

To enforce labels, they should create a custom organization policy constraint that requires the label. To restrict public IPs on instances under the production folder, they can use a VPC Service Controls perimeter or a custom constraint. However, VPC Service Controls restricts data exfiltration but not public IPs directly.

A more direct approach is to use an organization policy to restrict external IPs on instances.

28
Multi-Selecteasy

A company wants to gain visibility into their Google Cloud spending across multiple projects. Which TWO methods allow them to analyze cost data?

Select 2 answers
A.Upgrade to Premium Support.
B.Set up billing export to BigQuery.
C.Use the Google Cloud Pricing Calculator.
D.Use the Cost Management dashboard.
E.Set up budget alerts.
AnswersB, D

Enables custom SQL queries on billing data.

Why this answer

Billing export to BigQuery allows custom SQL analysis. The Cost Management dashboard provides visualizations. The Pricing Calculator is for estimates.

Budgets only send alerts. Support plans do not provide cost analysis.

29
MCQhard

A company has a fixed budget for GCP and wants to prevent any cost overrun by automatically disabling all resources when the monthly budget is exceeded. Which approach should they use?

A.Use the Cost Management dashboard to manually stop resources.
B.Create a Cloud Function triggered by a budget alert Pub/Sub message to stop resources.
C.Use Active Assist to automatically stop idle resources.
D.Set up a budget alert with the 'disable resource' action.
AnswerB

This automation can stop resources when budget threshold is exceeded.

Why this answer

GCP does not have a built-in mechanism to automatically disable resources when a budget is exceeded. Budget alerts trigger notifications but do not take action. The best practice is to monitor alerts and manually take action, or use Cloud Functions to automate shutdown based on budget alerts.

30
MCQmedium

A startup expects unpredictable Compute Engine usage and wants to minimize costs without manual intervention. Which discount type automatically applies to VM instances that run for more than 25% of a month?

A.Sustained use discounts
B.Committed use discounts
C.Spot VM discounts
D.Preemptible VM discounts
AnswerA

Sustained use discounts automatically apply to VM instances that run more than 25% of a month, increasing with usage.

Why this answer

Sustained use discounts are automatic and apply to Compute Engine instances that run for a significant portion of the month, with no upfront commitment.

31
MCQhard

An organization has multiple projects with many underutilized Compute Engine instances. They want to identify idle instances and generate recommendations for downsizing or deleting them. The finance team wants to see cost savings estimates. Which tool should they use?

A.Google Cloud Pricing Calculator
B.Billing export to BigQuery
C.Active Assist
D.Cost Management dashboard
AnswerC

Active Assist provides recommendations for rightsizing and idle resources with cost savings estimates.

Why this answer

Active Assist includes recommendations for rightsizing and idle resources, providing cost savings estimates. The Cost Management dashboard shows actual costs, not recommendations.

32
MCQeasy

An engineer needs to organize resources for multiple departments and enforce organization-wide policies such as restricting VM external IP addresses. Which GCP resource hierarchy level should the policy be applied at to ensure all projects inherit it?

A.Resource
B.Folder
C.Project
D.Organization node
AnswerD

Organization node policies are inherited by all child folders and projects.

Why this answer

Organization policies applied at the organization node are inherited by all folders and projects under it.

33
Multi-Selectmedium

A company wants to reduce Compute Engine costs for a production workload that runs 24/7. They are willing to commit to a 1-year term. Which TWO actions would help reduce costs? (Choose TWO.)

Select 2 answers
A.Change all VMs to n1-standard-1 instances
B.Enable sustained use discounts
C.Use active assist recommendations to rightsize VMs
D.Purchase committed use discounts for the required vCPUs and memory
E.Use preemptible VMs instead of regular VMs
AnswersB, D

Sustained use discounts automatically apply for VMs running more than 25% of the month, but they are complementary to CUDs; however, for a 24/7 workload, they will apply but CUDs are more cost-effective.

Why this answer

Committed use discounts (CUDs) provide significant discounts for 1- or 3-year commitments. Sustained use discounts are automatic for VMs running over 25% of the month, but CUDs offer larger discounts. Preemptible VMs are not suitable for 24/7 workloads as they can be terminated at any time.

Rightsizing recommendations can help but are not a commitment action.

34
MCQmedium

A company has a folder for each department. The Finance team needs to prevent all projects under its folder from creating external IP addresses. What is the most efficient way to enforce this restriction?

A.Configure a service perimeter in VPC Service Controls
B.Use a deny IAM policy at the folder level
C.Apply an organization policy constraint at the folder level
D.Set a VPC firewall rule in each project
AnswerC

Organization policy constraints like constraints/compute.vmExternalIpAccess can be set at the folder level to block external IP creation.

Why this answer

Organization policies can be defined at any level of the resource hierarchy and are inherited by child resources. Setting a constraint at the folder level applies to all projects under that folder.

35
MCQmedium

A company wants to analyze its Google Cloud spending trends by project, service, and labels. They need to run custom SQL queries on billing data and retain it for 2 years. Which approach should they use?

A.Use the Google Cloud Pricing Calculator.
B.Set up billing export to BigQuery.
C.Enable the Cost Management dashboard.
D.Configure budgets and alerts.
AnswerB

Billing export to BigQuery stores detailed billing data in BigQuery tables for analysis and retention.

Why this answer

Billing export to BigQuery allows you to export detailed billing data into BigQuery datasets, where you can run custom SQL queries and retain data for your desired period.

36
MCQeasy

Which Google Cloud resource serves as the root node in the resource hierarchy and is linked to a Google Workspace or Cloud Identity account?

A.Organization node
B.Billing account
C.Folder
D.Project
AnswerA

This is the correct answer.

Why this answer

The organization node is the top-level resource in the hierarchy, linked to the domain of the Google Workspace or Cloud Identity account.

37
MCQmedium

A company runs Compute Engine instances that experience stable, predictable usage. They want to reduce costs by committing to a 1-year term for these virtual machines. Which discount type should they use?

A.Committed use discounts
B.Preemptible VMs
C.Sole-tenant nodes
D.Sustained use discounts
AnswerA

Committed use discounts provide up to 57% discount for 1-year commitments on Compute Engine resources, ideal for predictable usage.

Why this answer

Committed use discounts (CUDs) allow customers to commit to a certain amount of resources (vCPUs, memory) for 1 or 3 years in exchange for a significant discount. This is ideal for predictable workloads.

38
MCQmedium

A user attempts to create a new Compute Engine instance in the us-central1 region and receives an error indicating that the quota for 'CPUs' has been exceeded. Where should the user go to request a quota increase?

A.Cloud Console > IAM & Admin > Quotas
B.Cloud Console > Billing > Budgets
C.Google Cloud Pricing Calculator
D.Cloud Console > Support > Cases
AnswerA

Quota increases are requested from the Quotas page in IAM & Admin.

Why this answer

Quota increases for resources like vCPUs are requested via the Cloud Console's IAM & Admin > Quotas page, not Support or Pricing Calculator.

39
Multi-Selectmedium

A developer is troubleshooting why a Compute Engine instance cannot start in a specific region. The error indicates a quota limit. Which TWO steps should the developer take?

Select 2 answers
A.Check the current quota for the resource in that region via the Quotas page in Cloud Console.
B.Delete unused resources in the same region to free up quota automatically.
C.Change the project to a different billing account.
D.Use a different machine type that uses fewer vCPUs.
E.Request a quota increase for the specific resource in that region.
AnswersA, E

Quotas page shows limits and usage.

Why this answer

Check current quotas in the region and request a quota increase if needed.

40
MCQeasy

An organization wants to ensure that all projects under a specific folder inherit a policy that disables the creation of external IP addresses. Which Google Cloud resource hierarchy level should the policy be applied to enforce this requirement for all child resources?

A.Folder
B.Organization node
C.Resource (e.g., VM instance)
D.Project
AnswerA

Applying the policy at the folder level ensures inheritance to all projects and resources under that folder, meeting the requirement.

Why this answer

Organization policy constraints applied at the folder level are inherited by all projects and resources within that folder, ensuring consistent enforcement across the hierarchy.

41
MCQhard

A finance team needs to analyze detailed cost data across multiple projects, including resource-level breakdowns, labels, and cost attribution. They want to export this data to a BigQuery dataset for custom analysis. Which billing export option should they enable?

A.Use the Cloud Billing API to pull cost data programmatically
B.Set up a budget alert with notifications to Pub/Sub and ingest into BigQuery
C.Enable billing export to Cloud Storage in CSV format
D.Enable billing export to BigQuery (standard usage cost data)
AnswerD

Standard usage cost data export to BigQuery includes detailed line items for custom analysis.

Why this answer

Standard billing export to a BigQuery dataset provides detailed cost data with resource-level items, labels, and cost breakdowns. It is the recommended method for granular analysis.

42
MCQmedium

An engineer needs to increase the default limit of 24 CPUs per region for Compute Engine instances in their project. They have already consumed 20 CPUs and need to launch a new instance with 8 CPUs. What should they do?

A.Launch the instance anyway; Google Cloud will automatically increase the quota.
B.Request a quota increase in the Cloud Console Quotas page.
C.Create a new project and launch the instance there.
D.Use a different region with available quota.
AnswerB

Quota increases must be requested and approved before launching resources that exceed current limits.

Why this answer

Service quotas are per-project and per-region limits. The engineer must request a quota increase via the Quotas page in the Cloud Console before exceeding the limit.

43
Multi-Selectmedium

Which THREE actions can help reduce Compute Engine costs? (Choose three.)

Select 3 answers
A.Purchase committed use discounts for predictable workloads.
B.Rightsize instances based on utilization metrics.
C.Use preemptible VMs for batch workloads.
D.Increase the number of persistent disk snapshots.
E.Enable sustained use discounts by running instances continuously.
AnswersA, B, C

CUDs provide significant discounts for committed usage.

Why this answer

Using preemptible VMs, rightsizing instances, and implementing committed use discounts are all effective cost reduction strategies for Compute Engine.

44
MCQmedium

A team runs a production Compute Engine instance that has been running for 15 days in a 30-day month. They also have a second instance that runs occasionally for testing. They want to maximize cost savings without committing to a 1-year or 3-year term. Which discount will apply automatically?

A.Committed use discount (CUD)
B.Sustained use discount (SUD)
C.Preemptible VM discount
D.No discount applies automatically.
AnswerB

SUDs automatically apply to instances running over 25% of the month (15 days qualifies).

Why this answer

Sustained use discounts automatically apply to instances that run for more than 25% of a month (i.e., >7.5 days). At 15 days, the instance qualifies for sustained use discounts. Committed use discounts require a pre-purchased commitment.

45
Multi-Selectmedium

A company needs to organize their GCP resources into a hierarchy that reflects their departments: Engineering, Marketing, and Finance. Each department has multiple projects. They also want to apply common policies to all departments except Finance, which has special compliance requirements. Which TWO steps should they take?

Select 2 answers
A.Use labels to differentiate departments instead of folders.
B.Apply organization policies at the organization node and override them for the Finance folder using tags.
C.Apply separate IAM policies for each project within a folder.
D.Create a project for each department and place resources in it.
E.Create a folder for each department.
AnswersB, E

Organization policies inherited, with exceptions via tags.

Why this answer

Create folders for each department, and apply policies to the organization node with exceptions via tags.

46
Multi-Selectmedium

A company has multiple projects and wants to organize them by environment (dev, test, prod) and by team (engineering, marketing, finance). They also need to apply IAM policies that affect all projects in a given environment. Which TWO steps should they take?

Select 2 answers
A.Create separate billing accounts for each environment
B.Use organization policies at the project level
C.Apply IAM policies at the folder level
D.Use labels to group projects by environment
E.Create folders for each environment (dev, test, prod) and place projects in the appropriate folder
AnswersC, E

Policies at the folder level are inherited by all projects in that folder.

Why this answer

Using folders to group projects by environment allows inheritance of IAM policies. Labels are used for cost attribution and filtering, not for policy enforcement.

47
MCQhard

A company wants to receive near-real-time notifications when spending in a project exceeds 50%, 75%, and 100% of a monthly budget of $50,000. They also want to automatically disable billing for the project if spending exceeds $60,000. Which configuration should they use?

A.Use the Cost Management dashboard to monitor spending and disable billing manually.
B.Create a budget alert at 100% only and manually disable billing when alerted.
C.Create a budget with thresholds at 50%, 75%, 100% and set the 'disable billing' action on the budget.
D.Create a budget with thresholds at 50%, 75%, 100% and set up a Cloud Function that listens to Pub/Sub messages from the budget to automatically disable billing when a 120% threshold is exceeded.
AnswerD

This is the correct approach: use budget notifications via Pub/Sub to trigger a Cloud Function that disables billing.

Why this answer

Budgets can be set with multiple threshold rules for notifications. However, automatically disabling billing requires a separate automation (e.g., Cloud Functions triggered by Pub/Sub) because budgets do not perform actions beyond notifications and Pub/Sub messages.

48
MCQhard

An organization has a folder for each department, with multiple projects under each folder. The security team wants to deny the creation of VMs with public IPs in all projects under the 'production' folder, except for the 'web-server' project where public IPs are required. How can they implement this using IAM and Organization Policies?

A.Apply a deny policy at the folder level, then use tags with organization policy conditional enforcement to allow the exception project.
B.Apply an allow policy at the project level and a deny policy at the resource level.
C.Apply a deny policy at the organization node and an allow policy at the project level.
D.Use IAM roles to restrict VM creation only in the production folder.
AnswerA

Folder-level deny with tag-based exception allows the specific project.

Why this answer

Set an organization policy at the folder level to deny public IPs, then create a policy tag to allow public IPs on the specific project.

49
MCQeasy

An organization wants to group related projects under a common parent for policy enforcement and cost tracking. Which GCP resource hierarchy level should be used to group several projects that belong to the same business unit?

A.Organization node
B.Folder
C.Project
D.Resource
AnswerB

Folders group projects and other folders, enabling hierarchical policy inheritance.

Why this answer

Folders are used to group projects (and other folders) into a hierarchy for applying policies and organizing resources by department, team, or environment.

50
MCQmedium

A company needs to set a budget for their GCP project and receive notifications when spending reaches 50%, 90%, and 100% of the budget. Which action should they take?

A.Enable Committed Use Discounts to reduce costs.
B.Set up billing export to BigQuery with scheduled queries.
C.Configure a budget alert in Cloud Billing with threshold rules at 50%, 90%, and 100%.
D.Use Active Assist to set cost thresholds.
AnswerC

Budget alerts trigger notifications at specified percentages.

Why this answer

Create a budget with alert thresholds at the desired percentages to receive notifications.

51
MCQhard

An organization uses labels to track cost by environment (dev, test, prod). However, the Finance team notices that some resources are missing the 'env' label. Which service can automatically suggest labeling resources that are missing required labels?

A.Cost Management dashboard
B.Active Assist Recommendations
C.Cloud Asset Inventory
D.Organization Policy Service
AnswerB

Active Assist includes a recommender for labeling resources that are missing required labels.

Why this answer

Active Assist provides recommendations for various optimizations, including labeling. The Recommender can suggest labels for resources that are missing them, based on usage patterns.

52
MCQmedium

An engineer needs to analyze detailed cost data, including resource-level usage costs and labels, to create custom reports. Which approach should they use?

A.Use the Cost Management dashboard to export a CSV
B.Set up billing export to BigQuery
C.Manually review invoices
D.Use the Cloud Pricing Calculator
AnswerB

This provides the most detailed and flexible data for custom analysis.

Why this answer

Billing export to BigQuery allows you to export detailed, granular billing data (including labels and resource-level costs) to a BigQuery dataset for custom analysis and reporting.

53
MCQmedium

A developer wants to create a new project in Google Cloud. They have the Project Creator role at the organization level. Which of the following is NOT required to create a project?

A.The Google Cloud CLI installed locally
B.The resourcemanager.projects.create permission
C.A billing account linked to the project
D.Enabling the Cloud Resource Manager API
AnswerA

Projects can be created via Cloud Console, API, or gcloud, but the CLI is not mandatory.

Why this answer

To create a project, you need the resourcemanager.projects.create permission and a billing account must be linked. However, enabling APIs is not required at project creation; it can be done later.

54
MCQhard

A company wants to reserve Compute Engine instances for a 3-year term to get the maximum discount. They expect consistent usage and want the discount to apply automatically to any instance matching the configuration. Which purchasing option should they choose?

A.Sustained use discounts
B.Preemptible VM instances
C.Reserved instances (like AWS)
D.Committed use discounts with a 3-year term
AnswerD

3-year CUDs provide the highest discount for predictable workloads.

Why this answer

Committed use discounts (CUDs) offer significant discounts in exchange for a commitment to use a minimum level of resources for 1 or 3 years. They apply automatically to eligible instances in the specified region and machine series.

55
MCQmedium

A company wants to reduce costs for their long-running Compute Engine instances by committing to a 1-year term. Which type of discount should they use?

A.Sole-tenant node discount
B.Preemptible VM discount
C.Sustained use discount
D.Committed use discount
AnswerD

Requires 1 or 3 year commitment for higher discount.

Why this answer

Committed use discounts offer reduced prices in exchange for a 1 or 3 year commitment.

56
MCQhard

An engineer wants to export billing cost data to BigQuery for custom reporting. They have created a BigQuery dataset and linked it to the billing account. However, the billing export tables are not being populated. What is the most likely cause?

A.The billing export has not been enabled in the Cloud Console
B.The engineer does not have the Billing Administrator IAM role
C.The BigQuery dataset is in a different location from the billing account's default region
D.The billing account is not linked to the project containing the BigQuery dataset
AnswerC

Billing export requires the dataset to be in the same multi-regional location (US or EU) as the billing account.

Why this answer

Billing export to BigQuery requires the billing account to be linked to a project that contains the dataset, and the dataset must be in the same location (e.g., US or EU) as the billing account's default region.

57
MCQmedium

An engineer wants to analyze historical spending trends and break down costs by project, region, and service. They need to run complex SQL queries on the billing data. What is the recommended approach?

A.Enable billing export to BigQuery and query the exported tables
B.Set up a budget alert to receive cost reports daily
C.Use the Cloud Billing API to programmatically fetch cost data
D.Download the monthly invoice CSV and import it into Sheets
AnswerA

Billing export to BigQuery provides structured tables that can be queried with SQL for detailed analysis.

Why this answer

Billing export to BigQuery sends detailed billing information (e.g., usage, cost, project, labels) into BigQuery tables, enabling complex SQL analysis.

58
MCQmedium

A company wants to receive a 15-minute response time for Priority 1 production issues and have a dedicated Technical Account Manager. Which support plan should they purchase?

A.Enhanced
B.Premium
C.Basic
D.Standard
AnswerB

Premium meets all requirements.

Why this answer

The Premium support plan offers a 15-minute response time for P1 issues and includes a Technical Account Manager (TAM).

59
MCQhard

A team notices that their Compute Engine instances are consistently running at low CPU utilization. They want to reduce costs by receiving recommendations to resize or stop idle VMs. Which service provides these recommendations?

A.Cost Management dashboard
B.Cloud Scheduler
C.Active Assist
D.Cloud Monitoring
AnswerC

Active Assist's Recommender analyzes usage patterns and suggests rightsizing or stopping idle resources to save costs.

Why this answer

Active Assist includes Recommender, which provides cost optimization recommendations such as rightsizing VMs, identifying idle resources, and suggesting committed use discounts.

60
MCQhard

An engineer is setting up budgets and alerts to manage costs. They want to receive a notification when forecasted spend exceeds 80% of the budget amount. Which step is required to enable forecast-based alerts?

A.Enable billing export to BigQuery and set up a scheduled query
B.Select 'Forecasted spend' as the alert threshold type in the budget configuration
C.Create a Cloud Function that checks current spend every hour
D.Use the Cost Management API to query forecast data
AnswerB

This is the correct way to enable forecast-based alerts.

Why this answer

In the budget alert configuration, you can set alert thresholds based on actual or forecasted spend. To alert on forecasted spend, you must select the 'Forecasted spend' option when defining the threshold rules.

61
MCQeasy

A developer wants to label resources with key-value pairs to track cost by team. Which GCP feature should they use?

A.Tags
B.Labels
C.Folders
D.Organization policy tags
AnswerB

Labels are key-value pairs used for cost attribution and filtering.

Why this answer

Labels are key-value metadata that can be applied to resources for cost tracking and filtering.

62
MCQmedium

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?

A.Use folder names.
B.Use labels.
C.Use network tags.
D.Use organization policy tags.
AnswerB

Labels are designed for cost allocation and are included in billing exports.

Why this answer

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.

63
MCQmedium

An organization wants to tag resources with environment (dev/staging/prod) and cost center (e.g., 'marketing', 'engineering') for cost allocation and filtering in billing reports. Which feature should they use?

A.Organization policy tags
B.Folders
C.Network tags
D.Labels
AnswerD

Labels are designed for cost attribution and filtering; they appear in billing export and Cost Management tools.

Why this answer

Labels are key-value pairs that can be attached to resources and are used for billing cost allocation, filtering in cost reports, and resource grouping. Tags are for organization policy enforcement and network firewall rules.

64
MCQeasy

Which GCP support plan provides 15-minute response time for P1 incidents and a Technical Account Manager (TAM)?

A.Enhanced
B.Premium
C.Standard
D.Basic
AnswerB

Premium includes 15-minute response for P1 and a TAM.

Why this answer

Premium Support offers the fastest response times and a TAM.

65
Multi-Selecthard

A company is running a production application on Compute Engine and wants to ensure that if a quota for a resource is exceeded, the engineering team is notified immediately. Which THREE steps should they take? (Choose THREE.)

Select 3 answers
A.Request a quota increase before hitting the limit
B.Create a log-based metric for quota usage and alert on it
C.Use the Cloud Monitoring API to create a quota alert policy
D.Set up a budget alert with a threshold of 100%
E.Configure a notification channel (e.g., Email, Pub/Sub) for the alert
AnswersB, C, E

Quota usage is logged; a log-based metric can trigger an alert.

Why this answer

Quota alerts can be set up via the Cloud Monitoring API or Cloud Console to notify on quota usage thresholds. Budget alerts are for cost, not quota. Requesting quota increase is proactive, not reactive.

Pub/Sub can be used for alerting.

66
Multi-Selectmedium

A company needs to enforce that no project in the organization can create resources outside of the us-central1 region. They also need to allow the Finance team to manage billing for all projects. Which TWO steps should they take?

Select 2 answers
A.Create a separate billing account for each project
B.Use IAM deny policies at the organization node to block resource creation outside us-central1
C.Apply the `gcp.resourceLocations` organization policy constraint at the organization node
D.Create a folder and apply an organization policy constraint to restrict locations at the folder level
E.Grant the Finance team the Billing Account Administrator role on the billing account
AnswersC, E

This constraint restricts which locations can be used for resource creation.

Why this answer

Organization policies can be applied at the organization level to restrict locations. Billing account access is controlled by IAM roles on the billing account, granting the Finance team the Billing Account Administrator role.

67
MCQmedium

A company runs Compute Engine instances for batch processing that are shut down on weekends. They want to automatically reduce costs without committing to a 1-year or 3-year term. Which discount type applies?

A.Sustained use discount
B.Sole-tenant node discounts
C.Preemptible VM discounts
D.Committed use discount
AnswerA

Automatic discount for running instances over 25% of month.

Why this answer

Sustained use discounts automatically apply for instances running more than 25% of a month, with no upfront commitment.

68
Multi-Selectmedium

A company wants to set up cost controls and analysis. They need to receive notifications when spending exceeds certain thresholds, and also be able to run custom queries on billing data. Which TWO actions should they take? (Choose 2)

Select 2 answers
A.Create a budget and set alert thresholds
B.Set up a Pub/Sub topic for billing alerts
C.Activate the Cost Management dashboard
D.Enable billing export to Cloud Storage
E.Enable billing export to BigQuery
AnswersA, E

Budgets with alerts notify when spending reaches specified percentages.

Why this answer

To receive notifications at thresholds, they need to create a budget and set alerts. To run custom queries, they should enable billing export to BigQuery.

69
MCQhard

An organization has multiple projects in Google Cloud. They want to enforce a policy that prevents the creation of Compute Engine instances with more than 8 vCPUs in any project under a specific folder, except for a few exempted projects. How can they achieve this with minimal overhead?

A.Use organization policy with tags: define a tag 'exempt' and attach it to exempted projects; set the policy condition to apply unless the resource has the tag.
B.Use IAM conditions with a custom role to deny creation of large instances.
C.Create a folder for exempted projects and apply a allow policy to that folder.
D.Apply a custom organization policy at the folder level without tags, and add exceptions in each project individually.
AnswerA

Tags allow conditional policies; they can be added to specific projects without restructuring the hierarchy.

Why this answer

Using organization policy constraints with tags allows conditional enforcement. By attaching a tag to exempted projects and using conditions in the policy, they can apply the restriction to most projects while allowing exceptions.

70
Multi-Selectmedium

A company needs to reduce costs on Compute Engine instances that run batch jobs for varying durations. They can tolerate interruptions and do not require a specific uptime guarantee. Which TWO instance types or purchasing options should they consider? (Choose 2)

Select 2 answers
A.Sole-tenant nodes
B.Spot VMs
C.Preemptible VMs
D.Committed use discounts
E.Sustained use discounts
AnswersB, C

Spot VMs are the newer version of preemptible VMs with no maximum runtime, ideal for batch and fault-tolerant workloads.

Why this answer

Preemptible VMs can be terminated at any time but are significantly cheaper, suitable for fault-tolerant batch jobs. Spot VMs are similar to preemptible but with no maximum runtime and often lower price. Both are ideal for batch workloads that can handle interruptions.

71
MCQeasy

A developer wants to estimate the monthly cost of running a Kubernetes cluster with 3 nodes of n1-standard-4 in the us-central1 region before provisioning. Which tool should the developer use?

A.Billing export to BigQuery
B.Active Assist recommendations
C.Google Cloud Pricing Calculator
D.Cost Management dashboard
AnswerC

The Pricing Calculator is designed for pre-deployment cost estimation.

Why this answer

The Google Cloud Pricing Calculator is used to estimate costs for various services before deployment.

72
MCQmedium

A company wants to automatically receive a discount for running Compute Engine instances for more than 25% of a month without any upfront commitment. Which discount type applies?

A.Committed use discount
B.CUD (Committed Use Discount)
C.Sustained use discount
D.Preemptible VM discount
AnswerC

These are automatic for usage >25% of month.

Why this answer

Sustained use discounts are automatically applied to Compute Engine instances that run for a significant portion of the month, with no upfront commitment required.

73
MCQhard

A developer tries to create a new Compute Engine instance in the us-central1 region but receives an error 'Quota 'CPUS' exceeded. Limit: 24.0'. What should the developer do to resolve this?

A.Wait for the quota to reset automatically
B.Use a different machine family with lower CPU count
C.Delete unused instances in other regions
D.Request a quota increase for CPUs in us-central1
AnswerD

This directly addresses the quota limit.

Why this answer

The error indicates a resource quota (CPU limit) has been reached. The correct action is to request a quota increase in the Cloud Console for the specific region and resource type (CPUs).

74
Multi-Selecthard

An organization wants to ensure that all projects in their GCP organization have consistent IAM policies. They also need to restrict the use of external IP addresses on Compute Engine instances for security. Which TWO tools should they use? (Choose TWO.)

Select 2 answers
A.Use an organization policy constraint 'compute.vmExternalIpAccess' at the organization level
B.Apply a deny IAM policy to each project individually
C.Set a quota for external IP addresses per project
D.Use network tags to block external IPs
E.Define IAM policies at the organization level
AnswersA, E

This constraint restricts external IP usage on VMs; it can be set at organization or folder level.

Why this answer

Organization policies can enforce restrictions like disabling external IP addresses across the entire organization. IAM policies at the organization level can set baseline access controls inherited by all projects.

75
MCQhard

A company has a Premium support plan. They experience a critical production outage and need immediate assistance. What is the guaranteed response time for a P1 (Priority 1) case?

A.4 hours
B.8 hours
C.1 hour
D.15 minutes
AnswerD

Premium support provides a 15-minute response time for P1 issues.

Why this answer

Premium support offers a 15-minute response time for P1 cases, along with a Technical Account Manager (TAM) and other benefits.

Page 1 of 2 · 84 questions totalNext →

Ready to test yourself?

Try a timed practice session using only How Google Cloud Resources Are Managed questions.

CCNA How Google Cloud Resources Are Managed Questions — Page 1 of 2 | Courseiva