Google CloudFree levelPage 2 of 4

Google Associate Cloud Engineer exam dumps: questions 101 to 200 of 374

Page 2 of the free Google Associate Cloud Engineer question bank for the Associate Cloud Engineer exam. Questions 101 to 200 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 101 to 105 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 101

Select 2Google Cloud Platform

You are managing a Google Cloud project, and you want to ensure that all VM instances use OS Login for better security and centralized access management. What steps should you take to enable OS Login for the VM instances in your project?

  1. A

    A. Enable the 'Enable OS Login' metadata key at the project level.

  2. B

    B. Set the 'Enable OS Login' metadata key at the instance level for each VM.

  3. C

    C. Grant the 'roles/compute.osLogin' IAM role to users who need SSH access.

  4. D

    D. Enable the 'Enable OS Login' feature in the VM instance's network settings.

Show answer and explanation

Correct answers: A, C

Explanation

To enable OS Login across all VM instances in a Google Cloud project, you should enable it at the project level using the metadata key 'Enable OS Login'. This ensures a consistent configuration across all instances. Additionally, you must assign the appropriate IAM roles to users to allow them access via OS Login. This provides a centralized way to manage SSH access and enhances security by tying access to IAM identities.

  • A. Correct.

    A. Correct. Enabling the 'Enable OS Login' metadata key at the project level applies OS Login to all instances within the project.

  • B. Incorrect.

    B. Incorrect. Setting the metadata key at the instance level is not necessary if it is already set at the project level. It's redundant for enabling OS Login for all instances.

  • C. Correct.

    C. Correct. Granting the 'roles/compute.osLogin' IAM role to users allows them to use OS Login for SSH access.

  • D. Incorrect.

    D. Incorrect. OS Login is not enabled through network settings of the VM instance; it's managed via IAM roles and metadata.

Google Associate Cloud Engineer Question 102

Select 3Google Cloud Platform

You are a Google Cloud Engineer tasked with ensuring secure and centralized management of SSH access to your organization's Compute Engine instances. You have decided to use OS Login. What steps should you take to enable OS Login on your instances?

  1. A

    A) Enable OS Login in the project metadata settings.

  2. B

    B) Enable OS Login in the instance metadata settings.

  3. C

    C) Assign the roles/compute.osLogin role to users or groups in IAM.

  4. D

    D) Configure a startup script to enable OS Login on each instance.

  5. E

    E) Ensure that your users have Google accounts with enabled 2-step verification.

Show answer and explanation

Correct answers: A, B, C

Explanation

To enable OS Login on Google Cloud instances, you need to modify metadata settings either at the project or instance level. This allows you to control SSH access centrally. Additionally, users or groups must have the appropriate IAM role (roles/compute.osLogin) to use OS Login, which facilitates centralized management of SSH keys. Startup scripts and 2-step verification, while valuable in other contexts, are not directly related to enabling OS Login.

  • A. Correct.

    A) Correct. Enabling OS Login at the project metadata level applies it to all instances within the project.

  • B. Correct.

    B) Correct. Enabling OS Login at the instance metadata level allows for more granular control on a per-instance basis.

  • C. Correct.

    C) Correct. Assigning roles/compute.osLogin in IAM is necessary to grant users the permissions required for OS Login.

  • D. Incorrect.

    D) Incorrect. While startup scripts can configure many instance settings, enabling OS Login is done through metadata.

  • E. Incorrect.

    E) Incorrect. While 2-step verification is beneficial for security, it is not required specifically for enabling OS Login.

Google Associate Cloud Engineer Question 103

Select 2Google Cloud Platform

