Dear Aspirant,
No, and never think this way. Both are separate boards. May be most of the syllabus is same but there can be minor changes. If you are going to give UP Board then you should check it's own syllabus and don't go after cbse. I am providing you a link which contains UP Board's class 12th syllabus.
Link: https://school.careers360.com/articles/up-board-12th-syllabus
Hope this Helps!
All the Best
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile