Practice Test 4 | Google Cloud Certified Professional Cloud Network Engineer | Dumps | Mock Test
Your company has a strategy for managing its user’s access to VM using OS Login at the project level. A new administrator has deployed a new set of GCE VMs in your company’s GCP VPC and set enable-oslogin as false in the metadata of the VMs.
Given the above configuration, which of the following is true?
A. Administrators with the right IAM permissions will be able to login to VMs
B. Administrators with the right IAM permissions will be unable to login to VMs
C. Anyone with the right IAM permissions are able to login to VMs
D. The VMs would not be created because of the varying setting of OS-Login at project and instance level.
Answer: B
Option A is incorrect because administrators with the right IAM permissions would not be able to login because the instance metadata setting takes precedence.
Option B is correct, Administrators with the right IAM permissions would not be able to login because the instance metadata setting (enable-oslogin = FALSE) takes precedence. They would need SSH keys
Option C is incorrect, without SSH keys no one will be able to connect.
Option D is incorrect. The enable-oslogin does not affect the VM startup.
Reference:
Comments are closed, but trackbacks and pingbacks are open.