You are managing a fleet of Compute Engine instances on Google Cloud Platform, and you want to configure OS Login to manage SSH access using IAM roles for your team. Which steps should you take to enable OS Login for all instances within a specific project?

  1. A

    A. Enable the 'Enable OS Login' metadata key with the value 'TRUE' on each instance.

  2. B

    B. Assign IAM roles 'roles/compute.osLogin' and 'roles/compute.osAdminLogin' to users at the project level.

  3. C

    C. Set the 'Enable-OsLogin' metadata key at the project level to 'TRUE'.

  4. D

    D. Add the OS Login-enabled users to the 'sshKeys' metadata key of each instance.

  5. E

    E. Install the OS Login agent on each instance manually.

Show answer and explanation

Correct answers: B, C

Explanation

To enable OS Login for all instances within a project, you need to set the 'Enable-OsLogin' metadata key at the project level, ensuring all instances inherit this configuration. Additionally, you must assign appropriate IAM roles such as 'roles/compute.osLogin' and 'roles/compute.osAdminLogin' to users at the project level to manage SSH access via IAM, rather than relying on SSH keys.

  • A. Incorrect.

    A. While enabling OS Login on each instance is possible, configuring it at the project level is more efficient and scalable.

  • B. Correct.

    B. Assigning IAM roles 'roles/compute.osLogin' and 'roles/compute.osAdminLogin' at the project level grants users the necessary permissions to use OS Login.

  • C. Correct.

    C. Setting the 'Enable-OsLogin' metadata key at the project level ensures that all instances within the project have OS Login enabled by default.

  • D. Incorrect.

    D. OS Login replaces the need to manage SSH keys in instance metadata, so this step is not necessary.

  • E. Incorrect.

    E. OS Login is a feature provided by Google Cloud and does not require manual installation of an agent.

Google Associate Cloud Engineer Question 104

Select 2Google Cloud Platform

As a Google Cloud Certified Associate Cloud Engineer, you are tasked with ensuring that user access to your company's VM instances is managed through Google accounts rather than using SSH keys. You decide to enable OS Login. Which of the following steps should you take to configure OS Login for your VM instances?

  1. A

    Enable OS Login in the Google Cloud Console under the 'IAM & Admin' section.

  2. B

    Set the 'enable-oslogin' metadata key to 'TRUE' on the VM instances.

  3. C

    Install the OS Login SDK on each VM instance.

  4. D

    Ensure that your users have the requisite IAM roles for OS Login access.

  5. E

    Disable all existing SSH keys for the VM instances.

Show answer and explanation

Correct answers: B, D

Explanation

To configure OS Login, you need to set the 'enable-oslogin' metadata key to 'TRUE' on the VM instances to activate OS Login. Additionally, appropriate IAM roles must be assigned to users to allow them to access the VM instances using their Google accounts. These steps ensure that access is managed through Google Cloud's IAM rather than SSH keys.

  • A. Incorrect.

    OS Login is not enabled through the 'IAM & Admin' section in the Google Cloud Console. It is configured through metadata and IAM roles.

  • B. Correct.

    Setting the 'enable-oslogin' metadata key to 'TRUE' on the VM instances is necessary to enable OS Login.

  • C. Incorrect.

    There is no need to install an OS Login SDK on the VM instances; OS Login is integrated into the metadata server.

  • D. Correct.

    Users must have the necessary IAM roles, such as 'roles/compute.osLogin' or 'roles/compute.osAdminLogin', to access VM instances using OS Login.

  • E. Incorrect.

    Disabling existing SSH keys is not required to enable OS Login. OS Login can work alongside existing SSH keys until you decide to remove the keys.

Google Associate Cloud Engineer Question 105

Select 2Google Cloud Platform

Your company uses Google Cloud Platform and wants to improve security by managing SSH access to virtual machines with OS Login. As an Associate Cloud Engineer, what steps do you need to take to enable OS Login on new instances across all projects?

  1. A

    A. Enable OS Login at the organization level using the Google Cloud Console.

  2. B

    B. Set the 'enable-oslogin' metadata to 'TRUE' on each project.

  3. C

    C. Grant the 'roles/compute.osLogin' IAM role to users who need SSH access.

  4. D

    D. Add SSH keys to VM instances manually using the Google Cloud Console.

  5. E

    E. Use gcloud command to enable OS Login on each VM instance individually.

