I also run a Nvidia Optimus system, Just this output is enough to tell me that your Nvidia dGPU is running fine.
To be sure, try to run something GPU intensive (a game or a tool, anything could do) and run nvidia-smi again, the process for whatever program you ran will appear as well.
A tip I give you is to enable runtime power management:
Read a bit of the other stuff on the same page for more info.
Just a important note, NVIDIA DOESN’T SUPPORT PRIME RENDER OFFLOAD ON WAYLAND.
It works for Xorg and Xwayland application, but it doesn’t work under Wayland.
This means that if an application tries to use the GPU under Wayland it might instantly crash (I had this issue with Cemu and yuzu, for example), the solution is to force the application to run under Xorg. The new 545 driver might have changed that, but dunno yet.