Tüm alıştırma soruları

1598 soru

Soru 21Soru

A healthcare technology company is architecting a medical diagnostics platform on Google Cloud. The system consists of two distinct components: 1) A stateless REST API backend that receives patient request payloads and returns quick diagnostic summaries with highly variable, bursty web traffic, requiring minimal operational management; 2) A batch processing pipeline that runs legacy, uncontainerized diagnostic algorithms relying on custom Linux kernel modules for 3 hours every night. Which TWO compute solutions should you recommend to fulfill these requirements with the lowest operational overhead and optimal cost efficiency? (Select TWO)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy the stateless REST API backend onto Cloud Run.; Deploy the batch processing pipeline onto Compute Engine Managed Instance Groups using Spot VMs.

Cevap

Select Cloud Run for the stateless REST API backend and Compute Engine Managed Instance Groups using Spot VMs for the legacy batch processing pipeline.
Cloud Run is ideal for stateless REST APIs with bursty traffic because it automatically scales containers and requires zero cluster maintenance. For legacy workloads requiring custom kernel modules and running for short nightly windows, Compute Engine VMs provide the required OS-level access, while Spot VMs and Managed Instance Groups ensure maximum cost efficiency.

Adım Adım Çözüm

1
Analyze the stateless REST API requirements
Identified bursty HTTP traffic, stateless architecture, and minimal operational overhead preference.
Cloud Run is the optimal Google Cloud serverless compute platform for stateless containerized web services, scaling to zero when idle.
2
Analyze the legacy batch processing pipeline requirements
Identified dependency on custom Linux kernel modules and a 3-hour nightly execution window.
Serverless container environments (Cloud Run, Cloud Functions) do not permit custom host kernel modules. Compute Engine VMs permit full OS/kernel customization, and using Spot VMs within a Managed Instance Group optimizes costs for scheduled batch runs.

Anahtar Kavram

Selecting appropriate compute platforms based on containerization status, kernel/OS customization needs, scaling patterns, and management overhead constraints.
Soru 22Soru

An enterprise architecture team is configuring network connectivity between two VPC networks, vpc-analytics and vpc-core, in Google Cloud. They decide to establish VPC Network Peering to allow internal IP address communication across the two networks. Which TWO statements accurately describe the requirements and behavior of VPC Network Peering in this scenario? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Peering configuration must be created symmetrically in both directions—from vpc-analytics to vpc-core and from vpc-core to vpc-analytics—before communication is fully established.; Exporting and importing custom routes must be explicitly enabled on the peering configurations if custom static or dynamic routes need to be shared across the peered networks.

Cevap

VPC Network Peering requires symmetrical peering setup in both directions and explicit configuration of custom route import/export settings to share non-subnet routes.
VPC Network Peering is established only when both VPC networks create a peering request to each other (symmetrical configuration). Additionally, while subnet routes are exchanged automatically upon peering, sharing custom dynamic or static routes across peered VPCs requires explicitly configuring the import and export custom routes flags on both ends.

Adım Adım Çözüm

1
Analyze VPC Network Peering setup requirements.
VPC Peering requires both network administrators to establish a peering configuration pairing both VPCs (bidirectional setup).
Peering stays in an inactive state until both VPCs explicitly approve the peering request.
2
Evaluate route propagation rules across peered VPC networks.
Subnet routes are exchanged by default, but custom dynamic and static routes require setting import and export custom route flags.
Cloud Router dynamic routes and static routes are not automatically shared without explicitly enabling custom route exchange.
3
Identify invalid VPC networking assumptions.
Reject transitive routing, lower-bandwidth HA VPN alternatives for intra-cloud high throughput, and relying solely on IAM for perimeter security.
VPC Network Peering is non-transitive, HA VPN has throughput caps per tunnel (3 Gbps), and VPC Service Controls are necessary to prevent data exfiltration.

Anahtar Kavram

VPC Network Peering establishing bilateral setup, non-transitivity, and custom route exchange mechanisms.
Soru 23Soru

A geospatial mapping firm needs to migrate its legacy processing infrastructure to Google Cloud within a strict 30-day window. The workload consists of 1.2 PB1.2\text{ PB} of static, high-resolution satellite raster imagery stored on local network-attached storage (NAS) and an active 2 TB2\text{ TB} transactional MySQL database supporting customer mapping requests. The firm has a dedicated 200 Mbps200\text{ Mbps} network connection allocated for cloud transfer tasks. The cutover plan requires minimal database downtime of less than 15 minutes while ensuring all static and transactional data is fully migrated to Google Cloud before the 30-day deadline. Which data transfer and migration strategy should the Cloud Architect recommend?

Cevabı ve açıklamayı göster

Cevap: Request Transfer Appliance to import the 1.2 PB1.2\text{ PB} static raster dataset, and deploy Database Migration Service (DMS) with continuous replication (CDC) over a Cloud VPN connection for the 2 TB2\text{ TB} MySQL database.

Cevap

Request Transfer Appliance to import the static raster dataset physically, and use Database Migration Service (DMS) with continuous CDC over Cloud VPN for the MySQL database.
The correct strategy combines offline physical migration via Transfer Appliance for large petabyte-scale static data with Database Migration Service (DMS) continuous CDC replication for active transactional databases. Transfer Appliance circumvents network bottlenecks for 1.2 PB1.2\text{ PB} of data, while DMS ensures live database sync and minimal cutover downtime.

Adım Adım Çözüm

