Which of the following commands should the administrator use for this task?
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository.
Which of the following commands should the administrator use for this task?
A . git reflog
B . git pull
C . git status
D . git push
Answer: B
Explanation:
The command iptables -t nat -A PREROUTING -p tcp –dport 80 -j DNAT –to-destination 192.0.2.25:3128 adds a rule to the nat table that redirects all incoming TCP packets with destination port 80 (HTTP) to the proxy server 192.0.2.25 on port 3128. This is the correct way to achieve the task. The other options are incorrect because they either delete a rule (-D), use the wrong protocol (top instead of tcp), or use the wrong port (81 instead of 80).
Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 12: Managing Network Connections, page 381.
Latest XK0-005 Dumps Valid Version with 136 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund