Google Cloud Associate Cloud Engineer — Question 236

You have deployed an application on a Compute Engine instance. An external consultant needs to access the Linux-based instance. The consultant is connected to your corporate network through a VPN connection, but the consultant has no Google account. What should you do?

Answer options

Correct answer: C

Explanation

Option C is correct because it involves the consultant generating an SSH key pair and you adding the public key to the instance, allowing for secure access. Option A is incorrect as Identity-Aware Proxy requires a Google account. Option B is wrong because using a public IP for SSH access without proper key management is less secure. Option D is incorrect because sharing a private key is a security risk and not how SSH is designed to work.