1
Calculate network throughput limitations for the 1.2 PB1.2\text{ PB} static dataset.
At 200 Mbps200\text{ Mbps}, transferring 1.2 PB1.2\text{ PB} (9.6×1015 bits9.6 \times 10^{15}\text{ bits}) takes 555 days\approx 555\text{ days}, exceeding the 30-day constraint.
Determines that offline physical migration via Transfer Appliance is required for petabyte-scale data.
2
Evaluate database migration requirements for 2 TB2\text{ TB} transactional database.
Initial sync of 2 TB2\text{ TB} over 200 Mbps200\text{ Mbps} takes 22 hours\approx 22\text{ hours}, followed by continuous CDC replication over Cloud VPN.
Allows ongoing data sync while the main application remains online.
3
Establish cutover procedure.
Stop application writes, allow final CDC lag to drain, promote Cloud SQL instance, and update connection endpoints within 15 minutes.
Meets the requirement of under 15 minutes cutover downtime.

Anahtar Kavram

Selecting offline vs. online data transfer mechanisms based on dataset size and network bandwidth, combined with continuous database CDC for minimal downtime.
Soru 24Soru

A global media enterprise is designing the cloud storage and database architecture on Google Cloud for a mission-critical application platform. The architecture must address two key technical requirements:

1. An operational relational database that requires strong consistency (ACID compliance) across multiple geographic regions, along with horizontal scaling for write operations.
2. A one-time bulk migration of a 3 PB3\text{ PB} historical analytics dataset stored on local network-attached storage (NAS) devices, where the available dedicated internet bandwidth is capped at 100 Mbps100\text{ Mbps}.

Which TWO design decisions should the architect select to fulfill these requirements?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Deploy Cloud Spanner as the operational database solution to support multi-region horizontal write scaling while maintaining strong ACID consistency.; Order Google Cloud Transfer Appliance devices to physically capture and ingest the 3 PB dataset into Cloud Storage.

Cevap

The optimal solution requires selecting Cloud Spanner for the globally scalable relational database and using GCP Transfer Appliance for the 3 PB offline bulk data migration.
Cloud Spanner is designed specifically for enterprise relational database workloads that require multi-region horizontal scaling for both reads and writes while preserving strict ACID transactional consistency. For the data migration requirement, transferring 3 PB3\text{ PB} over a 100 Mbps100\text{ Mbps} network link is mathematically unviable, taking over seven years. Google Cloud Transfer Appliance provides dedicated hardware for offline data ingestion, allowing petabyte-scale data to be physically transported to GCP securely and efficiently.

Adım Adım Çözüm

1
Evaluate operational relational database requirements against GCP database products.
Cloud Spanner satisfies global multi-region horizontal write scaling and strong ACID consistency, whereas Cloud SQL is limited to vertical scaling for writes and a single primary region.
Cloud Spanner uses TrueTime and distributed transactions to allow multi-region relational write scale.
2
Calculate data transfer time for 3 PB over a 100 Mbps network connection.
Transfer time exceeds 7.5 years (t=3×1015 bytes×8 bits/byte100×106 bits/sec2.4×108 secondst = \frac{3 \times 10^{15} \text{ bytes} \times 8 \text{ bits/byte}}{100 \times 10^6 \text{ bits/sec}} \approx 2.4 \times 10^8 \text{ seconds}).
Online migration via Storage Transfer Service is unfeasible within reasonable operational timelines.
3
Select the appropriate offline data transfer mechanism.
GCP Transfer Appliance allows shipping physical storage hardware to securely ingest petabyte-scale data into Cloud Storage.
Offline appliances bypass low-bandwidth WAN connections for massive datasets.

Anahtar Kavram

Selecting GCP Database and Storage Migration Services Based on Scale, Latency, and Network Throughput Constraints
Soru 25Soru

A regional healthcare provider needs to migrate its core application workload to Google Cloud within a strict 3-week cutover window. The existing environment consists of a 650 TB static medical imaging archive and an active 400 GB MySQL operational database. The facility has a dedicated network connection with 100 Mbps of available uplink bandwidth, and the database requires minimal downtime during final cutover. Which migration strategy should a Cloud Architect recommend?

Cevabı ve açıklamayı göster

Cevap: Order a Google Cloud Transfer Appliance to transfer the 650 TB medical imaging archive offline, and use Database Migration Service (DMS) with continuous replication for the 400 GB MySQL database cutover.

Cevap

Order a Google Cloud Transfer Appliance to transfer the 650 TB medical imaging archive offline, and use Database Migration Service (DMS) with continuous replication for the 400 GB MySQL database cutover.
The solution correctly identifies that moving 650 TB over a 100 Mbps internet connection takes over 600 days, making online transfer impossible within a 3-week timeframe. Transfer Appliance provides an offline physical shipping device capable of ingesting petabyte-scale data into Cloud Storage. Meanwhile, the 400 GB operational MySQL database can easily be seeded online and kept in continuous synchronization using Database Migration Service (DMS) with Change Data Capture (CDC) until final cutover.

Adım Adım Çözüm

1
Calculate network throughput for the static data payload
Moving 650 TB650\text{ TB} (5.2×106 Gb5.2\times 10^6\text{ Gb}) over a 100 Mbps100\text{ Mbps} (0.1 Gbps0.1\text{ Gbps}) link requires approximately 5.2×107 seconds601 days5.2\times 10^7\text{ seconds} \approx 601\text{ days}, exceeding the 3-week window.
Large multi-hundred terabyte datasets cannot be moved online over narrow bandwidth pipes within short project timelines.
2
Select the appropriate data transfer mechanism for large static payloads
Select Google Cloud Transfer Appliance for offline physical data transport.
Transfer Appliance allows copying data locally at high speed and shipping hardware securely to a Google data center for ingestion into Cloud Storage.
3
Select database migration strategy for low downtime
Use Database Migration Service (DMS) with initial snapshot and Change Data Capture (CDC) continuous replication over the 100 Mbps100\text{ Mbps} connection.
A 400 GB400\text{ GB} database transfer easily fits within the 100 Mbps100\text{ Mbps} bandwidth capacity (taking roughly 9 hours9\text{ hours} for initial load), and CDC enables near-zero downtime cutover.

