Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Network Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The question asks what you should do to SSH into the instance, based on the given constraints of the SSH key mechanism. It's a test of your understanding of those specific flags. The Core Problem: The instance is explicitly configured to ignore project-wide keys. The Direct Solution: The only way to use a metadata-based SSH key is to bypass the project-level metadata and apply the key directly to the one place the instance will still look: its own instance-specific metadata. Therefore, the correct procedure, following the rules laid out in the prompt, is: Generate a new SSH key pair. Add the public key to the metadata of the specific instance you want to access. Use the corresponding private key with a tool like ssh or PuTTY to connect. This method works regardless of the IAP fallback and directly addresses the configuration that was set up.
C is correct.
C - It will allow a ssh connection on specific instance only. A- is wrong as OS login is disable.