Google CloudFree levelPage 4 of 4

Google Associate Cloud Engineer exam dumps: questions 301 to 374 of 374

Page 4 of the free Google Associate Cloud Engineer question bank for the Associate Cloud Engineer exam. Questions 301 to 374 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated April 2025

Free Google Associate Cloud Engineer practice questions

Questions 301 to 305 of 374

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Google Associate Cloud Engineer Question 301

Single answerGoogle Cloud Platform

As a Google Cloud Associate Cloud Engineer, you are tasked with analyzing logs to troubleshoot an issue with a specific application running on Google Kubernetes Engine (GKE). The application logs are being collected in Google Cloud Logging. You need to filter the logs to show only the ERROR level logs for the application 'my-app'. Which of the following queries would you use in the Logs Explorer to achieve this?

  1. A

    resource.type="gke_cluster" AND labels.k8s-pod/component="my-app" AND severity="ERROR"

  2. B

    resource.type="gke_cluster" AND logName="projects/my-project/logs/my-app" AND severity="ERROR"

  3. C

    resource.type="gce_instance" AND labels.app="my-app" AND severity="ERROR"

  4. D

    resource.type="gke_cluster" AND jsonPayload.message="ERROR" AND labels.k8s-pod/component="my-app"

Show answer and explanation

Correct answer: A

Explanation

Filtering logs in Cloud Logging requires specifying the correct resource type, labels, and log level. The correct query should filter logs for the specific GKE application component by using the appropriate labels and severity level. The first option correctly uses the GKE cluster resource type, labels the application's component, and filters for the 'ERROR' severity, making it the correct choice.

  • A. Correct.

    This option correctly filters logs for the GKE cluster resource type, includes the component label specific to 'my-app', and filters for logs with severity 'ERROR'.

  • B. Incorrect.

    This option incorrectly uses the logName field, which is not specific enough to filter by log severity or application component.

  • C. Incorrect.

    This option is incorrect because it specifies the GCE instance resource type instead of GKE cluster, which doesn't match the context of the application running on GKE.

  • D. Incorrect.

    This option incorrectly uses jsonPayload.message to filter for 'ERROR'; severity should be used instead when filtering by log level.

Google Associate Cloud Engineer Question 302

Single answerGoogle Cloud Platform

As a Google Cloud Associate Cloud Engineer, you're tasked with monitoring and troubleshooting a web application running on Google Cloud. You need to filter logs to find specific error messages that occur in the Compute Engine instances running your application. Which of the following steps should you take in Google Cloud Logging to achieve this?

  1. A

    Navigate to the Logs Explorer in the Cloud Console, and use the query editor to filter logs by resource type and severity level.

  2. B

    Use the gcloud command-line tool to export all logs to a local file and manually search for errors.

  3. C

    Set up a Stackdriver Monitoring alert to automatically email you when an error message appears.

  4. D

    Navigate to the Cloud Storage browser and search for logs in your storage buckets.

Show answer and explanation

Correct answer: A

Explanation

The Logs Explorer in the Cloud Console is designed for viewing, filtering, and analyzing logs. It allows you to customize queries to filter logs based on specific criteria, such as resource type and severity, making it the most effective tool for identifying specific error messages in your application's Compute Engine logs.

  • A. Correct.

    Using the Logs Explorer in the Cloud Console, you can efficiently filter logs based on resource type, severity level, and other criteria using the query editor, which is the most direct way to find specific logs.

  • B. Incorrect.

    While the gcloud command-line tool can be used to access logs, exporting all logs to a local file is inefficient for searching specific error messages.

  • C. Incorrect.

    Stackdriver Monitoring (now part of Google Cloud Monitoring) is useful for setting up alerts, but it doesn't directly allow you to filter and view logs; instead, it's used to monitor log-based metrics.

  • D. Incorrect.

    Cloud Storage might be used for storing exported logs, but searching logs directly in Cloud Storage is not practical for filtering specific log entries like error messages.

Google Associate Cloud Engineer Question 303

Select 3Google Cloud Platform