Anahtar Kavram

Selecting data transfer mechanisms based on data volume, bandwidth constraints, and downtime requirements
Soru 26Soru

An enterprise media streaming company is designing an automated continuous delivery pipeline for microservices deployed on Cloud Run using Cloud Build and Google Cloud Deploy. The architecture team requires progressive traffic shifting with automated rollback whenever latency or error rate metrics exceed defined thresholds during a release. Additionally, all container images deployed to production must be verifiably built by the authorized continuous integration pipeline, and individual developers must be prevented from executing direct manual deployments to production environments. Which TWO architectural configurations should the team implement to satisfy these requirements? (Select TWO)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Define Google Cloud Deploy targets and release pipelines configured with automated canary deployment strategies, integrating verification routines and automated rollbacks driven by Cloud Monitoring metric checks.; Configure Binary Authorization on the target Cloud Run services requiring attestations generated by Cloud Build, and restrict production deployment permissions strictly to the Cloud Deploy service account using IAM service account impersonation.

Cevap

The team should configure Google Cloud Deploy progressive canary release strategies with automated rollback capabilities based on metric checks, and enforce Binary Authorization attestations signed by Cloud Build while restricting deployment IAM permissions to the Cloud Deploy execution service account.
To achieve secure, automated release management on GCP, Google Cloud Deploy provides built-in progressive delivery features like canary deployments with automated rollback options upon metric or phase check failures. Pairing this with Binary Authorization ensures container images deployed to Cloud Run originate strictly from the verified Cloud Build pipeline. Restricting IAM rights to the deployment pipeline service account ensures compliance and prevents direct developer modifications.

Adım Adım Çözüm

1
Configure progressive release automation
Google Cloud Deploy delivery pipelines execute automated canary releases that evaluate metrics via Cloud Monitoring and trigger rollbacks if thresholds are breached.
Meets the requirement for progressive traffic shifting and automated failure mitigation.
2
Enforce artifact governance and minimal IAM access
Binary Authorization ensures only authorized container builds are deployed to Cloud Run, and IAM restrictions prevent developers from deploying directly.
Satisfies supply chain security requirements and enforces centralized CI/CD deployment execution.

Anahtar Kavram

Automating Continuous Deployment Pipelines and Release Strategies
Soru 27Soru

A global healthcare organization is designing a centralized operational logging architecture across hundreds of Google Cloud projects managed under an organizational hierarchy. The observability team needs to collect all high-severity application error logs from every project and stream them to a central Cloud Pub/Sub topic located in a dedicated operational security project for automated incident triage and event processing. The architecture must strictly adhere to Google Cloud security best practices, minimize administrative overhead, and enforce the principle of least privilege. Which configuration strategy should the platform engineering team implement?

Cevabı ve açıklamayı göster

Cevap: Create an aggregated log sink at the organization root with children inclusion enabled, specifying a log filter for error-severity logs and the central Pub/Sub topic as the destination. Grant the log sink's automatically generated writer identity service account the Pub/Sub Publisher role on the central Pub/Sub topic.

Cevap

Create an aggregated log sink at the organization root with children inclusion enabled, specifying a log filter for error-severity logs and the central Pub/Sub topic as the destination. Grant the log sink's automatically generated writer identity service account the Pub/Sub Publisher role on the central Pub/Sub topic.
The correct strategy configures an aggregated log sink at the organization root with `includeChildren` set to true. This automatically captures matching logs from all descendant folders and projects. Cloud Logging creates a dedicated writer identity service account for the sink; granting this service account the specific Pub/Sub Publisher role on the destination topic ensures minimal privilege and secure cross-project log routing.

Adım Adım Çözüm

1
Define an aggregated log sink at the organization resource level.
Centralizes log ingestion across all existing and newly provisioned folder and project resources using `includeChildren = true`.
Eliminates operational overhead of manually provisioning sinks per project.
2
Configure the sink filter and destination.
Filters logs to export only `severity >= ERROR` entries directly to the target Cloud Pub/Sub topic in the security operations project.
Ensures only relevant operational incidents stream to the automation pipeline.
3
Identify the writer identity service account generated by Cloud Logging and assign least-privilege permissions.
Grant `roles/pubsub.publisher` on the target Pub/Sub topic to the writer identity.
Fulfills Google Cloud Security IAM least-privilege standards by granting topic-level publish rights rather than project-level or primitive roles.

Anahtar Kavram

Organization-level Aggregated Log Sinks and Least-Privilege IAM Authorization
Tahmini Süre:3m 0s
Soru 28Soru

A cloud operations team is designing a CI/CD pipeline to automate infrastructure provisioning across multiple Google Cloud projects using Terraform. To meet strict enterprise security guidelines, the team must eliminate long-lived service account key files, prevent state file corruption during concurrent pipeline runs, and adhere to the principle of least privilege. Which deployment architecture and authentication strategy adhering to Google Cloud recommended best practices should the team implement?

Cevabı ve açıklamayı göster

Cevap: Configure a Cloud Storage remote backend with Object Versioning and state locking enabled, and authenticate the CI/CD pipeline using Workload Identity Federation with fine-grained IAM roles.

