Does dnf work with all the latest data installed/updated got through yum?

Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes.

About package/repository management there are two options yum and dnf where the latter is preferred over the former. For academic purposes yum was used and after to read some tutorials was installed some packages through yum, therefore:

sudo yum install <packagename>

and later - with 1 day of difference - the following set of commands were executed:

     yum check-update
sudo yum update
     yum clean all 

With yum update about of 1GB of software was installed/updated according the case. And with yum clean all about 54 files were removed - of course according with that specific update - so it would vary in other point of time.

Now I want work with dnf

Question

  • Does dnf work with all the latest data installed/updated got through yum?

For this specific case, about the 1GB of software got.

Extra questions

  • Can dnf be used in peace to install/remove/update with all the same previous install/remove/update interaction of yum?
  • Can dnf be used in peace to install/remove/update with all the same future install/remove/update interaction of yum? - therefore, be able use interchangeable both commands in the future.

https://discussion.fedoraproject.org/t/why-yum-is-still-in-use-when-dnf-is-there/16835/2?u=grumpey