Tüm alıştırma soruları
1591 soru
A company needs to enforce a compliance rule that prohibits service account key creation for all Google Cloud projects nested inside the 'Production' folder. What is the correct way to enforce this restriction across all current and future projects in that folder?
A DevOps team is setting up an automated deployment pipeline for a microservice in a GCP project named `project-staging`. The pipeline's dedicated service account must be able to push compiled container images to an Artifact Registry repository named `app-repo` and manage Kubernetes deployments within the project's GKE cluster. Following the principle of least privilege, which TWO role assignments should the team grant to the service account? (Select TWO.)
Geçerli olan tümünü seçin
A security compliance manager at a healthcare organization must allow an external compliance auditing group ([email protected]) to generate short-lived identity tokens to inspect encrypted storage resources using a dedicated service account ([email protected]). To satisfy strict enterprise security policies that prohibit the use of static, long-lived credentials, the team decides to set up service account impersonation. Which configuration step must be performed to enable this impersonation securely?
A security operations team needs to grant a newly hired auditor access to inspect system log entries in Cloud Logging and view Cloud Storage bucket metadata (such as bucket configuration and labels) within a single development project (`proj-dev-42`). The auditor must NOT be able to view object data stored inside the buckets, nor should they receive permissions across other projects in the organization. Adhering to the principle of least privilege, which of the following IAM role assignments should you implement? (Select TWO.)
Geçerli olan tümünü seçin
A cloud engineer is managing cryptographic keys in Google Cloud KMS for enterprise data security. Which TWO statements correctly describe key lifecycle management and access permissions for Cloud KMS? (Select TWO)
Geçerli olan tümünü seçin
A cloud security engineer needs to enforce uniform security policies for a Google Cloud Storage bucket storing sensitive financial reports. The bucket currently has legacy per-object Access Control Lists (ACLs) applied. The engineer plans to enable Uniform Bucket-Level Access (UBLA) on this bucket. Which of the following statements correctly describe the technical impacts and operational requirements of enabling Uniform Bucket-Level Access? (Select TWO.)
Geçerli olan tümünü seçin
A security engineer must enable a developer to manage Cloud Storage buckets in a production project using service account impersonation, eliminating the need for long-lived service account keys. What is the correct sequence of steps to establish and verify this impersonated access?
Öğeleri doğru sıraya koymak için sürükleyin
An enterprise security engineering team must standardize access control on a production Cloud Storage bucket currently configured with fine-grained Access Control Lists (ACLs). Company security policy requires enforcing access exclusively through Cloud IAM permissions while completely disabling object-level ACL evaluation, adhering to the principle of least privilege. Which TWO configuration actions must the team take to accomplish this requirement without disrupting access for authorized users?
Geçerli olan tümünü seçin
A Cloud Engineer needs to replace a degraded secondary persistent disk attached to a production Compute Engine Virtual Machine (app-server-1) with a restored volume from a recent snapshot named app-data-snapshot-v2. The recovery process must follow Google Cloud recommended practices using gcloud CLI commands to minimize data corruption risk. What is the correct sequence of steps to replace and restore the persistent data disk?
Öğeleri doğru sıraya koymak için sürükleyin
A system administrator needs to deploy a standard Compute Engine virtual machine instance named `analytics-db` in zone `us-central1-a` using the Google Cloud CLI. Due to third-party database software licensing rules tied to physical CPU sockets, the VM must be configured to terminate (stop) rather than live-migrate whenever Google performs host maintenance. Additionally, the instance must automatically restart if it crashes or if the host hardware fails unexpectedly. Which command should the administrator run to fulfill these requirements?
An operations engineer needs to export a production database from a Cloud SQL for MySQL instance to a Google Cloud Storage bucket using the gcloud CLI. The process must follow Google Cloud security best practices by granting the minimum required service account permissions. What is the correct sequence of steps to perform this export operation successfully?
Öğeleri doğru sıraya koymak için sürükleyin
A security administrator needs to grant an internal auditor permissions to view standard Admin Activity audit logs as well as Data Access audit logs containing sensitive data in Cloud Logging, using predefined roles that follow the principle of least privilege. Which TWO IAM roles should be assigned to the auditor? (Select two.)
Geçerli olan tümünü seçin
Your organization recently enforced Uniform Bucket-Level Access (UBLA) on a Google Cloud Storage bucket named `partner-data-exchange` to align with security compliance requirements. Shortly after this enforcement, an automated data ingestion pipeline fails when attempting to upload new files. Investigation shows that the ingestion script explicitly passes per-object Access Control List (ACL) parameters (`publicRead`) during object creation calls. Which action should you take to restore pipeline functionality while maintaining compliance with the security policy?
An organization requires that encryption keys stored in Google Cloud KMS are regularly rotated every 90 days to comply with security policies. The security team wants to ensure that newly written data uses the newest key version while previously encrypted data remains decryptable without manual re-encryption. Which configuration approach should you use in Cloud KMS?
A network administrator is updating an existing VPC firewall rule named `allow-app-traffic` in Google Cloud. The rule currently has an evaluation priority of 2000. The administrator needs to modify `allow-app-traffic` to allow incoming TCP traffic on port 8080 from the CIDR block `10.150.0.0/16` specifically for virtual machine instances tagged with `app-backend`. Additionally, this rule must take precedence over a conflicting denial rule configured with a priority of 1500.
Which TWO operational actions must the administrator perform to satisfy these requirements?
Geçerli olan tümünü seçin
A cloud operations team needs to grant a network engineer permission to manage VPC subnets and firewall rules in a Google Cloud project named net-prod-2026. The engineer must not be able to create, delete, or modify Compute Engine virtual machine instances or access project storage resources. Following Google Cloud best practices and the principle of least privilege, which IAM role configuration should be granted to the network engineer?
An organization is standardizing security compliance across its Google Cloud environment. A cloud engineer enables Uniform Bucket-Level Access (UBLA) on an existing Cloud Storage bucket that previously relied on fine-grained Access Control Lists (ACLs) attached to individual objects. Immediately after enabling UBLA, an automated reporting application's service account loses read access to specific legacy files in the bucket. The engineer needs to restore read access to all objects in the bucket for this service account while adhering to the principle of least privilege and maintaining uniform bucket access controls. Which action should the engineer take?
A cloud engineer needs to perform a canary deployment for an existing Cloud Run service named `inventory-api`. The deployment strategy requires deploying a new revision without immediately receiving production traffic, validating the isolated revision using a revision tag URL, sending 10% of live traffic to the canary, and finally shifting 100% of traffic to the new release. In what order should the engineer execute the following operational steps?
Öğeleri doğru sıraya koymak için sürükleyin
An organization is establishing an automated CI/CD deployment workflow on an external third-party platform that needs to deploy resources into a Google Cloud project. Security policies strictly prohibit exporting or storing long-lived service account JSON key files on external infrastructure. The engineering team decides to set up Workload Identity Federation so the external pipeline can temporarily impersonate a dedicated Google Cloud service account. Which TWO configuration steps must be performed in Google Cloud to complete this setup? (Select TWO.)
Geçerli olan tümünü seçin
An enterprise security team is establishing key governance policies for customer-managed encryption keys (CMEK) managed in Google Cloud KMS. The team must revoke access to a compromised encryption key version used by Cloud Storage, enforce the principle of least privilege for the Cloud Storage Service Agent, and ensure that administrative actions cannot destroy key audit history or metadata. Which implementation plan correctly achieves these requirements while adhering to Cloud KMS operational constraints?