Cevap

Configure a Cloud Storage remote backend with Object Versioning and state locking enabled, and authenticate the CI/CD pipeline using Workload Identity Federation with fine-grained IAM roles.
Configuring a Cloud Storage remote backend with Object Versioning provides automated state locking via GCS generation checks to ensure safe concurrent operations. Using Workload Identity Federation allows CI/CD systems to authenticate without long-lived keys while leveraging fine-grained IAM roles.

Adım Adım Çözüm

1
Configure remote state locking and versioning
Terraform state is maintained centrally in a Cloud Storage bucket configured with state locking and Object Versioning.
This prevents state corruption from overlapping pipeline executions and allows state recovery in case of deployment failures.
2
Implement keyless authentication for CI/CD
Workload Identity Federation allows external CI/CD runners to exchange short-lived OpenID Connect (OIDC) tokens for Google Cloud IAM credentials.
This eliminates the security exposure associated with downloading and managing long-lived JSON service account key files.
3
Apply least-privilege access control
The impersonated service account is granted fine-grained predefined roles tailored exclusively to the required target GCP resources.
Avoiding primitive roles (Owner/Editor) and identity admin roles minimizes the blast radius of deployment pipeline actions.

Anahtar Kavram

Infrastructure as Code Centralized State Governance and Keyless CI/CD Authentication
Tahmini Süre:1m 30s
Soru 29Soru

A financial enterprise is establishing governance controls across its Google Cloud Organization hierarchy. The security compliance team requires that virtual machines cannot be assigned external public IP addresses and that all new infrastructure resources are restricted to the `us-central1` and `europe-west1` regions. Which TWO Organization Policy constraints should the cloud architect implement to enforce these administrative controls?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Set the `constraints/compute.vmExternalIpAccess` organization policy constraint to deny external IP address allocation on compute instances.; Set the `constraints/gcp.resourceLocations` organization policy constraint to allow resource creation only within `us-central1` and `europe-west1`.

Cevap

The cloud architect should configure the `constraints/compute.vmExternalIpAccess` constraint to block public IP assignment on VMs and the `constraints/gcp.resourceLocations` constraint to limit resource creation to the specified allowed regions.
The combination of the `constraints/compute.vmExternalIpAccess` constraint (which restricts public IP assignment to compute instances) and the `constraints/gcp.resourceLocations` constraint (which limits resource creation to designated GCP regions) centrally enforces the security and compliance requirements across the organization.

Adım Adım Çözüm

1
Identify the constraint required for external IP prevention on VMs.
Selecting `constraints/compute.vmExternalIpAccess` prevents Compute Engine instances from receiving external IPv4 or IPv6 addresses.
Organization policies provide programmatic constraints on Compute Engine networking options.
2
Identify the constraint required to restrict resource provisioning regions.
Selecting `constraints/gcp.resourceLocations` with an allowed list containing `us-central1` and `europe-west1` restricts resource deployment geographically.
Resource location constraints define regional boundaries across all supported GCP services in the resource hierarchy.

Anahtar Kavram

Organization Policy constraints define centralized programmatic guardrails across the GCP resource hierarchy to enforce security and compliance standards.
Soru 30Soru

A global online gaming company is designing a multi-tier leaderboard and matchmaking architecture on Google Cloud. The conceptual design requires high-concurrency event ingestion, low-latency stateful matchmaking logic, and ACID-compliant transactional persistence for player inventory management across regions. The enterprise architecture team is translating these conceptual requirements into a logical tier structure before finalizing physical GCP resource allocations. Which architecture design correctly maps the conceptual tiers to logical component boundaries and concrete physical GCP services while adhering to Google Cloud best practices?

Cevabı ve açıklamayı göster

Cevap: Map event ingestion to Cloud Pub/Sub, stateful matchmaking logic to GKE clusters with StatefulSets, and inventory transaction persistence to Cloud Spanner across a multi-region instance configuration.

Cevap

The correct architecture maps event ingestion conceptually to Cloud Pub/Sub, stateful session handling logically to Google Kubernetes Engine (GKE) StatefulSets, and global multi-region transactional persistence physically to Cloud Spanner.
The solution correctly translates high-level conceptual capabilities (scalable ingestion, stateful compute, global transactional database) into logical service boundaries and selects the optimal physical GCP products (Cloud Pub/Sub, GKE StatefulSets, Cloud Spanner). Cloud Spanner provides the global ACID transactions required for multi-region inventory consistency, while GKE StatefulSets support stateful matchmaking sessions.

Adım Adım Çözüm

1
Analyze conceptual requirements for data persistence.
Identified the need for globally distributed, multi-region ACID transactional writes for player inventory.
Standard relational databases like Cloud SQL offer read scalability via replicas but cannot accept multi-region synchronous ACID writes. Cloud Spanner is required.
2
Evaluate compute execution model requirements.
Selected GKE StatefulSets for complex, stateful matchmaking session logic.
Matchmaking requires persistent in-memory state and long-lived peer-to-peer session management, which serverless platforms like Cloud Run or Cloud Functions cannot natively maintain.
3
Verify event ingestion component selection.
Selected Cloud Pub/Sub as the asynchronous streaming buffer.
Cloud Pub/Sub decouples real-time telemetry and matchmaking request ingestion at massive global scale.

Anahtar Kavram

Mapping Architectural Abstraction Layers (Conceptual to Logical to Physical)
Soru 31Soru

