CompTIA Exam Questions

Which of the following is the BEST command to use to update all of the existing RPMs on a server wit

An update CD-ROM for a distribution contains the latest RPMs for all packages that they provide. Which of the following is the BEST command to use to update all of the existing RPMs on a server without making any other changes?

A.
rpm -i /mnt/cdrom/RPMS/*.rpm

B.
rpm -update /mnt/cdrom/RPMS/*.rpm

C.
rpm –update /mnt/cdrom/RPMS/*.rpm

D.
rpm -F /mnt/cdrom/RPMS/*.rpm