home / exams / Google / gcp-ace / Practice Test 3
gcp-ace Google

Google Associate Cloud Engineer - Practice Test 3

Question #16
Resource Management

Your company has acquired a startup, and you are tasked with integrating their IT systems. The startup operates a production Google Cloud project within their own organization. You need to migrate this project to your company's organization and ensure that all future billing for the project is handled by your organization. What is the most efficient way to achieve this?

A. Use the projects.move method to transfer the project to your organization, then update the billing account of the project to your organization's.
B. Ensure you have the Organization Administrator IAM role in both organizations. Navigate to the Resource Manager in the startup’s Google Cloud organization and drag the project to your company's organization.
C. Create a Private Catalog in Google Cloud Marketplace, upload the startup's project resources to it, share the Catalog with your organization, and deploy the resources into a new project.
D. Generate an infrastructure-as-code template for all project resources using Terraform, deploy it to a new project in your organization, and then delete the original project from the startup’s organization.
Question #17
Resource Management

Your organization has multiple development teams, all based in the United States, each managing its own Google Cloud project. You need to enforce a policy that restricts these development teams to creating cloud resources exclusively within US locations. What is the most appropriate Google Cloud solution to achieve this?

A. Create an organization to encompass all development projects and then apply an Identity and Access Management (IAM) policy to limit resources to US regions.
B. Create a folder to contain all the development projects and then establish an organization policy to restrict resource creation to US locations.
C. Implement an Identity and Access Management (IAM) policy to restrict resource locations to the US and apply it directly to all development projects.
D. Configure an Identity and Access Management (IAM) policy to restrict resource locations across all development projects and apply this policy to all development roles.
Question #18
Networking

Your organization operates a hybrid cloud environment, utilizing Google Cloud Compute Engine and on-premises infrastructure. Your Google Cloud Virtual Private Cloud (VPC) is connected to your corporate WAN via a VPN tunnel. You need to provision a new Compute Engine virtual machine (VM) and ensure that it is completely isolated from direct public internet access. What is the most effective way to achieve this?

A. Create the instance without assigning a public IP address.
B. Enable Private Google Access for the instance.
C. Implement a deny-all egress firewall rule on the VPC network.
D. Configure a VPC route to direct all traffic for the instance over the VPN tunnel.
Question #19
Data Analytics

You are using Looker Studio (formerly Data Studio) to visualize data from a BigQuery table that serves as your data warehouse. Throughout the day, data is appended to this table. Each night, a daily summary is regenerated by overwriting the entire table. You've noticed that your Looker Studio charts are now broken, and you need to diagnose the root cause. What is the most appropriate first step to analyze this problem?

A. Review the Error Reporting page in the Cloud Console to find any errors related to Looker Studio.
B. Use the BigQuery interface to examine the nightly data processing job and look for any errors or failures.
C. Utilize Cloud Debugger to determine why the data was not refreshed correctly in the BigQuery table.
D. In Cloud Logging, create a specific filter for your Looker Studio report to identify issues.
Question #20
Deployment & Orchestration

You are using Google Cloud Deployment Manager to provision a Google Kubernetes Engine (GKE) cluster. You also need to deploy a Kubernetes DaemonSet into the `kube-system` namespace of this newly created cluster using the same Deployment Manager deployment. Your goal is to achieve this with the fewest possible additional services or external dependencies. What is the most efficient approach?

A. Add the GKE cluster's Kubernetes API as a new Type Provider in Deployment Manager, and then use this new type to define and create the DaemonSet.
B. Utilize Deployment Manager's Runtime Configurator to create a new Config resource that contains the DaemonSet definition.
C. Within Deployment Manager, create a Compute Engine instance with a startup script that uses `kubectl` to deploy the DaemonSet.
D. In the GKE cluster's definition within Deployment Manager, add a metadata entry where the key is `kube-system` and the value is the DaemonSet manifest.
Back to gcp-ace 50 questions - page 4 of 10