Your team is troubleshooting a production issue in a Google Cloud Platform environment, and you need to view and filter logs from multiple services to identify the root cause. Which of the following steps can you take to effectively filter and view logs in Cloud Logging using the Logs Explorer?

  1. A

    Use the 'Basic' mode to filter logs by log name, severity, and time range.

  2. B

    Utilize the 'Advanced' mode to write queries using Logging Query Language for complex filtering.

  3. C

    Enable the Legacy Logs Viewer to access more detailed filtering options.

  4. D

    Create a custom dashboard in Cloud Monitoring to visualize the log data.

  5. E

    Set up a sink to export logs to BigQuery for detailed analysis.

Show answer and explanation

Correct answers: A, B, E

Explanation

To effectively filter and view logs in Cloud Logging, engineers should utilize the 'Basic' and 'Advanced' modes in the Logs Explorer for immediate filtering and complex query capabilities. Additionally, exporting logs to BigQuery can facilitate more detailed analysis, which is particularly useful for comprehensive troubleshooting.

  • A. Correct.

    The 'Basic' mode in Logs Explorer allows you to filter logs by specific criteria like log name, severity, and time range, which is useful for initial filtering.

  • B. Correct.

    The 'Advanced' mode in Logs Explorer allows you to use the Logging Query Language (LQL) for more detailed and complex filtering, which is essential for in-depth troubleshooting.

  • C. Incorrect.

    The Legacy Logs Viewer is deprecated and no longer provides more detailed filtering options; it's recommended to use the Logs Explorer.

  • D. Incorrect.

    While creating a custom dashboard can help visualize log data, it doesn't directly assist in filtering logs within Cloud Logging.

  • E. Correct.

    Setting up a sink to export logs to BigQuery allows for detailed analysis and querying of logs, which can be useful for complex troubleshooting scenarios.

Google Associate Cloud Engineer Question 304

Select 2Google Cloud Platform

As a Google Cloud Associate Cloud Engineer, you are tasked with troubleshooting an application running on Google Kubernetes Engine (GKE). You need to view and filter the logs to find specific error messages related to a particular microservice running in the cluster. Which of the following steps should you take in the Google Cloud Console to efficiently filter these logs?

  1. A

    Navigate to the Cloud Logging page, select the relevant GKE cluster, and use the filter bar to specify the microservice name and error severity.

  2. B

    Go to the Cloud Monitoring page, create a new dashboard, and add a log-based metric to filter the error logs.

  3. C

    Open the Cloud Logging page, click on the Logs Explorer, and use the query builder to filter logs by the microservice label and error severity.

  4. D

    Access the GKE page, select the cluster, and use the 'kubectl logs' command to filter logs by microservice and error type.

Show answer and explanation

Correct answers: A, C

Explanation

To efficiently filter logs in Google Cloud Platform, you should use the Cloud Logging interface. The Cloud Logging page and Logs Explorer are specifically designed for viewing and filtering logs. They provide tools to filter logs by various criteria, such as microservice labels and error severity, making them suitable for troubleshooting applications running in GKE.

  • A. Correct.

    This option is correct because the Cloud Logging page allows you to select specific resources and use the filter bar to narrow down logs by criteria such as microservice name and severity.

  • B. Incorrect.

    This option is incorrect because Cloud Monitoring is used for metrics and dashboards, not directly for filtering logs.

  • C. Correct.

    This option is correct as the Logs Explorer in Cloud Logging provides a query builder feature that allows for detailed filtering of logs by labels and severity.

  • D. Incorrect.

    This option is incorrect because while 'kubectl logs' can be used to view logs, it is not part of the Cloud Console and is not efficient for filtering logs at scale in the console.

Google Associate Cloud Engineer Question 305

Single answerGoogle Cloud Platform

As a Google Cloud Associate Cloud Engineer, you need to troubleshoot an issue by examining specific log entries in Cloud Logging. You are currently viewing logs in the Logs Explorer. How can you view detailed information about a specific log entry?

  1. A

    Click on the log entry to expand and view its details.

  2. B

    Use the 'View Details' button at the top of the Logs Explorer.

  3. C

    Select the log entry and click 'Details' in the sidebar.

  4. D

    Export the log to BigQuery and query for more details.

Show answer and explanation

Correct answer: A

Explanation

