NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

Hello. I am trying to install the NVIDIA drivers on a RHEL 8.10 EC2 in AWS. After following the documentation found here, when running nvidia-smi, I am getting the following error: NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. All of the installation commands seemed to have completed successfully.

Any suggestions on what might be the cause of the issue?

nvidia-bug-report.log (264.9 KB)

I have compared the NVIDIA related installed packages from a working system and non-working system and they are near identical.
packages_notworking.log (143.4 KB)
packages_working.log (79.4 KB)