Recall & Review
beginner
What is SSH access in Google Cloud Platform (GCP)?
SSH access allows you to securely connect to your virtual machine (VM) instances in GCP using a command-line interface over the internet or internal network.
Click to reveal answer
beginner
What role does metadata play in managing SSH access on GCP VM instances?
Metadata stores SSH keys and other configuration data that GCP uses to control access and settings for VM instances.
Click to reveal answer
intermediate
How can you add an SSH key to a GCP VM instance using metadata?
You add the SSH public key to the instance or project metadata under the 'ssh-keys' entry, allowing the corresponding private key holder to connect.
Click to reveal answer
intermediate
What is the difference between project-wide and instance-level SSH keys in GCP metadata?
Project-wide SSH keys apply to all VM instances in the project, while instance-level keys apply only to a specific VM instance.
Click to reveal answer
beginner
Why is it important to manage SSH keys carefully in GCP metadata?
Because SSH keys control who can access your VMs, managing them carefully helps keep your cloud resources secure and prevents unauthorized access.
Click to reveal answer
Where do you add SSH keys to allow access to all VM instances in a GCP project?
✗ Incorrect
Adding SSH keys to the project-wide metadata under 'ssh-keys' allows access to all VM instances in that project.
What does SSH stand for?
✗ Incorrect
SSH stands for Secure Shell, a protocol for secure remote login and other secure network services.
If you want to restrict SSH access to only one VM instance, where should you add the SSH key?
✗ Incorrect
Adding SSH keys to the instance-level metadata restricts access to that specific VM instance only.
What is the purpose of the SSH public key in GCP metadata?
✗ Incorrect
The SSH public key identifies the user who is allowed to connect securely to the VM instance.
Which of the following is NOT a recommended practice for SSH key management in GCP?
✗ Incorrect
Sharing private SSH keys is insecure and not recommended; private keys should be kept secret.
Explain how SSH access is controlled using metadata in GCP.
Think about where SSH keys are stored and how they grant access.
You got /3 concepts.
Describe best practices for managing SSH keys in GCP metadata to keep your VMs secure.
Consider security steps to prevent unauthorized access.
You got /4 concepts.