Google CloudFree levelPage 3 of 4

Google Associate Cloud Engineer exam dumps: questions 201 to 300 of 374

Page 3 of the free Google Associate Cloud Engineer question bank for the Associate Cloud Engineer exam. Questions 201 to 300 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 201 to 205 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 201

Single answerGoogle Cloud Platform

You are managing a Kubernetes Engine cluster in Google Cloud Platform and need to ensure that certain workloads can only run on nodes with specific hardware configurations. How can you achieve this using node pools?

  1. A

    A. Use node taints and tolerations to ensure workloads are scheduled on the correct nodes.

  2. B

    B. Create separate node pools with specific machine types and use node selectors in your pod specifications.

  3. C

    C. Use Cloud Functions to automatically move workloads to the desired node pool.

  4. D

    D. Configure a regional cluster to automatically distribute workloads across node pools with different configurations.

Show answer and explanation

Correct answer: B

Explanation

To ensure workloads run on nodes with specific hardware configurations, you can create separate node pools with the desired machine types and use node selectors in your pod specifications to target pods to the appropriate nodes. This is a common practice in Kubernetes Engine to manage workloads efficiently based on hardware requirements.

  • A. Incorrect.

    A. Node taints and tolerations are used to repel workloads from specific nodes, rather than ensuring they run on nodes with specific configurations.

  • B. Correct.

    B. Creating separate node pools with specific machine types and using node selectors in your pod specifications allows you to target workloads to nodes with specific configurations.

  • C. Incorrect.

    C. Cloud Functions cannot be used to move workloads between node pools automatically.

  • D. Incorrect.

    D. Configuring a regional cluster does not affect how workloads are scheduled across node pools; it is for high availability and disaster recovery.

Google Associate Cloud Engineer Question 202

Select 3Google Cloud Platform

You are managing a Google Kubernetes Engine (GKE) cluster for a web application that experiences fluctuating traffic. To optimize resource utilization and cost, you decide to create a new node pool with autoscaling enabled. Which of the following actions should you take to configure autoscaling for the new node pool in GKE?

  1. A

    A. Use the gcloud command-line tool to create a node pool with the --enable-autoscaling flag.

  2. B

    B. Set the minimum and maximum number of nodes using the --max-nodes and --min-nodes flags during node pool creation.

  3. C

    C. Enable autoscaling from the GKE console by navigating to the cluster details page and selecting 'Edit' on the desired node pool.

  4. D

    D. Configure autoscaling policies in the Kubernetes Deployment specifications.

  5. E

    E. Use the Google Cloud Console to resize the node pool manually as traffic increases.

Show answer and explanation

Correct answers: A, B, C

Explanation

To configure autoscaling for a node pool in GKE, you can use the gcloud command-line tool with the appropriate flags or enable it through the GKE console. Autoscaling requires setting minimum and maximum node limits to manage resources effectively as demand fluctuates. Configurations at the deployment level or manual resizing do not constitute autoscaling.

  • A. Correct.

    A. Correct. Using the gcloud command-line tool with the --enable-autoscaling flag is one way to enable autoscaling for a node pool in GKE.

  • B. Correct.

    B. Correct. Setting the --min-nodes and --max-nodes flags determines the range within which the autoscaler can adjust the number of nodes.

  • C. Correct.

    C. Correct. Autoscaling can also be enabled and configured through the GKE console by editing the node pool settings.

  • D. Incorrect.

    D. Incorrect. Autoscaling policies are set at the node pool level, not within individual Kubernetes Deployments.

  • E. Incorrect.

    E. Incorrect. Manually resizing the node pool does not configure autoscaling; it requires automatic scaling configurations.

Google Associate Cloud Engineer Question 203

Select 2Google Cloud Platform