A global streaming media enterprise uses Google Cloud for its infrastructure. The enterprise security team needs to establish central governance guardrails across the Google Cloud resource hierarchy without causing immediate downtime to running systems. Specifically, they must satisfy two requirements: first, audit and evaluate the impact of prohibiting external IP addresses on Compute Engine instances within the 'Staging' folder before enforcing the block; second, enforce that all new Cloud Storage buckets across the entire organization are created strictly within the 'us-central1' and 'us-east1' regions. Which TWO architecture design choices should you implement to meet these requirements?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Configure the boolean constraint 'constraints/compute.vmExternalIpAccess' using a dry-run policy on the 'Staging' folder.; Enforce the list constraint 'constraints/gcp.resourceLocations' at the Organization root level with allowed values set to 'in-regions: [us-central1, us-east1]'.

Cevap

The correct architecture requires configuring the boolean constraint 'constraints/compute.vmExternalIpAccess' in dry-run mode on the 'Staging' folder and enforcing the list constraint 'constraints/gcp.resourceLocations' at the organization root level with allowed values for the designated regions.
The correct solution uses Google Cloud Organization Policies to enforce governance rules across the hierarchy. Applying the boolean constraint for external VM IP access in dry-run mode on the targeted folder enables logging of policy non-compliance without breaking active development workflows. Simultaneously, enforcing the resource location list constraint at the organization root guarantees inherited compliance for resource provisioning locations across all projects.

Adım Adım Çözüm

1
Identify the mechanism for non-disruptive testing of VM external IP restrictions.
Using dry-run organization policies allows security teams to test constraints by generating audit logs upon policy violation without actively denying resource creation.
Dry-run policy evaluation satisfies the requirement to evaluate impact without blocking existing or new staging workloads.
2
Determine the resource hierarchy node and constraint configuration for regional resource restriction.
Organization policies inherit down the resource hierarchy. Applying 'constraints/gcp.resourceLocations' at the Organization root enforces region constraints across all folders and projects.
List constraints with allowed values restricting regions ensure compliance across all Cloud Storage buckets created in the organization.

Anahtar Kavram

Organization Policy Dry-Run Evaluation and Resource Location List Constraints
Soru 32Soru

An enterprise security team needs to grant an automated compliance auditing application running in a dedicated security project permission to inspect resource configurations and IAM policies across all projects nested within a folder named Production-Workloads. The security team must also allow a DevOps engineer to deploy and attach this service account to Compute Engine audit instances without granting the engineer the ability to modify IAM policies or elevate their own privileges. Which TWO configuration steps should the security architect implement to achieve this with minimal operational overhead and least privilege? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Grant the automated service account the Cloud Asset Viewer role (roles/cloudasset.viewer) bound at the Production-Workloads folder level.; Grant the DevOps engineer the Service Account User role (roles/iam.serviceAccountUser) on the specific audit service account resource.

Cevap

Grant the automated service account the Cloud Asset Viewer role (roles/cloudasset.viewer) bound at the Production-Workloads folder level, and grant the DevOps engineer the Service Account User role (roles/iam.serviceAccountUser) on the specific audit service account resource.
Inheriting permissions from the folder level enables an automated service account to inspect assets across all child projects using a targeted predefined role. Restricting the DevOps engineer's permissions to the Service Account User role scoped specifically to the target service account permits deployment onto compute resources while preventing administrative privilege escalation.

Adım Adım Çözüm

1
Determine the optimal scoping and role for the automated auditing application.
Identify that Cloud Asset Viewer (roles/cloudasset.viewer) provides read access to metadata and IAM policies across resources without exposing underlying payload data.
Granting this role at the Production-Workloads folder level leverages resource hierarchy inheritance to cover all current and future child projects automatically.
2
Determine the least-privilege permission required for the DevOps engineer deploying the compute workload.
Assign the Service Account User role (roles/iam.serviceAccountUser) directly on the target service account resource.
This grants the engineer permission to impersonate or bind the service account to Compute Engine instances without granting Service Account Admin rights or folder-wide IAM administrative capabilities.

Anahtar Kavram

Resource Hierarchy IAM Inheritance and Service Account Impersonation Least Privilege
Soru 33Soru

A financial technology enterprise is automating the deployment of a high-throughput transaction processing engine on Google Cloud using an automated delivery pipeline. The CI/CD pipeline executes using a dedicated deployment service account that provisions a Compute Engine Managed Instance Group (MIG). The VMs in the instance template are configured to run under a separate application runtime service account with fine-grained database access permissions. During pipeline deployment, Compute Engine returns an authorization failure indicating that the deployment service account is not allowed to attach the runtime service account to the newly provisioned instances. Which action should the cloud architect take to resolve this failure while adhering to the principle of least privilege?

Cevabı ve açıklamayı göster

Cevap: Grant the deployment service account the Service Account User role (roles/iam.serviceAccountUser) specifically on the application runtime service account.

Cevap

Grant the deployment service account the Service Account User role (roles/iam.serviceAccountUser) specifically on the application runtime service account.
To attach a service account to a Compute Engine instance template or VM, the deploying identity needs permission to act as that service account. Granting the Service Account User role (`roles/iam.serviceAccountUser`) directly on the runtime service account fulfills this requirement securely without granting project-wide elevated rights.

Adım Adım Çözüm

1
Identify the missing IAM permission required for compute provisioning.
Compute Engine requires the identity creating the instances to hold `iam.serviceAccounts.actAs` permission on the target runtime service account.
When creating resources that run as a specific service account, GCP enforces security checks so users cannot elevate privileges illegally.
2
Apply the least-privilege IAM role to the specific target resource.
Granting `roles/iam.serviceAccountUser` specifically on the runtime service account resource gives the deployment service account exactly the required privilege.
Resource-level role bindings prevent over-granting permissions across all service accounts or project-level resources.

