When a packet initially arrives at a switch interface, it primarily looks at the destination hardware address (MAC address) and compares it to its MAC address table (also known as the MAC database). Therefore, the correct answer is:
It looks at the destination hardware address and compares it to the MAC database.