You are managing a Google Kubernetes Engine (GKE) cluster and need to upgrade a node pool to use a newer version of Kubernetes. Which of the following steps should you take to perform a rolling upgrade of the node pool without causing downtime for your workloads?

  1. A

    Use the gcloud container clusters upgrade command to upgrade the entire cluster, including all node pools.

  2. B

    Drain the nodes in the node pool to ensure workloads are scheduled onto other nodes before upgrading.

  3. C

    Use the gcloud container node-pools upgrade command to upgrade the specific node pool.

  4. D

    Delete the existing node pool and create a new node pool with the desired Kubernetes version.

  5. E

    Ensure that cluster autoscaler is enabled to automatically adjust the size of the node pool during the upgrade.

Show answer and explanation

Correct answers: B, C

Explanation

To perform a rolling upgrade of a node pool in GKE without causing downtime, you should drain the nodes to ensure workloads are safely rescheduled and use the gcloud container node-pools upgrade command to upgrade the node pool to the desired Kubernetes version. This approach allows for a controlled upgrade process, maintaining high availability of the cluster.

  • A. Incorrect.

    This option upgrades the entire cluster, which might not be necessary if you only want to upgrade a specific node pool.

  • B. Correct.

    Draining nodes ensures that workloads are safely evicted and rescheduled, minimizing downtime during the upgrade process.

  • C. Correct.

    This command upgrades the specified node pool and is the recommended approach for upgrading node pools without affecting other parts of the cluster.

  • D. Incorrect.

    Deleting and recreating a node pool can cause downtime and data loss if not done carefully, and is not the recommended way to upgrade a node pool.

  • E. Incorrect.

    While the cluster autoscaler can help manage node resources, it is not directly involved in the node pool upgrade process.

Google Associate Cloud Engineer Question 204

Select 3Google Cloud Platform

You are managing a Kubernetes cluster on Google Kubernetes Engine (GKE) and are tasked with optimizing resource usage for workloads that require different machine types. You decide to create a new node pool. Which of the following actions are necessary to correctly set up and utilize multiple node pools in your GKE cluster?

  1. A

    A. Specify the machine type for the new node pool during its creation.

  2. B

    B. Migrate existing workloads automatically to the new node pool without intervention.

  3. C

    C. Assign node selectors in your Pod specifications to target specific node pools.

  4. D

    D. Use taints and tolerations to schedule certain workloads to the new node pool.

  5. E

    E. Enable auto-repair and auto-upgrade for the new node pool explicitly.

Show answer and explanation

Correct answers: A, C, D

Explanation

To effectively use multiple node pools in a GKE cluster, you must specify the machine type during node pool creation to ensure it meets workload requirements. You also need to use Kubernetes features like node selectors, taints, and tolerations to manage workload placement across different node pools. These features allow you to optimize and segregate workloads based on their resource needs, ensuring efficient use of the cluster's resources.

  • A. Correct.

    A. Correct. When creating a new node pool, specifying the machine type is crucial as it determines the resource characteristics of the nodes within that pool.

  • B. Incorrect.

    B. Incorrect. Existing workloads do not automatically migrate to new node pools. You need to update the workload configurations to target the new node pool.

  • C. Correct.

    C. Correct. Using node selectors in your Pod specifications allows you to direct workloads to specific node pools by matching node labels.

  • D. Correct.

    D. Correct. Taints and tolerations are used to manage which workloads can be scheduled onto particular nodes, allowing you to control workload placement in the new node pool.

  • E. Incorrect.

    E. Incorrect. While enabling auto-repair and auto-upgrade is a best practice, it is not specifically necessary to utilize multiple node pools. These are management features independent of node pool usage.

Google Associate Cloud Engineer Question 205

Select 3Google Cloud Platform

You are tasked with deploying a stateless application on Google Kubernetes Engine (GKE) and ensuring that it scales automatically based on CPU utilization. Which steps should you take to achieve this?

  1. A

    Create a Deployment object to manage the application pods.

  2. B

    Configure a Horizontal Pod Autoscaler (HPA) based on CPU utilization.

  3. C

    Use a StatefulSet to manage the application pods.

  4. D

    Set up a LoadBalancer service to expose the application to the internet.

  5. E

    Configure a Cluster Autoscaler to adjust the number of nodes in the cluster.

