Tüm alıştırma soruları
1591 soru
A DevOps team is configuring an automated script that needs to enable Google Cloud service APIs on demand across new workload projects. The script executes the command `gcloud services enable vision.googleapis.com`. Following the principle of least privilege, which predefined IAM role should be granted to the identity executing this script?
A software team needs to run a lightweight event-driven code snippet in Python whenever a new file is uploaded to a Cloud Storage bucket. The execution takes only a few seconds, and the team wants to deploy raw source code directly without managing container images or underlying infrastructure. Which Google Cloud compute service should they choose?
A data engineering team is preparing to deploy an internal stateful batch processing application to Google Kubernetes Engine (GKE). The application requires specific Linux kernel parameter modifications via sysctl settings on the underlying node OS to achieve optimal network socket throughput. Furthermore, the batch processing job cannot tolerate sudden node terminations or interruptions during its multi-hour execution window. Which deployment configuration should the cloud engineer implement to satisfy these technical requirements?
Your organization plans to migrate a legacy high-throughput network monitoring containerized application to Google Cloud. The application requires custom Linux sysctl kernel tuning on the host nodes to optimize network buffer sizes and low-level packet processing. Additionally, the workload requires predictable performance without unexpected host terminations, while utilizing Kubernetes container orchestration for deployment and auto-healing. Which Google Cloud compute strategy should you recommend to meet these requirements?
An organization manages its Google Cloud resources using the hierarchy: Organization -> Finance Folder -> Analytics Project. A compliance auditor requires read-only access strictly to resources inside the Analytics Project. However, a junior administrator previously granted the user the Viewer role (roles/viewer) at the Finance Folder level. When you try to restrict access by removing the Viewer role binding specifically on the Analytics Project, the user can still view all resources in the project. Which fundamental rule of the Google Cloud resource hierarchy explains this behavior, and what is the proper action to enforce the principle of least privilege?
An enterprise company is planning to migrate two distinct workloads to Google Compute Engine. Workload 1 is a mission-critical relational database that runs continuously 24/7, requires 128 vCPUs and 512 GB RAM, and cannot tolerate unexpected terminations. Workload 2 is a batch data processing job that runs overnight, is designed to resume from checkpoints if interrupted, and needs to be executed as cost-effectively as possible. Which resource allocation and provisioning strategy aligns with Google Cloud recommended practices?
An enterprise developer needs to migrate a legacy web service to a Google Cloud serverless platform. The application is packaged as a custom Docker container image containing compiled C++ binaries and system-level C libraries. The service handles HTTP requests that can each take up to 45 minutes to process. To optimize cost efficiency during peak traffic, each deployed compute instance must handle up to 80 concurrent HTTP requests simultaneously, while scaling down completely to zero instances during idle periods with zero underlying server maintenance. Which Google Cloud compute solution best satisfies these architectural requirements?
A financial analytics company is designing the infrastructure on Google Cloud to support two distinct internal services. Service 1 is a non-standard stateless data transformation microservice requiring 3 vCPUs and 20 GB of memory. Service 2 is a large-scale batch simulation job that is fully fault-tolerant, stateless, and capable of resuming interrupted tasks from intermediate checkpoints. Which TWO compute resource planning strategies should you recommend to minimize compute costs while meeting operational requirements? (Select TWO.)
Geçerli olan tümünü seçin
Your enterprise organization is preparing a new Google Cloud project `prod-ml-app-402` to host an automated image processing pipeline. You need to enable the Cloud Vision API (`vision.googleapis.com`) using the `gcloud` CLI while following Google Cloud security and operational best practices. In what logical sequence should you perform the configuration, authorization, enablement, and verification steps?
Öğeleri doğru sıraya koymak için sürükleyin
Your team is deploying a serverless data processing application in a Google Cloud project named proj-data-pipeline. The application requires access to the BigQuery API (bigquery.googleapis.com), but execution fails because the API has not been enabled for the project. Following Google Cloud best practices and the principle of least privilege, which IAM role should you assign to the cloud administrator, and which command must they execute using the Google Cloud CLI to enable the API?
An enterprise is planning to migrate a critical, stateful relational database workload to Google Cloud Compute Engine. The database requires persistent storage, continuous uptime, and predictable performance without abrupt shutdowns. Which Compute Engine resource planning strategy should you select?
Your organization needs to deploy a stateless REST API packaged as a custom Docker container image containing a legacy C++ binary dependency. The API must scale down to zero instances during idle periods to minimize costs and be capable of processing up to 80 concurrent HTTP requests per container instance. Which Google Cloud serverless compute option should you recommend?
An enterprise organization is planning to migrate a stateless HTTP web application to Google Cloud. The application is packaged as a custom Docker container image containing specialized binary dependencies, but it does not require low-level Linux kernel modifications or persistent disk storage. Traffic to the application is highly sporadic with unpredictable volume spikes, and the team requires the solution to scale down to zero instances during idle periods to eliminate unnecessary compute costs. The operations team has strictly mandated that infrastructure and server management overhead must be kept to an absolute minimum. Which GCP compute option should you recommend?
An enterprise organization maintains a Google Cloud resource hierarchy consisting of an Organization node, a top-level Folder named Finance-Dept, a child Folder named Payroll-Apps, and a Project named payroll-prod-db. An Organization Policy enforcing `constraints/compute.vmExternalIpAccess` (restricting external IP creation) is applied at the Finance-Dept folder level. A DevOps Team Lead must be allowed to create and manage new projects inside the Payroll-Apps folder, but must not be granted permissions to modify or delete the Payroll-Apps folder itself. Concurrently, a developer attempts to assign the primitive `roles/owner` role to a service account at the payroll-prod-db project level to allow Compute Engine instances to receive external IPs. Which statement correctly describes the administrative permission scoping and policy inheritance behavior across this hierarchy?
A Cloud Engineer needs to enable the Cloud Run API (`run.googleapis.com`) on a newly created Google Cloud project named `app-prod-101` using the `gcloud` command-line interface and verify that it is properly activated. In what order should the engineer execute the following procedural steps?
Öğeleri doğru sıraya koymak için sürükleyin
A company is planning to host a production web application frontend on Google Compute Engine that runs 24/7. Profiling shows the application specifically requires 3 vCPUs and 6 GB of RAM, which does not match any predefined machine type. Which TWO compute planning decisions should the cloud engineer select to meet these requirements cost-effectively while ensuring high availability? (Select TWO answers.)
Geçerli olan tümünü seçin
A cloud solution architect is planning Google Cloud compute infrastructure for two separate organizational workloads:
1. A stateless, fault-tolerant batch processing job that can tolerate unexpected node preemptions and requires maximum cost reduction.
2. A lightweight containerized webhook service that experiences intermittent HTTP requests, needs to scale down to zero, and requires zero node management overhead.
Which TWO of the following Google Cloud compute configurations should be recommended for these workloads?
Geçerli olan tümünü seçin
A system architect is evaluating Google Cloud serverless options for hosting microservices. Which TWO statements accurately describe key characteristics and planning considerations for Cloud Run compared to Cloud Functions?
Geçerli olan tümünü seçin
An organization is setting up a new Google Cloud environment from scratch. Arrange the following steps in the correct sequential order to establish the resource hierarchy and prepare a project for application workloads according to Google Cloud best practices.
Öğeleri doğru sıraya koymak için sürükleyin
Your team needs to enable the Cloud Vision API (`vision.googleapis.com`) in a Google Cloud project named `proj-ai-prod` using the `gcloud` CLI while adhering to Google Cloud security and administrative best practices. Which of the following sequences represents the correct order of steps to configure permissions, set project context, activate the service, and verify its status?
Öğeleri doğru sıraya koymak için sürükleyin