nerdexam
Oracle

1Z0-1067 · Question #52

You created an Oracle Linux compute Instance through the Oracle Cloud Infrastructure (OCI) management console then immediately realize you add an SSH key file. You notice that OCI compute service…

The correct answer is D. You need to modify the serial console connection string to include the identity file flag, -i to specify. The Oracle Cloud Infrastructure Compute service provides console connections that enable you to remotely troubleshoot malfunctioning instances. There are two types of instance console connections: - Serial console connections - VNC console connections Before you can connect to…

Implement OCI Monitoring and Logging

Question

You created an Oracle Linux compute Instance through the Oracle Cloud Infrastructure (OCI) management console then immediately realize you add an SSH key file. You notice that OCI compute service provides instance console connections that supports adding SSH keys for a running Instance. Hence, you created the console connection for your Linux server and activated it using the connection string provided. However, now you get' prompted for a username and password to login. What option should you recommend to add the SSH key to your running Instance, while minimizing the administrative overhead?

Options

  • AYou need to configure the boot loader to use ttyS0 as a console terminal on the VM.
  • BYou need to terminate the running instance and recreate it by providing the SSH key file.
  • CYou need to reboot the instance from the console, boot into the bash shell In maintenance mode, and
  • DYou need to modify the serial console connection string to include the identity file flag, -i to specify

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    15% (5)
  • C
    3% (1)
  • D
    76% (26)

Explanation

The Oracle Cloud Infrastructure Compute service provides console connections that enable you to remotely troubleshoot malfunctioning instances. There are two types of instance console connections: - Serial console connections - VNC console connections Before you can connect to the serial console or VNC console, you need to create the instance console After you have created the console connection for the instance, you can then connect to the serial console by using a Secure Shell (SSH) connection. When you are finished with the serial console and have terminated the SSH connection, you should delete the serial console connection. If you do not disconnect from the session, Oracle Cloud Infrastructure terminates the serial console session after 24 hours and you must reauthenticate to connect again If you are not using the default SSH key or ssh-agent, you can modify the serial console connection string to include the identity file flag, -i, to specify the SSH key to use. You must specify this for both the SSH connection and the SSH ProxyCommand, as shown in the following line: ssh -i /<path>/<ssh_key> -o ProxyCommand='ssh -i /<path>/<ssh_key> -W %h:%p -p 443

Topics

#console connections#SSH keys#serial console#instance access

Community Discussion

No community discussion yet for this question.

Full 1Z0-1067 Practice