nerdexam
CompTIA

XK0-005 · Question #616

The application team has reported latency issues that are causing the application to crash on the Linux server. The Linux administrator starts troubleshooting and receives the following output…

The correct answer is D. # echo 'net.core.rmem_max = 12500000' >> /etc/sysctl.conf. The best command to use to improve the latency issue is D. # echo net.core.rmem max = 12500000' >> /etc/sysctl.conf # echo net.core.wmem_max = 12500000' >> /etc/sysctl.conf # sysctl -p. This command will increase the size of the receive and send buffers for the network…

Troubleshooting

Question

The application team has reported latency issues that are causing the application to crash on the Linux server. The Linux administrator starts troubleshooting and receives the following output:

Which of the following commands will improve the latency issue?

Options

  • A

    echo 'net.core.net_backlog = 5000000' >> /etc/sysctl.conf

  • B

    ifdown eth0

  • C

    systemctl stop network

  • D

    echo 'net.core.rmem_max = 12500000' >> /etc/sysctl.conf

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    9% (4)
  • C
    11% (5)
  • D
    78% (36)

Explanation

The best command to use to improve the latency issue is D. # echo net.core.rmem max = 12500000' >> /etc/sysctl.conf # echo net.core.wmem_max = 12500000' >> /etc/sysctl.conf # sysctl -p. This command will increase the size of the receive and send buffers for the network interface, which can improve the network performance and reduce packet loss. The sysctl command will apply the changes to the kernel parameters without rebooting the system. The other commands are either incorrect or not suitable for this task.

Topics

#Linux Networking#Network Performance Tuning#sysctl#Socket Buffers

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice