nerdexam
CompTIA

XK0-005 · Question #327

A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity. Which of the following can be used to allow…

The correct answer is C. Remote SSH port forwarding. Remote SSH port forwarding can create a secure tunnel from a server to an administrator's desktop, allowing the server to access internet resources like package repositories through the desktop's connection.

System Management

Question

A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity. Which of the following can be used to allow the server to connect to the Internet through the systems administrator’s desktop?

Options

  • ALocal package repository
  • BUUCP
  • CRemote SSH port forwarding
  • DX11 forwarding

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    3% (1)
  • C
    77% (23)
  • D
    7% (2)

Why each option

Remote SSH port forwarding can create a secure tunnel from a server to an administrator's desktop, allowing the server to access internet resources like package repositories through the desktop's connection.

ALocal package repository

A local package repository stores packages directly on the internal network but does not provide a mechanism for the server to access external Internet repositories itself.

BUUCP

UUCP (Unix-to-Unix Copy Protocol) is an old suite of programs for remote communication and file transfer, not typically used for modern internet proxying or package repository access.

CRemote SSH port forwardingCorrect

Remote SSH port forwarding establishes a secure tunnel where the administrator's desktop (client) forwards a local port to a remote port on the server. This setup allows the server, lacking direct internet access, to proxy its internet traffic through the SSH tunnel on the administrator's internet-connected desktop, enabling access to internet-based repositories.

DX11 forwarding

X11 forwarding allows graphical applications running on the server to display on the client desktop, but it does not provide a general-purpose internet connection for the server.

Concept tested: SSH port forwarding, Network proxying

Source: https://www.ssh.com/ssh/tunneling/example

Topics

#SSH#Port Forwarding#Network Connectivity#Package Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice