Can I add an exemption on DontDestroyOnLoad?

I am currently using DontDestroyOnLoad on my game objects. However, can I add an exemption to this? Like a particular game object will be destroyed?

I don’t really understand the question…

Any object that you don’t add DontDestroyOnLoad to will be removed during the changing of scenes.
If you need to control which objects aren’t destroyed, just add a script with DontDestroyOnLoad on the Awake function, and attach that script to any gameObject you wish to preserve across scenes.