Anahtar Kavram

Compute Engine Service Account Impersonation and IAM Service Account User Role
Soru 34Soru

An enterprise architecture team is designing an automated progressive delivery release pipeline using Google Cloud Deploy for a microservice deployed on Google Kubernetes Engine (GKE). The pipeline must enforce container image provenance via Binary Authorization and perform automated canary metric verification prior to full traffic shifting.

Arrange the following pipeline execution steps in the correct chronological order from source build to final production rollout.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct chronological sequence for the progressive delivery pipeline is: 1) Cloud Build compiles the image and generates a Binary Authorization attestation with Cloud KMS, 2) Cloud Build pushes the image to Artifact Registry and registers a release in Cloud Deploy, 3) Cloud Deploy provisions a canary rollout with 10% traffic routing, 4) Cloud Monitoring verifies SLIs during the observation window, and 5) Cloud Deploy advances the phase to route 100% of production traffic.
The deployment pipeline follows a logical progressive delivery workflow: artifact compilation and Binary Authorization attestation signing (via Cloud KMS in Cloud Build) must precede release registration in Google Cloud Deploy. Once registered, Cloud Deploy executes canary traffic shifting (routing 10% traffic), followed by automated SLI evaluation via Cloud Monitoring during an observation window. Only after metric verification completes successfully can Cloud Deploy promote the deployment phase to shift 100% of production traffic.

Adım Adım Çözüm

1
Generate build artifacts and attestations in CI
Container image is built and signed via Cloud KMS for Binary Authorization enforcement.
Binary Authorization requires attestations to exist prior to image deployment in protected target environments.
2
Store artifact and trigger Continuous Delivery pipeline
Artifact is stored in Artifact Registry and a Cloud Deploy release is instantiated.
Cloud Deploy releases depend on immutable image digest references stored in Artifact Registry.
3
Execute initial canary phase deployment
Canary pod revision is deployed to GKE with 10% traffic split.
Progressive delivery starts with limited traffic exposure to restrict potential impact from regressions.
4
Perform automated metrics analysis
Cloud Monitoring validates error rates and latency SLIs over the observation period.
Automated telemetry checking confirms system stability before expanding deployment scope.
5
Promote to full production traffic
Cloud Deploy routes 100% of traffic to the new revision.
Successful metric evaluation allows the pipeline to conclude with full production promotion.

Anahtar Kavram

Automating Continuous Deployment Pipelines and Release Strategies using Google Cloud Deploy, Binary Authorization, and Canary Analysis
Soru 35Soru

A biomedical research company is automating the infrastructure provisioning process on Google Cloud for a distributed genomic processing platform. The architecture requires deploying a private Google Kubernetes Engine (GKE) cluster for core compute services alongside automated Terraform pipelines for provisioning Compute Engine Managed Instance Groups (MIGs). The security and operations teams require that administrative control plane access to the private GKE cluster be strictly limited to trusted corporate networks, and that infrastructure state storage prevents concurrent execution conflicts or loss of state history. Which TWO deployment configuration actions should the Cloud Architect recommend to fulfill these operational and security constraints?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Configure control plane authorized networks on the private GKE cluster using explicit corporate CIDR ranges.; Configure a Google Cloud Storage remote backend with object versioning and state locking for Terraform state management.

Cevap

The correct architecture requires enabling control plane authorized networks with explicit corporate CIDR ranges on the private GKE cluster and storing Terraform state in a Google Cloud Storage backend configured with object versioning and state locking.
Configuring control plane authorized networks on private GKE clusters ensures master endpoint communication is strictly constrained to authorized corporate IP blocks. Concurrently, using Google Cloud Storage as a remote backend with versioning and state locking protects infrastructure state from corruption and concurrent pipeline conflicts.

Adım Adım Çözüm

1
Evaluate private GKE cluster control plane security requirements.
Identified that restricting master endpoint access requires configuring GKE control plane authorized networks with specific CIDR blocks.
Private GKE clusters require explicit authorized network rules to block unauthorized public network requests to the control plane.
2
Evaluate Infrastructure as Code (IaC) state management best practices.
Identified that Cloud Storage backend with state locking and object versioning fulfills concurrency and resilience needs.
Centralized, locked, and versioned remote backends prevent state corruption during automated CI/CD runs.
3
Analyze distractor options regarding IAM roles, IaC state, and compute platform selection.
Eliminated options recommending excessive IAM primitive/admin roles, local state storage, and redundant cluster creation.
These options violate least privilege, introduce state corruption risks, or add unnecessary operational complexity.

Anahtar Kavram

Provisioning private GKE clusters with control plane authorized networks and securing automated IaC state management in Cloud Storage.
Soru 36Soru

An enterprise logistics corporation is deploying a new fleet management platform across multiple Google Cloud projects organized under a parent folder named `Fleet-Ops`. The compliance team mandates two strict governance guardrails: (1) prevent users from generating external service account keys to mitigate credential leakage risks, and (2) restrict all infrastructure deployment strictly to European regions (`europe-west1` and `europe-west4`). Additionally, the team must evaluate the operational impact of the key creation restriction on existing pipelines prior to active blocking. Which TWO actions should the security architect take to satisfy these governance requirements using Google Cloud Organization Policies?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Apply the boolean constraint `iam.disableServiceAccountKeyCreation` at the `Fleet-Ops` folder level with a dry-run policy spec to monitor violations in Cloud Logging before enforcing active blocking.; Apply the list constraint `gcp.resourceLocations` at the `Fleet-Ops` folder level, configuring the allowed values to include `in:europe-west1-locations` and `in:europe-west4-locations`.

