Is a good user experience to display actions on the top of the screen on the web?

Navigation on the top of the screen is common on the web. To add actions like "Edit", "See details", "Copy" in the navbar is more specific on the desktop. Fluent UI, Sharepoint added this pattern some years ago and personally I found it very useful for intranets, internal apps. I'm aware that some users just don't use Windows (I was a lot of time just a Mac user) and they are not familiar with this pattern. What do you think, is a good user experience to display actions on the top of the screen on the web? Do you think it offers more clarity or is confusing? To be more clear, let's take as an example a table. Do you think is a good UX to display the filters and actions on the top of the screen or at the head of the table is better?

enter image description here