Show answer and explanation

Correct answers: A, B, D

Explanation

To deploy a stateless application on GKE that scales based on CPU utilization, you should create a Deployment to manage the application pods and a Horizontal Pod Autoscaler to adjust the number of pods based on CPU usage. Additionally, using a LoadBalancer service is essential for exposing the application to external traffic. A StatefulSet is not needed for stateless applications, and while Cluster Autoscaler helps with node scaling, it is not directly related to pod scaling based on CPU utilization.

  • A. Correct.

    A Deployment object is used to manage stateless applications and ensures that the specified number of pod replicas are running.

  • B. Correct.

    A Horizontal Pod Autoscaler automatically adjusts the number of pods in a Deployment based on observed CPU utilization or other select metrics.

  • C. Incorrect.

    A StatefulSet is used for stateful applications requiring stable, unique pod identifiers and persistent storage, not typically used for stateless applications.

  • D. Correct.

    A LoadBalancer service type exposes the application to the internet and distributes traffic across the pods, which is often necessary for web applications.

  • E. Incorrect.

    Cluster Autoscaler adjusts the number of nodes in the cluster but is not directly involved in scaling the number of application pods based on CPU utilization.

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 201 to 300 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. 201.You are managing a Kubernetes Engine cluster in Google Cloud Platform and need to ensure that certain...
  2. 202.You are managing a Google Kubernetes Engine (GKE) cluster for a web application that experiences fluctuating...
  3. 203.You are managing a Google Kubernetes Engine (GKE) cluster and need to upgrade a node pool to use a newer...
  4. 204.You are managing a Kubernetes cluster on Google Kubernetes Engine (GKE) and are tasked with optimizing...
  5. 205.You are tasked with deploying a stateless application on Google Kubernetes Engine (GKE) and ensuring that it...
  6. 206.You are tasked with deploying a stateless application on Google Kubernetes Engine (GKE) that needs to scale...
  7. 207.You are tasked with deploying a new microservice application on Google Kubernetes Engine (GKE). The...
  8. 208.You are tasked with deploying a new application on Google Kubernetes Engine (GKE) and need to ensure that it...
  9. 209.You are managing a Google Kubernetes Engine (GKE) cluster and want to deploy a new application using a...
  10. 210.You are managing a web application hosted on Google Cloud Platform. The application experiences varying loads...
  11. 211.You are managing an e-commerce application deployed on Google Cloud Platform. The application experiences...
  12. 212.Your company runs an e-commerce application on Google Cloud Platform using a managed instance group. You...
  13. 213.You manage an application hosted on Google Kubernetes Engine (GKE) that experiences fluctuating loads...
  14. 214.You are managing a web application deployed on Google Kubernetes Engine (GKE) that experiences fluctuating...
  15. 215.You are managing a Cloud Run application that requires zero downtime during new version deployments. Which of...
  16. 216.You are managing a Cloud Run service for your company, and a new version of the application needs to be...
  17. 217.You are tasked with deploying a new version of your application on Cloud Run. The application is currently...
  18. 218.You are managing a Cloud Run service called 'web-app' in a Google Cloud Platform project. You need to deploy...
  19. 219.You are managing a Cloud Run service and need to deploy a new version of your application with zero downtime....
  20. 220.Your team has just deployed a new version of a web application on Google App Engine and wants to perform a...
  21. 221.You are managing an application deployed on Google App Engine. You want to gradually roll out a new version...
  22. 222.As a Google Cloud Associate Cloud Engineer, you are tasked with deploying a new version of a web application...
  23. 223.You are managing a web application running on Google App Engine. Your team has deployed a new version of the...
  24. 224.You are deploying a new version of your application on Google App Engine and want to gradually shift traffic...
  25. 225.As a Google Cloud Associate Cloud Engineer, you have been tasked with configuring an autoscaling policy for a...
  26. 226.You are managing an application on Google Cloud Platform that experiences unpredictable traffic spikes. To...
  27. 227.You are tasked with setting up an autoscaling instance group for your company's web application running on...
  28. 228.As a Google Cloud Associate Cloud Engineer, you are tasked with setting up an autoscaling configuration for...
  29. 229.You are managing a web application hosted on Google Cloud Platform that experiences fluctuating traffic...
  30. 230.You are a Cloud Engineer tasked with securing sensitive images stored in a Cloud Storage bucket. Your...
  31. 231.You are tasked with securing sensitive data stored in a Google Cloud Storage bucket. You need to ensure that...
  32. 232.You are tasked with ensuring that objects in your Google Cloud Storage bucket are protected from accidental...
  33. 233.You are tasked with setting up a Google Cloud Storage bucket to store confidential business documents. The...
  34. 234.You are managing a Google Cloud Storage bucket that contains sensitive financial data. To ensure data...
  35. 235.As a Google Cloud Associate Cloud Engineer, you have been tasked with setting up a lifecycle management...
  36. 236.As a Google Cloud Engineer, you are tasked with setting up a lifecycle management policy for a Cloud Storage...
  37. 237.You are managing a Cloud Storage bucket that stores log files. To optimize storage costs, you want to...
  38. 238.You are tasked with setting up an object lifecycle management policy for a Cloud Storage bucket in your...
  39. 239.You are managing a Google Cloud Storage bucket that contains log files generated by your application. To...
  40. 240.You are working as a Google Cloud Engineer for a company that stores customer data in a Google Cloud SQL...
  41. 241.As a Google Cloud Engineer, you are tasked with executing queries on a dataset stored in BigQuery to generate...
  42. 242.As a Google Certified Associate Cloud Engineer, you are tasked with retrieving data from a Cloud SQL instance...
  43. 243.As a Google Cloud Associate Cloud Engineer, you need to retrieve data from a Cloud SQL instance using a SQL...
  44. 244.You are working as a Google Cloud Engineer and need to retrieve data from a Cloud SQL instance that contains...
  45. 245.You are managing a project that requires storing a large amount of data which is accessed infrequently. Your...
  46. 246.You are tasked with estimating the monthly cost of storing 10 TB of data in Google Cloud Storage. The data is...
  47. 247.You are tasked with estimating the monthly costs for storing 10 TB of data in Google Cloud Storage. The data...
  48. 248.You are tasked with estimating the costs for storing data in Google Cloud Storage for your company’s new...
  49. 249.You are a Google Cloud Engineer tasked with estimating the monthly cost of storing 10 TB of data in Google...
  50. 250.You are managing a MySQL database instance on Google Cloud SQL. The database is critical for your...
  51. 251.You are managing a MySQL database instance on Google Cloud SQL for your company's e-commerce application. To...
  52. 252.You are managing a Cloud SQL instance running MySQL on Google Cloud Platform. Your organization requires that...
  53. 253.As a Google Cloud Associate Cloud Engineer, you need to ensure your Cloud SQL for PostgreSQL database...
  54. 254.Your team is managing a MySQL database instance on Google Cloud SQL that is critical for your business...
  55. 255.You are a Google Cloud Engineer responsible for managing data processing jobs in BigQuery. One of your team...
  56. 256.You are a Google Cloud Engineer managing a data processing pipeline using Dataflow. You want to review the...
  57. 257.You are a Google Cloud Engineer responsible for managing several data processing jobs running on Google Cloud...
  58. 258.You are a Google Cloud Associate Cloud Engineer managing a series of data processing jobs on Google Cloud...
  59. 259.You are managing a data processing workflow using Google Cloud Composer. One of the tasks in your Directed...
  60. 260.You are tasked with adding a new subnet to an existing VPC in Google Cloud Platform. The VPC already has one...
  61. 261.You are a cloud engineer managing your company's Google Cloud Platform resources. Your company has an...
  62. 262.You are tasked with adding a new subnet to an existing VPC in your company's Google Cloud Platform...
  63. 263.You are a cloud engineer tasked with adding a new subnet to an existing Virtual Private Cloud (VPC) in Google...
  64. 264.You are tasked with adding a new subnet to an existing Virtual Private Cloud (VPC) network in Google Cloud...
  65. 265.You are managing a VPC network in Google Cloud Platform and need to expand an existing subnet to accommodate...
  66. 266.You are managing a VPC network in Google Cloud and realize that the current subnet configuration will soon...
  67. 267.Your company has a VPC network in Google Cloud with a subnet that is running out of IP addresses. The subnet...
  68. 268.You are a Google Cloud Engineer managing a VPC network. You need to expand an existing subnet to accommodate...
  69. 269.You are a Google Cloud Engineer responsible for managing the network configuration for your company's cloud...
  70. 270.You are managing a Google Cloud project that hosts a web application. This application requires a consistent...
  71. 271.You are managing a Google Cloud Platform project for a company that requires a stable IP address for their...
  72. 272.Your company runs a web application on a Compute Engine instance in Google Cloud. The application requires a...
  73. 273.Your company is hosting a web application on Google Cloud Platform and requires a static external IP address...
  74. 274.You are working as a Cloud Engineer for an organization that runs several critical applications on Google...
  75. 275.Your company has a web application hosted on a Google Cloud VM instance in a private subnet. Users from the...
  76. 276.Your company has deployed a web application on Google Cloud. The application is hosted on Compute Engine...
  77. 277.You are managing a Google Cloud project for a company that has a hybrid cloud setup. The company needs to...
  78. 278.You are managing a VPC network in Google Cloud Platform that hosts a private web application. The application...
  79. 279.A company has set up a private GKE cluster in Google Cloud. The cluster nodes do not have public IP...
  80. 280.You are managing a fleet of virtual machines on Google Cloud Platform and want to ensure that you are alerted...
  81. 281.You are tasked with setting up a monitoring alert in Google Cloud Monitoring for a production application...
  82. 282.You are tasked with setting up an alerting policy in Google Cloud Monitoring to notify your team when the CPU...
  83. 283.You are a Google Cloud Engineer tasked with setting up an alerting policy in Cloud Monitoring to notify your...
  84. 284.You are responsible for managing a fleet of virtual machines on Google Cloud Platform. Your team wants to be...
  85. 285.You are tasked with creating custom metrics in Google Cloud Monitoring to track the number of HTTP requests...
  86. 286.Your company uses a custom application hosted on Google Cloud Compute Engine, and you need to monitor a...
  87. 287.You are tasked with monitoring a custom metric for the number of user logins per minute in a web application...
  88. 288.You are a Google Cloud Associate Cloud Engineer tasked with monitoring a custom application running on...
  89. 289.You are tasked with monitoring a custom business metric for your application hosted on Google Cloud. You need...
  90. 290.You are a Google Cloud Engineer tasked with setting up a logging export system for your company's Google...
  91. 291.Your company needs to export all the logs from a Google Cloud project to an external SIEM system for advanced...
  92. 292.Your company has a requirement to export logs from Google Cloud Logging to an external SIEM system for...
  93. 293.You are a Google Cloud Engineer tasked with exporting logs from Google Cloud Logging to an external system...
  94. 294.As a Google Certified Associate Cloud Engineer, you are tasked with exporting logs from Cloud Logging to an...
  95. 295.Your company has multiple projects in Google Cloud, and you want to consolidate all logs into a single log...
  96. 296.You are a Google Cloud engineer responsible for setting up logging for a new application running on Google...
  97. 297.As a Google Cloud Associate Cloud Engineer, you are tasked with setting up centralized logging for your...
  98. 298.You are a Google Cloud Engineer and your company wants to store and analyze logs from multiple projects in a...
  99. 299.You are managing a Google Cloud Platform project where you need to set up logging for multiple applications...
  100. 300.You are a Google Cloud Engineer tasked with monitoring and troubleshooting an application running on Google...