Cevap

Configure an Organization Policy with a dry-run spec for the boolean constraint iam.disableServiceAccountKeyCreation at the Fleet-Ops folder level, and configure an Organization Policy with the list constraint gcp.resourceLocations allowing in:europe-west1-locations and in:europe-west4-locations at the Fleet-Ops folder level.
The solution requires applying two distinct Google Cloud Organization Policies at the `Fleet-Ops` folder level. First, applying the `iam.disableServiceAccountKeyCreation` boolean constraint with a dry-run policy spec allows security administrators to monitor logs in Cloud Logging for non-compliant service account key creation attempts without breaking current CI/CD pipelines. Second, enforcing the `gcp.resourceLocations` list constraint with explicit region group values restricts resource provisioning across all child projects strictly to `europe-west1` and `europe-west4`.

Adım Adım Çözüm

1
Identify the governance requirements for service account key restriction and dry-run evaluation.
Selected the boolean Organization Policy constraint `iam.disableServiceAccountKeyCreation` applied at the `Fleet-Ops` folder level with a dry-run configuration.
Dry-run policy enforcement logs violations to Cloud Logging without blocking actions, fulfilling the requirement to test impact on existing pipelines.
2
Identify the governance requirements for regional resource location boundaries.
Selected the list Organization Policy constraint `gcp.resourceLocations` configured with `in:europe-west1-locations` and `in:europe-west4-locations` at the `Fleet-Ops` folder level.
List constraints at the folder level prevent any underlying project from deploying resources outside the specified regional location groups.

Anahtar Kavram

Google Cloud Organization Policies enforcement, dry-run testing, and resource hierarchy inheritance
Soru 37Soru

An architectural team at a global financial settlement firm is translating a multi-tier conceptual architecture into concrete logical and physical designs on Google Cloud. The logical tier mandates two key requirements: first, a core relational transaction ledger that guarantees active-active multi-region ACID consistency with low write latency; second, strict network-level security perimeters between the transaction engine and third-party audit reporting components to block unauthorized data exfiltration even if IAM credentials are leaked. Which physical architecture implementation correctly maps these logical requirements to Google Cloud services?

Cevabı ve açıklamayı göster

Cevap: Provision Cloud Spanner with a multi-region instance configuration for the relational transaction ledger, and isolate the transaction processing and audit reporting projects into separate security perimeters using VPC Service Controls.

Cevap

Provision Cloud Spanner with a multi-region instance configuration for the relational transaction ledger, and isolate the transaction processing and audit reporting projects into separate security perimeters using VPC Service Controls.
The correct solution maps the logical requirements to physical GCP components by choosing Cloud Spanner for multi-region active-active relational consistency and VPC Service Controls to enforce perimeter-based network protection against data exfiltration.

Adım Adım Çözüm

1
Analyze the logical database requirements.
The requirement specifies an active-active multi-region relational database with strict ACID consistency and low latency.
Cloud Spanner is the physical GCP service designed specifically for globally distributed, multi-region synchronous relational transactions, whereas Cloud SQL only provides single-region primary engines with asynchronous cross-region replicas.
2
Analyze the logical security and isolation requirements.
The requirement demands protection against data exfiltration across security perimeters, even if IAM identities are compromised.
VPC Service Controls create boundary perimeters around GCP resources at the network layer to prevent data theft and exfiltration, which IAM alone cannot prevent.
3
Synthesize the physical architecture mapping.
Combining Cloud Spanner (multi-region) and VPC Service Controls (project perimeters) satisfies both logical criteria.
This configuration accurately maps conceptual data integrity and isolation policies into enterprise-grade GCP physical infrastructure.

Anahtar Kavram

Translating logical data storage and security requirements into GCP physical services (Cloud Spanner and VPC Service Controls)
Soru 38Soru

A global online travel booking platform is migrating its infrastructure to Google Cloud within a strict 3-week cutover window. The application stack includes a 15 TB15\text{ TB} operational PostgreSQL relational database that requires less than 2 hours of downtime during cutover, and a 350 TB350\text{ TB} historical search log archive. The enterprise maintains an existing 1 Gbps1\text{ Gbps} Dedicated Interconnect connection to Google Cloud, but network policies restrict migration bandwidth on this link to off-peak hours (maximum 12 hours per day). Which migration and data transfer strategy should the cloud architect recommend to meet all business and technical constraints?

Cevabı ve açıklamayı göster

Cevap: Order a Google Cloud Transfer Appliance to transfer the 350 TB350\text{ TB} historical search log archive offline, and use Database Migration Service (DMS) with continuous Change Data Capture (CDC) over the Dedicated Interconnect for the PostgreSQL database.

Cevap

Order a Google Cloud Transfer Appliance to transfer the historical search log archive offline, and use Database Migration Service (DMS) with continuous Change Data Capture (CDC) over the Dedicated Interconnect for the PostgreSQL database.
Transferring 350 TB350\text{ TB} of data over a 1 Gbps1\text{ Gbps} line capped at 12 hours per day provides only 5.4 TB\sim 5.4\text{ TB} of daily ingestion, requiring over two months. Utilizing Google Cloud Transfer Appliance enables shipping the archive offline to meet the 3-week timeline constraint. Meanwhile, Database Migration Service (DMS) continuously replicates PostgreSQL transactions using Change Data Capture (CDC) over the Dedicated Interconnect, allowing the database cutover to complete well within the 2-hour target window.

