Hello Raghavendra,
I revised the older version of the book following the list of official topica published here:
https://pivotal.io/training/certification/spring-professional-certification
There will also be a mock exam available on the official GitHub repo for the book.
The exam is a little bit difficult without participating to an official course. But it is not impossible. I have received emails from people that have passed the Spring 5 certification exam by working with my previous book(which was writen for Spring 4) and filling up the gaps using the official Spring Documentation reference.
I can confidently assume at this point the 2nd edition of the book, written for Spring 5 will be even more helpful.
As for the XML part, I removed most of it in the 2nd revision. I kept just enough to allow a smooth transition into full
Java Configurations.
The previous edition of the book does not cover Spring 5 unfortunately, because it was released for Spring 4.3.(and Spring 5 was not released until a year later). What you can do is complement your learning process by following the official blog of Spring and the official Spring Reference documentation and it should be ok. Also, you can download study guide from the Pivotal site:
https://pivotal.io/training/certification and follow them and retrieve the information yourself from the official documentation.
It all depends on the time you are willing to invest. The 2nd edition of the book might help you reduce the amount of invested time. But if you have already prepared using the previous edition of the book, it might be easier to just fill in the gaps using public documentation.
Just, check how confident you are in your understanding of Spring so far and take the leap. You've got this!
Cheers!