Show answer and explanation

Correct answers: B, C

Explanation

To enable OS Login across all VM instances in a project, you should set the 'enable-oslogin' metadata key to 'TRUE' at the project level. This ensures that all instances in the project use OS Login. Additionally, users need the 'roles/compute.osLogin' IAM role to be able to access the instances using their Google account credentials. These steps centralize and streamline SSH access management, enhancing security and reducing administrative overhead.

  • A. Incorrect.

    A. OS Login cannot be enabled at the organization level directly; it is configured at the project or instance level.

  • B. Correct.

    B. Setting the 'enable-oslogin' metadata to 'TRUE' on each project enables OS Login for all VM instances within those projects.

  • C. Correct.

    C. The 'roles/compute.osLogin' IAM role must be granted to users to allow them to access instances using OS Login.

  • D. Incorrect.

    D. Manually adding SSH keys is not required with OS Login, as user access is managed through IAM roles and policies.

  • E. Incorrect.

    E. While it's possible to enable OS Login on individual instances, doing so at the project level with metadata is more efficient for all instances.

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 101 to 200 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. 101.You are managing a Google Cloud project, and you want to ensure that all VM instances use OS Login for better...
  2. 102.You are a Google Cloud Engineer tasked with ensuring secure and centralized management of SSH access to your...
  3. 103.You are managing a fleet of Compute Engine instances on Google Cloud Platform, and you want to configure OS...
  4. 104.As a Google Cloud Certified Associate Cloud Engineer, you are tasked with ensuring that user access to your...
  5. 105.Your company uses Google Cloud Platform and wants to improve security by managing SSH access to virtual...
  6. 106.You are tasked with ensuring that all virtual machines in your Google Cloud project are up-to-date with the...
  7. 107.You are tasked with ensuring that all virtual machines (VMs) in your organization's Google Cloud environment...
  8. 108.As a Google Cloud Associate Cloud Engineer, you are tasked with ensuring that all virtual machines (VMs) in...
  9. 109.You are tasked with managing a fleet of virtual machines (VMs) in Google Cloud Platform for a large...
  10. 110.You are a Google Cloud engineer responsible for managing a fleet of virtual machines (VMs) across multiple...
  11. 111.You are an Associate Cloud Engineer tasked with managing Kubernetes clusters on Google Kubernetes Engine...
  12. 112.You are working as a Google Cloud Associate Cloud Engineer. You need to install and configure the Kubernetes...
  13. 113.You are an Associate Cloud Engineer tasked with managing Kubernetes clusters on Google Kubernetes Engine...
  14. 114.As a Google Cloud Associate Cloud Engineer, you need to install and configure the Kubernetes command line...
  15. 115.You are a Google Cloud Engineer tasked with managing Kubernetes clusters on Google Kubernetes Engine (GKE)....
  16. 116.You are tasked with deploying a Google Kubernetes Engine (GKE) cluster for a development team that needs to...
  17. 117.You are tasked with deploying a Kubernetes cluster on Google Kubernetes Engine (GKE) to host a web...
  18. 118.You are tasked with deploying a Google Kubernetes Engine (GKE) cluster that needs to support both...
  19. 119.You are tasked with deploying a Google Kubernetes Engine (GKE) cluster for a new application that requires...
  20. 120.You are tasked with deploying a Google Kubernetes Engine (GKE) cluster that requires high availability and...
  21. 121.You are tasked with deploying a containerized web application on Google Kubernetes Engine (GKE). The...
  22. 122.You are tasked with deploying a containerized web application to Google Kubernetes Engine (GKE). The...
  23. 123.You are tasked with deploying a new version of a containerized web application on Google Kubernetes Engine...
  24. 124.You are tasked with deploying a containerized application on Google Kubernetes Engine (GKE). The application...
  25. 125.You are tasked with deploying a containerized web application to Google Kubernetes Engine (GKE). You have...
  26. 126.You have developed a containerized application and want to deploy it using Google Cloud Run. The application...
  27. 127.You have developed a containerized application and want to deploy it to Google Cloud Run. Which steps should...
  28. 128.You are tasked with deploying a containerized application to Cloud Run on Google Cloud. The application...
  29. 129.You are tasked with deploying a new containerized application using Cloud Run. The application requires...
  30. 130.You are tasked with deploying a new version of a containerized web application on Google Cloud Run. The...
  31. 131.You are tasked with setting up an application to receive and process Google Cloud events in real-time. Which...
  32. 132.You are tasked with deploying an application on Google Cloud Platform that needs to receive and process...
  33. 133.You are tasked with deploying an application that needs to receive and process Google Cloud events, such as...
  34. 134.You have developed an application that needs to process events from various Google Cloud services such as...
  35. 135.You are tasked with deploying an application on Google Cloud that needs to process events from various Google...
  36. 136.You are tasked with deploying a new application on Google Cloud Platform. The application is stateless,...
  37. 137.Your company is developing a new application that must process HTTP requests and run Python code in response....
  38. 138.You are tasked with deploying a new web application on Google Cloud Platform. The application needs to handle...
  39. 139.You are a cloud engineer tasked with deploying a new web application for your company. The application is...
  40. 140.You are tasked with deploying an application on Google Cloud Platform that requires low latency, scales based...
  41. 141.Your company is planning to deploy a machine learning model as a data product using Google Cloud Platform....
  42. 142.You are tasked with deploying a data product that processes and analyzes large datasets on Google Cloud...
  43. 143.You are tasked with deploying a new data analytics product on Google Cloud Platform that processes real-time...
  44. 144.You are tasked with deploying a machine learning model as a data product on Google Cloud Platform. You need...
  45. 145.As a Google Cloud Associate Cloud Engineer, you are tasked with deploying a machine learning model as a...
  46. 146.You are working as a Cloud Engineer for a retail company that needs to load customer transaction data into...
  47. 147.You are a Google Cloud Engineer tasked with loading a large CSV file into BigQuery for analysis. The file is...
  48. 148.You are tasked with loading a large CSV dataset into Google BigQuery for analysis. The data is stored in a...
  49. 149.You are tasked with loading a large dataset from a CSV file stored in Google Cloud Storage into BigQuery. The...
  50. 150.You are tasked with setting up a Virtual Private Cloud (VPC) in Google Cloud Platform for a new application...
  51. 151.As a Google Cloud Associate Cloud Engineer, you are tasked with setting up a Virtual Private Cloud (VPC)...
  52. 152.You are tasked with setting up a Virtual Private Cloud (VPC) for a new project on Google Cloud Platform. The...
  53. 153.You have been tasked with setting up a new Virtual Private Cloud (VPC) on Google Cloud Platform for a...
  54. 154.You are tasked with setting up a secure network infrastructure on Google Cloud for a new application. The...
  55. 155.Your organization has deployed a web application on Google Cloud Platform using Compute Engine instances in a...
  56. 156.You are tasked with setting up a secure network for a new application deployment on Google Cloud Platform....
  57. 157.You are tasked with securing a web application hosted on Google Cloud Platform. The application is running on...
  58. 158.You are tasked with securing the traffic to and from a VM instance in your Google Cloud Platform project. The...
  59. 159.You are managing a Google Cloud project for an e-commerce application. The application runs on a Compute...
  60. 160.As a Google Cloud Associate Cloud Engineer, you have been asked to establish a network connection between...
  61. 161.Your company has an on-premises network that needs to securely communicate with your Google Cloud VPC for a...
  62. 162.Your company has a Virtual Private Cloud (VPC) in Google Cloud and needs to establish a connection to an...
  63. 163.Your company has a hybrid cloud setup and you need to establish a connection between your on-premises network...
  64. 164.Your company has a Google Cloud VPC network that needs to communicate with an external on-premises network....
  65. 165.You are tasked with managing a large-scale application deployment on Google Cloud Platform using...
  66. 166.You are a Google Cloud Engineer tasked with setting up a production environment for a web application. The...
  67. 167.As a Google Cloud Associate Cloud Engineer, you are tasked with setting up a repeatable and scalable...
  68. 168.As a Google Cloud Associate Cloud Engineer, you are tasked with managing the infrastructure for a web...
  69. 169.You are tasked with setting up an automated infrastructure on Google Cloud Platform using Infrastructure as...
  70. 170.You are managing a Google Cloud project where you need to connect to a Compute Engine instance using SSH from...
  71. 171.You are a Google Cloud Engineer tasked with setting up secure remote access to a Compute Engine instance...
  72. 172.You are managing a set of Compute Engine instances on Google Cloud Platform. You need to connect to a...
  73. 173.You are tasked with setting up a secure method for your team to remotely connect to a Google Compute Engine...
  74. 174.You are a Google Cloud Engineer tasked with setting up a secure remote connection to a newly created Compute...
  75. 175.As a Google Cloud Engineer, you need to generate a list of all currently running virtual machines in your...
  76. 176.You are a Google Cloud Associate Cloud Engineer tasked with viewing the current inventory of running virtual...
  77. 177.As a newly hired Google Cloud Engineer, you are tasked with auditing the current running VM inventory for...
  78. 178.As a Google Cloud Associate Cloud Engineer, you need to view the list of all currently running VM instances...
  79. 179.You are a Google Cloud Associate Cloud Engineer tasked with viewing the current running VM instances in your...
  80. 180.You are tasked with setting up a backup strategy for your application running on Google Cloud Platform. Your...
  81. 181.You are tasked with creating a backup strategy for a critical application running on a Compute Engine virtual...
  82. 182.You are a Google Cloud Engineer responsible for managing your company's virtual machine instances. Recently,...
  83. 183.You are managing a cloud infrastructure on Google Cloud Platform and need to create a backup of your Compute...
  84. 184.You are an Associate Cloud Engineer managing a project that involves multiple Compute Engine instances. Your...
  85. 185.You are tasked with creating a custom VM image on Google Cloud to standardize the development environment for...
  86. 186.A company's web application is running on a Google Compute Engine instance. The engineering team wants to...
  87. 187.You are tasked with creating a custom VM image for your company's application that will be deployed across...
  88. 188.You are tasked with creating a custom machine image in Google Cloud Platform that includes specific software...
  89. 189.You are tasked with deploying a new application on Google Cloud Platform using Compute Engine instances. Your...
  90. 190.You are managing a Google Kubernetes Engine (GKE) cluster and need to view the current inventory of running...
  91. 191.You are an Associate Cloud Engineer tasked with managing your company's Google Kubernetes Engine (GKE)...
  92. 192.As a Google Certified Associate Cloud Engineer, you need to view the current running Google Kubernetes Engine...
  93. 193.You are a Google Cloud Associate Cloud Engineer tasked with auditing the current Google Kubernetes Engine...
  94. 194.As a Google Cloud Associate Cloud Engineer, you need to view the current running Google Kubernetes Engine...
  95. 195.You are tasked with configuring your Google Kubernetes Engine (GKE) cluster to pull container images from...
  96. 196.You are a Google Certified Associate Cloud Engineer tasked with setting up a Google Kubernetes Engine (GKE)...
  97. 197.You are tasked with configuring a Google Kubernetes Engine (GKE) cluster to pull container images from a...
  98. 198.You are managing a Google Kubernetes Engine (GKE) cluster and need to configure it to pull container images...
  99. 199.You are managing a Google Kubernetes Engine (GKE) cluster and want to configure it to pull container images...
  100. 200.Your company runs a Kubernetes application on Google Kubernetes Engine (GKE) and you need to create a new...