Adım Adım Çözüm

1
Calculate available online bandwidth capacity for the bulk log archive transfer.
At 1 Gbps1\text{ Gbps} (125 MB/s125\text{ MB/s}), 12 hours of transfer per day yields 125 MB/s×43,200 seconds5.4 TB/day125\text{ MB/s} \times 43,200\text{ seconds} \approx 5.4\text{ TB/day}. Transferring 350 TB350\text{ TB} requires approximately 65 days.
Because 65 days exceeds the 3-week (21 days21\text{ days}) timeline, online transfer via Dedicated Interconnect or HA VPN is unfeasible. An appliance-based offline transfer (Transfer Appliance) is required.
2
Evaluate relational database migration and cutover requirements.
A static dump/restore of a 15 TB15\text{ TB} database over the network or via appliance would require many hours to export, transport, and re-index, violating the 2-hour maximum downtime window.
Database Migration Service (DMS) utilizes continuous Change Data Capture (CDC) to keep the target Cloud SQL/PostgreSQL instance in sync with on-premises, enabling a rapid cutover within minutes.

Anahtar Kavram

Designing hybrid migration plans that combine offline physical appliances (Transfer Appliance) for bandwidth-constrained large datasets with continuous online replication tools (DMS with CDC) for low-downtime database cutovers.
Soru 39Soru

A platform engineering team is automating continuous deployment pipelines using Cloud Build and Cloud Deploy for microservice applications hosted on Google Kubernetes Engine (GKE). The architecture requires strict compliance with least-privilege IAM controls for pipeline execution and resilient infrastructure state management for pipeline provisioning. Which TWO design practices should the team implement to achieve these requirements?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Configure Cloud Deploy execution service accounts with least-privilege roles such as Cloud Deploy Job Runner rather than primitive roles.; Store Infrastructure as Code (IaC) Terraform state files in a Cloud Storage backend with object versioning and state locking enabled.

Cevap

The correct practices are configuring Cloud Deploy execution service accounts with fine-grained roles such as Cloud Deploy Job Runner, and storing Infrastructure as Code (IaC) Terraform state files in a remote Cloud Storage backend with object versioning and state locking enabled.
Configuring Cloud Deploy execution service accounts with granular predefined roles adheres to least-privilege security principles. Concurrently, utilizing a Cloud Storage remote backend with versioning and object locking for Terraform state management prevents configuration drift, race conditions, and state file corruption during automated release deployments.

Adım Adım Çözüm

1
Evaluate IAM least-privilege execution requirements for continuous deployment services.
Identified that dedicated execution service accounts should be assigned granular roles like roles/clouddeploy.jobRunner rather than broad primitive roles.
Restricting deployment pipeline access ensures compliance with enterprise security standards and limits security blast radius.
2
Evaluate Infrastructure as Code state management requirements for automated delivery pipelines.
Selected Cloud Storage as a remote backend with versioning and state locking enabled.
Remote state backends protect against concurrency race conditions and allow safe rollback in automated IaC pipeline runs.

Anahtar Kavram

Automating Continuous Deployment Pipelines and Release Strategies with Least Privilege and Resilient IaC State Management
Soru 40Soru

A multinational enterprise is deploying an automated batch processing platform across multiple Google Cloud projects situated inside a dedicated `Data Analytics` resource hierarchy folder. During a scheduled high-volume analytics job, an automated Infrastructure-as-Code (IaC) pipeline attempts to provision 300 additional N2-standard-16 Compute Engine virtual machines in the `us-central1` region. The deployment fails during compute resource creation with a `QUOTA_EXCEEDED` error for `N2_CPUS` in `us-central1`. The architecture team must ensure future automated scale-out events execute successfully without sacrificing security or operational governance. Which strategy should the Cloud Architect recommend?

Cevabı ve açıklamayı göster

Cevap: Proactively submit a regional quota increase request for N2 CPUs in `us-central1` via the Cloud Console or Cloud Quotas API, and establish Cloud Monitoring quota usage alerts.

Cevap

Proactively submit a regional quota increase request for N2 CPUs in `us-central1` via the Cloud Console or Cloud Quotas API, and establish Cloud Monitoring quota usage alerts.
Google Cloud service quotas are enforced at the project and regional level to ensure system stability and prevent unintended resource consumption. For predictable high-volume scale-out workloads, architects must plan ahead by submitting regional quota increase requests (e.g., for N2 CPUs in `us-central1`) via the Google Cloud Console or Cloud Quotas API. Integrating Cloud Monitoring alerts based on quota usage metrics ensures operational visibility before capacity limits cause job failures.

Adım Adım Çözüm

1
Identify the cause of the provisioning failure.
The failure is caused by reaching the per-project regional quota for `N2_CPUS` in `us-central1`.
Compute Engine quotas are enforced per region per project to prevent unexpected resource exhaustion and system overload.
2
Evaluate GCP quota request procedures.
Quotas must be requested in advance because approval involves capacity verification by Google Cloud.
Automated deployments cannot bypass quotas at runtime without prior quota adjustment requests.
3
Implement proactive quota governance and monitoring.
Combine preemptive quota increase requests with Cloud Monitoring alerts configured against quota consumption metrics.
This guarantees required capacity for large-scale operations while preventing future unexpected provisioning failures.

Anahtar Kavram

Managing Resource Quotas and Proactive Capacity Governance in Google Cloud
ÖncekiSayfa 2 / 80Sonraki
Tüm alıştırma soruları — Google Cloud Professional Cloud Architect | Examkin