Juniper Networks Interview Question

How does ping work? TCP? Three-way handshake? etc.