Marvell Technology Interview Question

How to debug if ping command fails ?