ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 16 - XK0-005 discussion

Report
Export

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
Answers
A.
git reflog
B.
git pull
Answers
B.
git pull
C.
git status
Answers
C.
git status
D.
git push
Answers
D.
git push
Suggested 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.

asked 02/10/2024
himanshu deshpande
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first