102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 99


Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)

Show Answer
Correct Answer: CDE

To display the number of bytes transmitted and received via the eth0 network interface, you can use 'ifconfig eth0' and 'ip -s link show eth0'. The 'ifconfig' command provides detailed information about the network interfaces, including the byte counts for transmission (TX) and reception (RX) for 'eth0'. Similarly, the 'ip -s link show eth0' command gives detailed statistics for the specified network interface, including the number of bytes transmitted and received. Other presented commands do not provide this specific information or are not valid for this purpose.

Discussion

17 comments
Sign in to comment
yigidoOptions: DE
Sep 3, 2020

Correct answer is " D, E "

Erwinator
Sep 28, 2020

please proof if you say something like that

ThuanvdOptions: DE
Oct 3, 2020

[thuan@rhel7 ~]$ ip -s link show ens33 2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 00:0c:29:fa:d9:ce brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1726384 1291 0 0 0 0 TX: bytes packets errors dropped carrier collsns 26453 273 0 0 0 0 D and E correct

lucaverceOptions: DE
May 26, 2022

I have tried all the given commands: A B and C only return errors. D is correct E is correct You can try it, just change the name of the network card

jchavarria12Options: DE
Oct 21, 2020

D and E are the correct, other commands do not work: $ ifconfig enp0s3 enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 fe80::67a:5b4c:48bd:1f76 prefixlen 64 scopeid 0x20<link> ether 08:00:27:d7:92:97 txqueuelen 1000 (Ethernet) RX packets 119434 bytes 94919173 (90.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 71324 bytes 13441351 (12.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 $ ip -s link show enp0s3 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 08:00:27:d7:92:97 brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 94919173 119434 0 0 0 5430 TX: bytes packets errors dropped carrier collsns 13441351 71324 0 0 0 0 $

TheChildOptions: DE
Jan 16, 2022

Only those two commands display the number of bytes transmitted and received via the eth0 network interface. My answer its also D and E

mrh84Options: DE
Feb 10, 2022

Tested in Debian

drliu1202Options: DE
Jul 31, 2022

https://man7.org/linux/man-pages/man8/ip.8.html

Rini_GiannenzoOptions: DE
Dec 22, 2020

D e E provato su macchina virtuale todo bien aloha

CuriousLinuxCatOptions: DE
Aug 8, 2021

Agreed. The correct answer is D and E. Why? ☞ A simple entering of the commands allowed me to discern which were the correct answers. The commands on A,B,C are invalid when entered in a bash prompt running on Ubuntu 20.04.

LazylinuxOptions: DE
Apr 26, 2022

DE for sure..Just test them on any Linux distro and look for RX and TX

iwkno6Options: DE
Aug 28, 2021

D and E are correc tanswers, tested all commands on a different eth device

Cybersec1989Options: DE
Nov 5, 2022

D,E Tested on debian.

braiansieberOptions: DE
Dec 15, 2022

Tested on ubuntu

georgerobelOptions: DE
Feb 26, 2021

D & E Correct answer.

MchoetiOptions: CE
Apr 19, 2023

I would say C and E why ? Because according to the man page Replacement for netstat -i is ip -s link. https://linux.die.net/man/8/netstat

Mchoeti
Apr 19, 2023

omg.. i was wrong it is D and E because as i mentioned, C was replaced and with D you can always see the packets

fdatOptions: DE
May 8, 2023

https://man7.org/linux/man-pages/man8/ip.8.html

blk_542Options: DE
Jun 10, 2023

C shows a packet count, not byte.