Tüm alıştırma soruları
1591 soru
A newly onboarded developer needs to administer workloads on a regional Google Kubernetes Engine (GKE) cluster named `ecommerce-app` located in `us-east1`. The developer has installed `kubectl` and the `gcloud` CLI, but running `kubectl` commands fails because the cluster context is not yet configured locally. Which TWO actions should the developer perform to authenticate `kubectl` to the cluster and deploy the workload manifest `deployment.yaml`?
Geçerli olan tümünü seçin
A cloud engineer at a financial institution needs to deploy a new Cloud Storage bucket named `fin-reconciliation-vault` in the `us-east4` region. The bucket deployment must satisfy two key administrative requirements:
1. Prevent object-level Access Control Lists (ACLs) by enforcing Uniform Bucket-Level Access across all contained objects.
2. Protect records against accidental overwrites or deletions by enabling Object Versioning on the bucket.
Which of the following CLI commands should be executed to accomplish these deployment requirements? (Select TWO answers.)
Geçerli olan tümünü seçin
A cloud infrastructure engineer is tasked with deploying a new managed Cloud SQL database instance within a custom Virtual Private Cloud (VPC) named `internal-vpc`. Organizational security policy dictates that the database must not be assigned a public IP address and must only be reachable internally via private IP addresses from workloads inside `internal-vpc`. The network team has not yet configured Private Service Access for `internal-vpc`.
Which TWO steps must the cloud engineer perform to provision this database securely? (Select TWO.)
Geçerli olan tümünü seçin
A DevOps engineer needs to deploy an event-driven Python microservice to Cloud Functions (2nd gen) that processes real-time telemetry published to a Cloud Pub/Sub topic in Google Cloud. The deployment must enforce least-privilege security by using a custom service account for function execution and Eventarc event handling. What is the correct sequence of steps to configure, deploy, and verify this serverless application using the gcloud CLI?
Öğeleri doğru sıraya koymak için sürükleyin
A cloud engineer is automating multi-tier network provisioning across separated environment projects using Google Cloud Deployment Manager templates. The deployment script runs from a central administrative project named `admin-cicd-runner`. When executing `gcloud deployment-manager deployments create network-prod --config vpc-mesh.yaml --project=prod-vpc-host-1029`, the deployment fails with an error stating that `deploymentmanager.googleapis.com` is disabled. The engineer verifies that the Deployment Manager API is already enabled inside `admin-cicd-runner`. Which statement accurately identifies the root cause of this failure and the necessary corrective action?
A Cloud Engineer needs to establish automated cost controls by configuring a Cloud Billing budget to publish programmatic threshold notifications to a Cloud Pub/Sub topic. What is the correct sequence of steps to perform this configuration?
Öğeleri doğru sıraya koymak için sürükleyin
A DevOps engineer is configuring an automated script to deploy a fault-tolerant batch processing Virtual Machine on Compute Engine using the gcloud CLI. The instance must run as a Spot VM to reduce compute costs, automatically terminate during host maintenance events, attach an existing custom service account named [email protected] with full Cloud Storage permissions, and execute a local shell script located at /scripts/setup.sh upon startup. Which gcloud compute instances create command correctly fulfills all these requirements?
A cloud administrator needs to grant an operations engineer the ability to create, update, and delete custom IAM roles within a specific Google Cloud project. The engineer must not be granted permissions to modify project IAM access policies or manage other project resources. To adhere to the principle of least privilege, which IAM role should be granted to the engineer?
A cloud administrator needs to upgrade the machine type of a node pool in a production Google Kubernetes Engine (GKE) Standard cluster to handle increased resource demands without incurring workload downtime. What is the correct sequence of steps to perform this node pool migration safely?
Öğeleri doğru sıraya koymak için sürükleyin
An online event-analytics organization is planning a Google Kubernetes Engine (GKE) cluster architecture. The environment will host web ingestion APIs alongside stateless, fault-tolerant background data transformation workloads. The engineering team requires an architecture that minimizes cluster node management overhead while significantly reducing compute costs for the stateless background workloads. Which TWO architectural decisions should you select to fulfill these requirements?
Geçerli olan tümünü seçin
A Kubernetes administrator needs to migrate production workloads from an existing node pool (`pool-v1`) to a newly provisioned node pool (`pool-v2`) in a Google Kubernetes Engine (GKE) Standard cluster without incurring application downtime. Sequence the operational commands in the correct execution order to complete this migration safely.
Öğeleri doğru sıraya koymak için sürükleyin
An organization is designing a high-traffic web application deployed across Compute Engine instances in multiple Google Cloud regions. The application serves global users over HTTPS and requires low-latency delivery of static assets using edge caching, as well as automatic routing of user requests to the nearest healthy backend region. Which TWO architectural components should the cloud engineer include in the design to meet these requirements?
Geçerli olan tümünü seçin
Your team needs to deploy a Global External Application Load Balancer using the `gcloud` CLI to serve traffic for a newly created Compute Engine instance group. Arrange the following deployment steps in the correct sequential order from initial backend configuration to final frontend entry point creation.
Öğeleri doğru sıraya koymak için sürükleyin
A cloud engineer needs to ensure that a stateless application running on a Google Kubernetes Engine (GKE) cluster can handle traffic spikes. The requirement is to automatically scale up the container instances during high demand, and to automatically add compute nodes to the cluster if existing nodes run out of capacity to host those pods. Which TWO actions should the engineer perform to fulfill these requirements?
Geçerli olan tümünü seçin
You need to increase the vCPU and memory allocated to an existing standalone Compute Engine virtual machine (VM) instance by changing its machine type. Which action must be taken on the VM instance before its machine type can be updated?
An organization is deploying a custom VPC network environment in Google Cloud for a multi-tier application stack. A cloud engineer must create a custom subnet named `prod-app-subnet` in the `us-central1` region that includes a primary IPv4 range for Compute Engine Virtual Machines and a secondary IPv4 range reserved for GKE Pod alias IPs. Additionally, ingress TCP traffic on port 5432 (PostgreSQL) must be restricted specifically to target instances operating under a dedicated service account `[email protected]`. Which TWO actions or parameters are required to properly implement this configuration using Google Cloud best practices? (Select TWO.)
Geçerli olan tümünü seçin
Your organization operates a proprietary backend service running on Compute Engine instances distributed across two regions: `us-central1` and `europe-west1`. The service communicates over raw TCP on port 8443 and does not use HTTP or HTTPS. To meet security requirements, incoming client connections from around the globe must have SSL/TLS terminated at the Google Cloud edge before traffic is routed to the backend instances. Which load balancer configuration should you deploy?
An organization is deploying a custom VPC network named `prod-vpc` containing two regional subnets: `subnet-us` () and `subnet-eu` (). A Cloud Engineer must restrict SSH access (TCP port 22) so that Compute Engine instances tagged with `admin-workload` in `subnet-us` can only accept SSH connections coming from a management host residing in `subnet-eu` (). Additionally, all other inbound SSH traffic to any instance across the VPC must be blocked. The engineer creates Rule 1 with action ALLOW, direction INGRESS, protocol/port `tcp:22`, source IP `10.20.0.15/32`, target tag `admin-workload`, and priority 100. They also create Rule 2 with action DENY, direction INGRESS, protocol/port `tcp:22`, source IP `0.0.0.0/0`, targets specified as all instances in the network, and priority 50. Which outcome will occur when the management host at attempts an SSH connection to an instance tagged `admin-workload` in `subnet-us`?
A cloud engineer is using the Google Cloud Pricing Calculator to model the net monthly infrastructure expense for an internal microservice running for a 30-day month (). The workload requires:
1. Compute Engine: standard VM instances running continuously for the entire month at a base rate of per instance-hour. A Sustained Use Discount (SUD) applies automatically to all compute instance hours.
2. Storage: of Standard Persistent Disk at per GB per month (storage is not eligible for SUD).
3. Network Egress: of internet egress per month. The first per month is free under the GCP Free Tier, and all remaining egress is billed at per GB.
What is the estimated net total monthly cost in USD for this workload?
A company manages a workload on Google Cloud with an established monthly budget of 7,000, and as soon as spending trends indicate that total costs will exceed $10,000 by the end of the current billing cycle. How should a Cloud Engineer configure the budget alert rules in Cloud Billing to meet these requirements?