home / exams / Google / gcp-ace / Practice Test 2
gcp-ace Google

Google Associate Cloud Engineer - Practice Test 2

Question #41
Security

An external auditor needs to review both Admin Activity logs and Data Access logs within your Google Cloud project. Which Google Cloud Identity and Access Management (IAM) role should you assign to the auditor to grant the necessary permissions, and what additional instruction should be provided?

A. Assign the auditor the IAM role `roles/logging.privateLogViewer`. Perform the export of logs to Cloud Storage.
B. Assign the auditor the IAM role `roles/logging.privateLogViewer`. Direct the auditor to also review the logs for changes to Cloud IAM policy.
C. Assign the auditor's IAM user to a custom role that has `logging.privateLogEntries.list` permission. Perform the export of logs to Cloud Storage.
D. Assign the auditor's IAM user to a custom role that has `logging.privateLogEntries.list` permission. Direct the auditor to also review the logs for changes to Cloud IAM policy.
Question #42

Your company has a large quantity of unstructured data in different file formats. You want to perform ETL transformations on the data. You need to make the data accessible on Google Cloud so it can be processed by a Dataflow job. What should you do?

A. Upload the data to BigQuery using the bq command line tool.
B. Upload the data to Cloud Storage using the gcloud storage command.
C. Upload the data into Cloud SQL using the import function in the Google Cloud console.
D. Upload the data into Cloud Spanner using the import function in the Google Cloud console.
Question #43
Monitoring & Operations

You are managing a critical web application hosted on Google Compute Engine. Your objective is to ensure that your support team is immediately notified if users experience elevated latency for a sustained period of at least 5 minutes. You require a Google-recommended solution that incurs no development overhead. Which approach should you implement?

A. Export Cloud Monitoring metrics to BigQuery and create a Looker Studio dashboard to visualize and manually monitor your web application's latency.
B. Configure an alert policy in Cloud Monitoring to automatically send a notification when the HTTP response latency surpasses a predefined threshold.
C. Develop an App Engine service that periodically queries the Cloud Monitoring API and dispatches notifications upon detecting latency anomalies.
D. Utilize the Cloud Monitoring dashboard to visually observe latency trends and manually initiate actions when the response latency exceeds the specified threshold.
Question #44
Compute

A company needs to process daily batch jobs that typically run for about two hours each night. The primary goal is to minimize the operational costs associated with these compute resources. Which Google Cloud strategy should be implemented?

A. Utilize Google Kubernetes Engine with a single-node cluster and a small instance type.
B. Provision Compute Engine preemptible VM instances of an appropriate standard machine type.
C. Deploy Google Kubernetes Engine with a three-node cluster using micro instance types.
D. Select Compute Engine VM instance types that are optimized for micro-bursting workloads.
Question #45
Security

Your organization mandates that all developers possess consistent permissions across all Google Cloud projects. The security policy specifically limits developer access to Compute Engine, Cloud Functions, and Cloud SQL services. You need to implement this policy with minimal administrative overhead. What is the most efficient approach?

A. Create a custom role with Compute Engine, Cloud Functions, and Cloud SQL permissions within a single project. Copy this role to all other projects using the `gcloud iam roles copy` command and then assign it to developers in each project.
B. Add all developers to a Google group in Cloud Identity. Create a custom role at the Google Cloud organization level that includes permissions for Compute Engine, Cloud Functions, and Cloud SQL. Assign this custom role to the Google group.
C. Add all developers to a Google group in Cloud Identity. Assign predefined roles for Compute Engine, Cloud Functions, and Cloud SQL permissions to the Google group for each individual project within the Google Cloud organization.
D. Add all developers to a Google group in Google Groups for Workspace. Assign the predefined role of Compute Admin to this Google group at the Google Cloud organization level.
Back to gcp-ace 50 questions - page 9 of 10