ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - Professional Cloud Network Engineer discussion

Report
Export

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?

A.
Upload your public ssh key to the project Metadata.
Answers
A.
Upload your public ssh key to the project Metadata.
B.
Upload your public ssh key to each instance Metadata.
Answers
B.
Upload your public ssh key to each instance Metadata.
C.
Create a custom Google Compute Engine image with your public ssh key embedded.
Answers
C.
Create a custom Google Compute Engine image with your public ssh key embedded.
D.
Use gcloud compute ssh to automatically copy your public ssh key to the instance.
Answers
D.
Use gcloud compute ssh to automatically copy your public ssh key to the instance.
Suggested answer: A

Explanation:

Overview By creating and managing SSH keys, you can let users access a Linux instance through thirdparty tools. An SSH key consists of the following files: A public SSH key file that is applied to instancelevel metadata or project-wide metadata. A private SSH key file that the user stores on their local devices. If a user presents their private SSH key, they can use a third-party tool to connect to any instance that is configured with the matching public SSH key file, even if they aren't a member of your Google Cloud project. Therefore, you can control which instances a user can access by changing the public SSH key metadata for one or more instances.

https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys#addkey

asked 18/09/2024
Styliani Simoiridou
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first