Google Cloud Professional Cloud Network Engineer — Question 35

You need to ensure your personal SSH key works on every instance in your project. You want to accomplish this as efficiently as possible.
What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because adding your public SSH key to the project Metadata allows it to be accessible to all instances within the project, ensuring efficiency and consistency. Options B and C require manual updates per instance or creating a new image, which is less efficient. Option D only copies the key to a single instance at a time, which does not ensure functionality across all instances.