Tüm alıştırma soruları
1591 soru
An enterprise cloud team needs to configure an automated nightly backup script running on an on-premises server to upload database backups to a Cloud Storage bucket in Google Cloud project `prod-data-vault`. Following Google Cloud security best practices, the team wants to eliminate long-lived service account keys while enforcing the principle of least privilege. Which TWO configuration steps should the cloud engineer implement?
Geçerli olan tümünü seçin
A DevOps engineer needs to create an ingress firewall rule in a Virtual Private Cloud (VPC) network named `production-vpc` to allow HTTPS traffic (TCP port 443) to Compute Engine virtual machines tagged as `secure-app`. An existing firewall rule with a priority of 1000 currently denies all ingress traffic to instances with the `secure-app` tag. The new rule must take precedence over the existing deny rule to allow HTTPS traffic. Which `gcloud` command should the engineer run?
An organization is setting up telemetry collection and audit log retention for a fleet of Compute Engine virtual machines deployed across multiple GCP projects. The operations team needs to collect OS-level memory utilization metrics from the instances and automatically export application audit logs to a centralized BigQuery dataset located in a dedicated security governance project. Which of the following configuration steps are required to achieve this operational objective according to Google-recommended practices? (Select TWO options.)
Geçerli olan tümünü seçin
An organization has configured Data Access audit logging for sensitive Cloud Storage buckets and BigQuery datasets in a security-restricted project. An internal auditor requires access to analyze both standard Admin Activity audit logs and Data Access audit logs. The auditor must not be given permissions to edit log sinks or manage logging configurations. Which TWO IAM predefined roles must be granted to the auditor to adhere to the principle of least privilege?
Geçerli olan tümünü seçin
An organization manages two distinct Compute Engine workloads in the `us-central1` region. Workload 1 consists of batch analytics processing jobs that are fault-tolerant and can tolerate unexpected interruptions. Workload 2 is a single standalone VM hosting a monitoring tool that requires automated daily backups of its boot persistent disk. Which TWO management actions should an Associate Cloud Engineer take to satisfy these operational requirements according to Google-recommended practices? (Select TWO.)
Geçerli olan tümünü seçin
An enterprise administrator is configuring governance policies across a Google Cloud resource hierarchy comprising an Organization node, a Development folder, and several child projects. The security policy mandates two constraints:
1. Disable serial port access for Compute Engine virtual machines globally across all projects.
2. Restrict external IP addresses on Compute Engine instances across the organization, except for a specific project named 'dev-bastion-proj' located in the Development folder which requires external network connectivity.
Which two organization policy configurations must the administrator implement to satisfy these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A cloud engineer needs to configure access for an application running on a Compute Engine VM in project `prod-app-project`. The application must publish messages to a Cloud Pub/Sub topic in the same project. Following Google Cloud security best practices, access must follow the principle of least privilege without generating long-lived service account keys. Which set of `gcloud` commands correctly creates the service account and grants the minimum required access?
An organization is deploying an application on Compute Engine that writes confidential audit logs to a Cloud Storage bucket using Customer-Managed Encryption Keys (CMEK). The compliance policy mandates strict separation of duties: security administrators must handle key creation and policy configuration, but must not be able to encrypt or decrypt data. Conversely, the application service account must only be able to encrypt and decrypt data using the key. Which TWO IAM configurations fulfill these requirements according to Google Cloud best practices?
Geçerli olan tümünü seçin
A DevOps engineer is configuring observability for a fleet of Compute Engine instances running a specialized media processing application. The operations team requires real-time memory usage metrics and operating system log collection in Google Cloud Observability, as standard hypervisor metrics do not capture OS-level memory consumption. Which action should the engineer take to meet these telemetry requirements?
A cloud engineering team is using a continuous integration service account to automate infrastructure deployment in Google Cloud. The deployment pipeline must create Cloud KMS key rings and crypto keys, as well as configure key rotation schedules. However, security policy strictly prohibits this service account from having permissions to encrypt or decrypt data payloads, enforcing the principle of least privilege. Which identity and access management strategy meets these requirements?
A security compliance auditor needs to inspect Data Access audit logs in a Google Cloud project to investigate access patterns for sensitive Cloud KMS keys. The auditor currently holds the Logs Viewer (roles/logging.viewer) role at the project level, but queries in Logs Explorer return no results for Data Access logs. Following the principle of least privilege, which action should you take to enable the auditor to view these logs?
A system administrator configures two custom ingress firewall rules on a VPC network named `production-vpc` to manage access to a group of internal web servers tagged `web-server`:
1. Rule `allow-internal-web`: Priority 1000, Action: Allow, Target tags: `web-server`, Source tags: `internal-client`, Protocols/ports: `tcp:8080`
2. Rule `deny-web-all`: Priority 800, Action: Deny, Target tags: `web-server`, Source IP ranges: `0.0.0.0/0`, Protocols/ports: `tcp:8080`
During testing, instances tagged `internal-client` are unable to reach instances tagged `web-server` on port 8080. Which configuration change will allow traffic from `internal-client` to `web-server` on TCP port 8080 while continuing to block all other ingress traffic?
An engineer needs to provision a dedicated Google Cloud service account for an internal reporting application running on a Compute Engine virtual machine instance. The application needs read-only access to objects in a specific Cloud Storage bucket. Place the following gcloud CLI operations in the correct chronological order required to create the service account, grant it the necessary IAM role, and attach it to the virtual machine instance during creation.
Öğeleri doğru sıraya koymak için sürükleyin
An infrastructure team manages a workload running on Compute Engine virtual machines that requires autoscaling based on system memory utilization. Currently, Cloud Monitoring only displays default hypervisor-level metrics, which do not include internal RAM usage. Which action should the team take to collect guest memory metrics and enable autoscaling for the instance group?
A cloud administrator manages a Google Cloud resource hierarchy consisting of an Organization root, a 'Finance' folder, and several child projects. An Organization Policy set at the Organization root uses the list constraint `constraints/gcp.resourceLocations` with allowed values configured to `in:us-locations`. To satisfy local compliance mandates, all newly provisioned GCP resources within projects under the 'Finance' folder must be strictly restricted to the `asia-east1` region, overriding the inherited Organization Policy. Which action should the administrator take to achieve this governance requirement?
A security policy requires that an application hosted on a Compute Engine virtual machine in Project-Analytics read log files stored in a Cloud Storage bucket located in Project-Logs. Following Google Cloud security best practices for access control, which setup should you implement?
An organization is configuring Google Cloud KMS to manage Customer-Managed Encryption Keys (CMEK) for sensitive data stored in Cloud Storage. The security policy mandates strict separation of duties between administrators who manage key policies and workloads that perform cryptographic operations, as well as adherence to standard Cloud KMS key lifecycle management rules. Which of the following configurations and operational practices align with Google Cloud security standards? (Select TWO.)
Geçerli olan tümünü seçin
An infrastructure team needs to collect OS-level memory metrics and system logs from a fleet of Compute Engine virtual machines running Linux. The solution must align with Google-recommended security and observability best practices. Which TWO actions should you perform?
Geçerli olan tümünü seçin
An Associate Cloud Engineer needs to update the container image running on a regional Managed Instance Group (MIG) without incurring downtime. Order the steps required to safely execute a rolling update of the MIG using the Google Cloud CLI.
Öğeleri doğru sıraya koymak için sürükleyin
A security audit team for a digital healthcare provider needs to enforce strict network perimeter controls across all Compute Engine virtual machines residing in a specific folder named 'Data Processing'. They want to ensure no instances in this folder receive external IP addresses and that policy administrative duties follow the principle of least privilege. Which TWO actions should the team take to meet these governance requirements? (Select TWO.)
Geçerli olan tümünü seçin