In the Cloud Logging interface, clicking on a specific log entry directly within the Logs Explorer will expand it, revealing detailed information such as the full message, timestamp, and any associated metadata. This is the most straightforward method for viewing detailed log information and is appropriate for troubleshooting tasks.

  • A. Correct.

    Clicking on a log entry in the Logs Explorer will expand it to show detailed information, including the log's message, timestamp, and other metadata.

  • B. Incorrect.

    There is no 'View Details' button at the top of the Logs Explorer in Cloud Logging.

  • C. Incorrect.

    The Logs Explorer does not have a 'Details' option in the sidebar for viewing specific log entry details.

  • D. Incorrect.

    While exporting logs to BigQuery is an option for detailed analysis, it is not necessary for simply viewing details of a specific log entry in the Logs Explorer.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Google Associate Cloud Engineer practice questions 301 to 374 of 374

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 4 pages of up to 100 questions.

  1. 301.As a Google Cloud Associate Cloud Engineer, you are tasked with analyzing logs to troubleshoot an issue with...
  2. 302.As a Google Cloud Associate Cloud Engineer, you're tasked with monitoring and troubleshooting a web...
  3. 303.Your team is troubleshooting a production issue in a Google Cloud Platform environment, and you need to view...
  4. 304.As a Google Cloud Associate Cloud Engineer, you are tasked with troubleshooting an application running on...
  5. 305.As a Google Cloud Associate Cloud Engineer, you need to troubleshoot an issue by examining specific log...
  6. 306.As a Google Cloud Associate Cloud Engineer, you need to investigate an error reported by your application...
  7. 307.As a Google Cloud Certified Associate Cloud Engineer, you are tasked with identifying errors in your...
  8. 308.You are a Google Cloud engineer tasked with diagnosing an issue in your cloud application. You need to view...
  9. 309.You are tasked with troubleshooting a specific issue in your application running on Google Cloud Platform....
  10. 310.Your team has deployed a web application on Google Cloud using Google Kubernetes Engine (GKE). Users report...
  11. 311.Your team has deployed a web application on Google Cloud Platform using Google Kubernetes Engine (GKE). Users...
  12. 312.Your team is experiencing latency issues with a web application deployed on Google Cloud. You suspect that...
  13. 313.You are a Google Cloud Associate Cloud Engineer tasked with diagnosing an issue in a web application hosted...
  14. 314.You are a Google Cloud Associate Cloud Engineer responsible for maintaining a web application running on...
  15. 315.As a Google Cloud Associate Cloud Engineer, you are tasked with monitoring the status of Google Cloud...
  16. 316.As an Associate Cloud Engineer, you need to verify if a downtime experienced by your application hosted on...
  17. 317.As a Google Cloud Associate Cloud Engineer, you need to monitor the status of Google Cloud services to ensure...
  18. 318.You are an Associate Cloud Engineer responsible for maintaining the uptime of your company's applications...
  19. 319.As a Google Cloud Associate Cloud Engineer, you are responsible for ensuring the smooth operation of your...
  20. 320.You are tasked with deploying the Ops Agent on multiple Compute Engine instances to collect both metrics and...
  21. 321.You are tasked with deploying the Ops Agent on multiple Compute Engine instances for centralized logging and...
  22. 322.You are tasked with deploying the Ops Agent on a group of Compute Engine instances in your Google Cloud...
  23. 323.You are tasked with configuring the Ops Agent on several Compute Engine instances to collect both logs and...
  24. 324.You are tasked with deploying the Ops Agent on a Compute Engine instance to collect both metrics and logs for...
  25. 325.You are tasked with deploying Google's Managed Service for Prometheus to monitor a Kubernetes cluster running...
  26. 326.You are tasked with setting up Google Cloud Managed Service for Prometheus to monitor your Kubernetes...
  27. 327.You are tasked with deploying Google Cloud Managed Service for Prometheus to monitor your application running...
  28. 328.You are tasked with setting up Google Cloud Managed Service for Prometheus to monitor your Kubernetes cluster...
  29. 329.You are tasked with deploying Google Cloud Managed Service for Prometheus to monitor your application running...
  30. 330.You are a Google Cloud Engineer responsible for ensuring compliance and security within your organization's...
  31. 331.You are a Google Cloud Engineer responsible for managing the audit logs for a project in Google Cloud...
  32. 332.You are a Google Cloud Engineer responsible for setting up audit logging for a new project in Google Cloud...
  33. 333.Your organization has recently adopted Google Cloud Platform and requires detailed logging of all...
  34. 334.As a Google Cloud Associate Cloud Engineer, you are tasked with ensuring that all administrative actions on...
  35. 335.As a Google Cloud Associate Cloud Engineer, you are tasked with granting a new developer read access to a...
  36. 336.You have been tasked with assigning specific permissions to a user in your Google Cloud project. The user...
  37. 337.You are a Google Cloud Engineer tasked with granting a new team member access to manage Compute Engine...
  38. 338.You are tasked with granting a team of data analysts the ability to view BigQuery datasets but not modify...
  39. 339.As a Google Cloud Associate Cloud Engineer, you need to ensure that a new team member can deploy applications...
  40. 340.You are a Google Cloud Engineer tasked with setting up Identity and Access Management (IAM) for a new...
  41. 341.You are a Google Cloud Associate Cloud Engineer tasked with ensuring that your development team has the...
  42. 342.You are the Google Cloud administrator for your organization. The security team has requested that a new IAM...
  43. 343.You are a Google Cloud Associate Cloud Engineer tasked with setting up access controls for a new project. The...
  44. 344.You are tasked with setting up access controls for a new project on Google Cloud Platform. The project...
  45. 345.As a Google Cloud Associate Cloud Engineer, you need to create a service account for an application that will...
  46. 346.As an Associate Cloud Engineer, you need to create a new service account for a web application that requires...
  47. 347.You are tasked with setting up a new application in Google Cloud Platform (GCP) that requires access to...
  48. 348.You are configuring a new application to run on Google Cloud Platform and need to ensure it can interact with...
  49. 349.You are setting up a new project in Google Cloud Platform and need to create a service account to allow a...
  50. 350.You are tasked with setting up a Google Cloud Function that processes images uploaded to a Cloud Storage...
  51. 351.You are managing a Google Cloud project where an application running on Compute Engine needs to access...
  52. 352.You are deploying a serverless application on Google Cloud Platform using Cloud Functions. The function needs...
  53. 353.You are managing a Google Cloud project that requires a Compute Engine instance to access data stored in a...
  54. 354.You are a Google Cloud Engineer responsible for managing IAM policies for your organization's cloud...
  55. 355.You are responsible for setting up a Google Cloud environment for an application that requires frequent...
  56. 356.You have a Compute Engine instance that needs to access data stored in Google Cloud Storage. Which of the...
  57. 357.You are deploying a new application on Google Kubernetes Engine (GKE) that requires access to Cloud Storage...
  58. 358.You are setting up a Google Cloud environment where a Compute Engine instance needs to access data stored in...
  59. 359.You are managing a Google Cloud project where different services need to interact securely. You have created...
  60. 360.You are asked to set up a new service account in your Google Cloud project for an application that will...
  61. 361.You are managing a Google Cloud project where a service account needs to be granted specific permissions to...
  62. 362.You are managing a Google Cloud project and need to ensure that a specific service account can only access...
  63. 363.You are managing a Google Cloud environment and need to ensure that a Compute Engine instance can write logs...
  64. 364.You have a Google Cloud project where a service account is used by several Compute Engine instances to access...
  65. 365.You are managing a Google Cloud project and need to set up service account impersonation for a new...
  66. 366.You are managing a Google Cloud Platform project and need a Compute Engine instance to write logs to a Cloud...
  67. 367.Your company uses Google Cloud Platform and has several services that need to interact securely. To achieve...
  68. 368.You are tasked with setting up a Google Cloud environment where a Compute Engine VM needs to access a Cloud...
  69. 369.Your company has a Google Cloud project where a Compute Engine VM needs to access a specific bucket in Cloud...
  70. 370.You are a Google Cloud Engineer tasked with creating short-lived service account credentials for a deployment...
  71. 371.As a Google Cloud Associate Cloud Engineer, you are tasked with enabling a microservice running on Google...
  72. 372.You are tasked with setting up a secure environment on Google Cloud Platform where your application needs to...
  73. 373.You are working as a Cloud Engineer for a company that uses Google Cloud Platform. Your team needs to create...
  74. 374.As a Google Cloud Associate Cloud Engineer, you need to generate short-lived credentials for a service...