Google Associate Cloud Engineer - Practice Test 3
You have just installed the Google Cloud CLI on your new workstation. Before you can effectively use commands like `gcloud compute instances list` to view resources, what two essential configuration steps must you perform?
Before interacting with Google Cloud resources via the gcloud CLI, you must first authenticate your identity to grant the CLI the necessary permissions. Additionally, you need to set the target Google Cloud project so that the CLI knows which project's resources to manage or list. Both authentication and project selection are fundamental prerequisites for most gcloud commands.
Your organization is migrating its on-premises Cassandra environments to Google Cloud. Each development team requires an isolated Cassandra instance for their development work. You need to facilitate this migration quickly and with minimal operational overhead. What is the most efficient approach?
The most efficient approach for quick migration with minimal support effort is to leverage the Google Cloud Marketplace. The Marketplace offers pre-configured solutions, like Cassandra images, that can be deployed with a few clicks, significantly reducing setup time and ongoing maintenance for development teams. This aligns with the goal of moving quickly and minimizing operational overhead.
You are tasked with deploying a new containerized application to Google Cloud using a Kubernetes manifest. Your goal is to maintain full control over the Kubernetes deployment while minimizing the operational overhead of infrastructure management. Which Google Cloud service should you choose?
GKE Autopilot allows users to deploy containerized applications using Kubernetes manifests, providing full control over the Kubernetes deployment. It minimizes infrastructure configuration by automatically managing the underlying cluster infrastructure, making it a hands-off approach to Kubernetes operations. GKE Standard requires more manual management of the cluster, while Cloud Run and Cloud Functions are serverless platforms that abstract away Kubernetes entirely and are not managed via Kubernetes manifests in the same way.
Your team is developing a new application on Google Kubernetes Engine (GKE) and requires a managed NoSQL database solution. You've decided on MongoDB for its flexibility and need a deployment that includes a support Service Level Agreement (SLA). Which approach should you take to meet these requirements?
MongoDB Atlas, available through the Google Cloud Marketplace, provides a fully managed MongoDB service with support SLAs, which aligns with the requirement for a managed environment and support. Options 3 and 4 involve self-managing MongoDB, which does not provide a managed environment or an SLA. Option 1 uses a different database technology (Cloud Bigtable) which is not MongoDB.
A BigQuery query fails with a `quotaExceeded` error. You need to identify the root cause of this error to resolve it. Which two actions should you take to diagnose the issue?
To diagnose a `quotaExceeded` error in BigQuery, `INFORMATION_SCHEMA` views provide metadata about jobs, allowing you to see resource usage and identify which queries might be hitting limits. Concurrently, Cloud Audit Logs offer detailed records of API calls, including the specific `quotaExceeded` error messages and the context in which they occurred, helping pinpoint the exact cause.