Tüm alıştırma soruları
1591 soru
A cloud administrator needs to release a containerized application update to a Cloud Run service named `payment-gateway` running in `us-central1`. To perform a canary release, the new container revision `payment-gateway-v2` must first be deployed without receiving any production traffic so that internal testing can occur. Once validated, of live application traffic must be directed to `payment-gateway-v2` while retaining the remaining on the existing revision. Which sequence of `gcloud` CLI commands should the administrator execute to achieve this?
A solutions architect is deploying an asynchronous background worker service to Google Cloud Run using the gcloud CLI. The microservice will receive event notifications pushed from a Cloud Pub/Sub topic. The deployment must meet two strict requirements: first, the service must be protected from public unauthenticated access so only the authorized Cloud Pub/Sub push subscription service account can invoke it; second, at least two instance replicas must be kept continuously provisioned to eliminate cold-start latency for urgent events. Which TWO configuration options or flags must be specified during deployment to achieve this operational setup?
Geçerli olan tümünü seçin
A cloud engineer is deploying a custom-mode Virtual Private Cloud (VPC) network named `corp-vpc` for an enterprise environment. The requirements state that custom subnets must be created manually, and an ingress firewall rule named `allow-internal-admin` must allow SSH access (TCP port 22) exclusively to virtual machine instances carrying the target network tag `admin-node` from the internal IP subnet range `10.10.1.0/24`.
Which TWO `gcloud` commands or command options must be executed to meet these requirements? (Select TWO)
Geçerli olan tümünü seçin
A security audit highlights that a Compute Engine virtual machine running an automated nightly report generator is using the default Compute Engine service account with the primitive Editor role. To comply with security mandates and the principle of least privilege, you need to reconfigure the workload to use a dedicated user-managed service account that only has access to read Cloud Storage objects and write BigQuery datasets in the project. Which sequence of steps should you take?
A financial technology company needs to host a continuous, mission-critical risk assessment service on Google Compute Engine. Benchmarking indicates that the application requires precisely 6 vCPUs and 45 GB of RAM. The service operates 24/7, requires constant resource availability, and cannot tolerate unexpected VM terminations or preemption. Which Compute Engine machine configuration strategy should you recommend to minimize monthly infrastructure costs while meeting these exact resource specifications?
A cloud architect is configuring governance controls for a company's Google Cloud environment containing an Organization node, a 'Staging' folder, and multiple child projects. The security team needs to establish clear boundaries for resource configurations and access controls across the resource hierarchy. Which of the following statements correctly describe the behavior of Google Cloud Organization Policies and resource hierarchy constraints? (Select TWO.)
Geçerli olan tümünü seçin
An operations team manages a fleet of non-critical development virtual machines on Compute Engine. To optimize monthly operational costs, the team needs to ensure these instances automatically shut down at 8:00 PM every weekday evening and automatically start back up at 7:00 AM every weekday morning. They require a solution that uses native Google Cloud capabilities with minimal management overhead. Which action should the team take?
A cloud administrator is performing a resource cleanup in a Google Cloud project and identifies a Cloud KMS Key Ring containing unused CryptoKeys. The administrator attempts to permanently remove the Key Ring to clean up project resources, but discovers that the Google Cloud Console does not offer a delete action for Key Rings. Why does Google Cloud prevent the deletion of Cloud KMS Key Rings, and what is the recommended procedure to restrict further use of the cryptographic keys?
A cloud administrator is tasked with scaling a high-throughput event processing platform in Google Cloud Project `stream-data-prod`. The platform requires deploying additional Compute Engine virtual machines in the `us-central1` region. However, automated scripts fail with an error stating that the regional `In-Use IP addresses` quota limit has been reached. To enable the deployment while following Google Cloud best practices and the principle of least privilege, what action should be taken?
A cloud engineering team needs to implement automated cost-management controls and detailed analytics for their organization's Google Cloud infrastructure. They want to receive programmatic triggers to automatically stop non-essential compute workloads when monthly spend reaches of the set budget, while also retaining granular daily cost data for custom SQL queries. Which of the following configuration steps must be performed to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A fintech company requires automated workload management to prevent cost overruns on their primary Google Cloud billing account. A cloud architect must ensure that when accrued spending reaches 100% of a defined monthly threshold, an existing Cloud Run microservice is invoked to disable non-critical development workloads, while standard email alerts continue reaching the operations team. Which configuration approach should the architect implement?
An organization is using the Google Cloud Pricing Calculator to build a monthly cost estimate for an enterprise financial reporting architecture. The workload consists of 24/7 database virtual machines, hourly batch analytics running on Compute Engine Spot VMs, and audit log files stored in Standard Cloud Storage that transition to Coldline Storage after 30 days. Which two statements accurately describe how cost rules and discount mechanics should be accounted for in the pricing calculator? (Select TWO.)
Geçerli olan tümünü seçin
A cloud architecture team is using the Google Cloud Pricing Calculator to estimate monthly expenses for a new enterprise analytical application. The planned architecture includes a Cloud SQL for PostgreSQL database configured with High Availability (HA) and a Cloud Pub/Sub message broker that ingests streaming telemetry from client applications across multiple geographic regions. Which TWO configuration options or cost parameters must be explicitly specified in the Google Cloud Pricing Calculator to produce an accurate monthly estimate?
Geçerli olan tümünü seçin
An organization enforces a strict security directive prohibiting the creation and export of static service account JSON keys. A automated pipeline executing under a source service account `[email protected]` in Project-A must deploy compute resources into Project-B by impersonating a target service account `[email protected]`. Which two IAM configuration actions must be performed to enable this secure impersonation workflow following Google Cloud security best practices? (Select TWO.)
Geçerli olan tümünü seçin
A company runs a batch processing application on a Google Kubernetes Engine (GKE) Standard cluster. The workload processes fault-tolerant, stateless data jobs during overnight operations. The cloud engineering team wants to significantly reduce infrastructure costs while ensuring that node capacity automatically expands during peak processing demand and contracts when jobs complete. Which strategy should the cloud engineer implement to meet these requirements?
A medical research firm is planning a Google Cloud Storage solution for raw genomic sequencing data. Newly uploaded datasets are heavily processed and read multiple times daily during the first 30 days. After 30 days, processing completes and datasets are accessed less than once a year for compliance audits, but must remain available with millisecond retrieval SLA times. To optimize total cost of ownership while adhering to storage class minimum duration rules, which TWO lifecycle management and storage class strategies should the team implement? (Select TWO.)
Geçerli olan tümünü seçin
A data analyst must execute a scheduled Python script from an on-premises workstation to pull analytics data from BigQuery using a dedicated service account named `[email protected]`. Organization security policies explicitly prohibit generating or downloading long-lived service account JSON key files to local machines. The analyst has already authenticated their personal user identity using `gcloud auth login`. Which configuration best satisfies this security requirement while adhering to the principle of least privilege?
A cloud administrator attempts to restrict a DevOps engineer's permissions within a specific Google Cloud project residing inside a folder named 'Production'. The DevOps engineer was previously assigned the Compute Admin (`roles/compute.admin`) role at the 'Production' folder level. The administrator removes the engineer's Compute Admin role assignment from the child project's IAM policy page. However, the engineer can still create and delete Compute Engine instances inside that project. What is the cause of this behavior?
An enterprise organization is designing a custom-mode Virtual Private Cloud (VPC) network in Google Cloud to support a multi-region deployment across `us-east4` and `europe-west3`. The VPC will connect to an existing on-premises data center via Cloud VPN with BGP dynamic routing over an on-premises IP block of . Additionally, the team plans to deploy VPC-native Google Kubernetes Engine (GKE) clusters in both regions. Which TWO networking design choices are required to ensure proper IP allocation and prevent routing conflicts?
Geçerli olan tümünü seçin
An enterprise organization manages a Google Cloud resource hierarchy containing an Organization root node, a folder named `Production`, and a child project named `Payment-Service` inside `Production`. The security team wants to enforce strict network perimeter controls and ensure proper administrative access delegation across the environment. Which of the following statements correctly describe the behavior and management of Organization Policies in this resource hierarchy? (Select TWO answers.)
Geçerli olan tümünü seçin