Tüm alıştırma soruları
1591 soru
An enterprise organization hosts a critical web service using Compute Engine Managed Instance Groups (MIGs) and runs background batch processing jobs. During high-traffic events, the MIG experiences severe instance thrashing (rapid scaling up and down), while the batch processing jobs fail frequently due to being deployed on Spot VMs despite being non-fault-tolerant stateful workloads. Which two actions should you take to resolve these operational issues following Google Cloud best practices? (Select TWO choices.)
Geçerli olan tümünü seçin
A data engineering team needs to provision a new Cloud Storage bucket named `analytics-raw-events` in the `us-central1` region to ingest event streams. Company security policy mandates enforcing Uniform Bucket-Level Access upon bucket creation to prevent fine-grained object access control lists (ACLs) from bypassing IAM access policies. Which command should the team execute using the modern `gcloud` CLI to meet these requirements?
An enterprise telemetry service ingests real-time IoT diagnostic data into Google Cloud Storage. Analysts perform frequent, daily query operations on the ingested data during the first 30 days. After 30 days, the data is rarely accessed but must be retained for 3 years to comply with regulatory requirements. You need to plan a storage architecture that minimizes overall storage and access costs without incurring data retrieval penalties during the initial active analysis window. Which bucket configuration should you recommend?
A DevOps team is deploying a production Cloud SQL for PostgreSQL instance named `app-postgres-db` using the Google Cloud CLI. The deployment policies mandate three strict requirements: the instance must communicate exclusively over Private IP within the existing Virtual Private Cloud (VPC) network `internal-vpc`, public IP address allocation must be explicitly disabled, and all incoming client connections must enforce SSL/TLS encryption. Additionally, the instance must automatically increase storage space when available capacity drops below the safety threshold. Which `gcloud` command should the engineer run to provision the database instance according to these requirements?
A cloud engineer attempts to deploy an updated Kubernetes Deployment manifest to an existing GKE cluster named `inventory-cluster` in zone `us-central1-a` by running `kubectl apply -f deployment.yaml`. The command fails with an error stating `The connection to the server localhost:8080 was refused`, indicating that local command-line tools are not configured to communicate with the GKE control plane. Which command should the engineer execute to correctly fetch cluster credentials and configure the local `kubeconfig` context?
A cloud engineer needs to limit the maximum number of container instances for an existing Cloud Run service named `inventory-api` to preventing overloading a backend database. Which `gcloud` command should the engineer execute?
A site reliability engineer needs to perform a manual blue-green node pool upgrade on a production Google Kubernetes Engine (GKE) Standard cluster to migrate workload Pods from node pool `pool-v1` to a newly provisioned node pool `pool-v2` with minimal application disruption. Sequence the required administrative steps in the correct operational order.
Öğeleri doğru sıraya koymak için sürükleyin
A cloud engineer needs to deploy a containerized backend processing microservice to Google Cloud Run in the europe-west1 region using the gcloud CLI. The application image is stored in Artifact Registry. Security policies require that the service must prevent unauthenticated ingress traffic and run with a specific user-managed runtime service account named [email protected] to access downstream Google Cloud databases. Which gcloud command correctly deploys the service in accordance with these security requirements?
A system administrator is writing a deployment script using the Google Cloud CLI (`gcloud`) to launch non-critical stateless batch processing Virtual Machine instances on Compute Engine. The VM instances must execute a bash initialization script located on the local disk at `./scripts/init.sh` upon first boot and execute using a dedicated custom IAM service account named `[email protected]`. Which TWO `gcloud compute instances create` flags must be used to meet these requirements?
Geçerli olan tümünü seçin
A DevOps engineer is managing a Google Kubernetes Engine (GKE) Standard cluster named `analytics-cluster` located in region `us-central1`. The cluster contains a node pool named `worker-pool` that experiences variable compute demands throughout the day. The engineer needs to configure GKE to automatically adjust the number of worker VM instances in `worker-pool` based on unschedulable pending pods, while strictly maintaining a minimum of 3 nodes and a maximum of 12 nodes per zone. Which command should the engineer run to accomplish this goal?
An administrator needs to configure automatic scaling for a Google Kubernetes Engine (GKE) Deployment so that the number of Pod replicas increases or decreases based on CPU utilization. Which command should the administrator execute to achieve this?
Your enterprise web application is hosted across Compute Engine virtual machine instance groups located in two Google Cloud regions: us-central1 and europe-west3. The application requires SSL termination at Google's network edge, HTTP/2 support for client connections, and Layer 7 path-based URL map routing (such as forwarding requests for /static/* to a Cloud Storage bucket and /api/* to the Compute Engine backend service). Which Google Cloud load balancer should you deploy?
An enterprise is establishing hybrid connectivity between an on-premises data center and a Google Cloud Virtual Private Cloud (VPC) network via Cloud Interconnect. Compute Engine virtual machines deployed in the VPC must resolve hostnames in the internal domain internal.company.com, which are managed by on-premises DNS servers. The architecture requires DNS queries for internal.company.com originating from VPC workloads to be routed to the on-premises DNS servers without exposing internal domain data to the public internet. Which Cloud DNS configuration should you plan to meet these requirements?
Your organization runs a web application on Compute Engine instances within a Managed Instance Group (MIG). You need to deploy an updated version of your software to all instances in the group while maintaining zero downtime. Which TWO actions should you perform?
Geçerli olan tümünü seçin
You are tasked with deploying a Global External Application Load Balancer in Google Cloud using the `gcloud` CLI to route HTTP traffic to an existing unmanaged instance group `web-ig-us` in `us-central1`. To ensure dependencies are created before their dependent resources, what is the correct sequential order of `gcloud` commands required to provision this infrastructure from the backend up to the global frontend forwarding rule?
Öğeleri doğru sıraya koymak için sürükleyin
A media streaming company is architecting a Google Kubernetes Engine (GKE) cluster to host its customer billing microservices. Security policy strictly mandates that worker nodes must not have public IP addresses exposed to the internet. However, container pods running on these nodes must be able to initiate outbound connections to external third-party payment processing APIs and pull images from Google Container Registry/Artifact Registry. Which GKE cluster network design should the cloud engineer recommend?
A DevOps engineer is managing a Google Kubernetes Engine (GKE) Standard cluster named `prod-app-cluster` in zone `us-central1-a`. During a traffic increase, several new microservice pods remain in a `Pending` state because the existing node pool, `frontend-pool`, lacks sufficient CPU resources to schedule them. The engineer needs to ensure that the GKE cluster automatically adds Compute Engine nodes to `frontend-pool` when pods are unschedulable due to resource constraints, up to a maximum of 10 nodes. Which command should the engineer run to achieve this requirement?
A data analyst needs to execute SQL queries in BigQuery and read table contents within a specific dataset named `sales_data` inside the `corp-analytics-prod` project. Following Google Cloud best practices for least privilege, the analyst must not be able to modify any data or access other datasets within the project. Which IAM role assignment strategy should be implemented?
Your operations team manages a critical stateful log processing database on an Ubuntu Linux Compute Engine virtual machine instance. Due to rapid data growth, the mounted ext4 data disk reached capacity. An administrator resized the persistent disk from 200 GB to 500 GB using the Google Cloud Console; however, running `df -h` inside the instance shows that the file system is still limited to 200 GB. Which set of actions must you perform to make the newly allocated 300 GB available to the operating system with minimal service disruption?
You need to provision a secure Cloud SQL for PostgreSQL instance that communicates exclusively via Private IP within an existing custom Virtual Private Cloud (VPC) network named `prod-vpc`. Sequence the following deployment steps in the correct chronological order from first to last.
Öğeleri doğru sıraya koymak için sürükleyin