Spring Professional Certification Study Guide
Spring Professional Certification Study Guide
Spring Professional
Certification Study Guide
COMPLETED: JANUARY 2018
UPDATED & REVISED: TBA
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
OVERVIEW
This guide is designed to help you prepare for the Core Spring 5.0 certification exams. Please be aware that it
should not be used if you have attended a Core-Spring course that was using a previous version–they have their
own dedicated certification guides at http://pivotal.io/academy. At this time, previous versions are:
● CoreSpringV4.3 based on Spring 4.3
● CoreSpringV4.2 based on Spring 4.2
● CoreSpringV4.1 based on Spring 4.1
● CoreSpringV4.0 based on Spring 4.0
● CoreSpringV3.2 based on Spring 3.2
The certification exam is based on the 4-day Core Spring training and the materials provided with it are the ideal
source to use for preparation. Of course, as with any certification, the most valuable part, besides recognition, is
the learning process. Hence we encourage you to take time to experiment and follow your curiosity when
questions arise.
A 4-day course contains a lot of material. To help you focus your efforts and to know when you're ready, we've
put together this guide. The guide contains a list of topics and a list of further resources. Topics are organized by
subject area, where each topic contains a description of what you should make sure you know.
The list of topics can be used as a check-list. The training materials can be used as a point of reference and as a
learning ground. The list of resources is where you can go further for getting answers. Everything in the exam is
covered somewhere in the course notes.
One possible way to prepare is to do the following for a given training module:
1. Review the slides, making notes of questions
2. Work through the labs
3. Review the list of topics that matches to the module by subject area
4. Use the lab to experiment with anything you need to spend more time on
5. Use the provided list of resources to look for further answers
6. Reading (at least partially) the reference documentation
7. Memorize the "big pictures", tables, overviews, etc
Of course there are many more ways to organize your efforts. You can pair up with someone else planning to
take the exam or review all presentations for a given subject area before going through the labs. Or maybe you
have access to actual applications you can review to test your knowledge.
Please keep in mind that you are expected to have good working knowledge of all the topics listed. Most of the
questions will be very general, however you will be asked a few advanced questions.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
LOGISTICS
When you are ready to test and validate your product knowledge, please visit pivotal.io/training/certification to
purchase an industry-recognized Pivotal certification exam.
Pivotal partners with Exams Local to remotely proctor our exams. Our certification exams may be taken from a
location of your choosing anywhere in the world provided you can meet the basic system and test environment
requirements and have a valid form of photo identification.
For help with your exam purchase, exam registration process, credentials verification, or other questions related
to our certification program, process, and procedures, please contact us at [email protected].
THE EXAM
The exam itself is a computer-based exam. The exam software first gives you some general instructions: how to
navigate, how to mark a question, and so forth - please read it carefully.
Once you have agreed that you want to start, you have 90 minutes to answer 50 multiple choice questions. You
must answer 38 questions correctly (76%) in order to pass the exam.
Basic exam technique applies: read each question carefully and answer the question that was asked not what
you thought was asked.
ithout Spring Boot, u
In particular the questions refer to pure Spring Framework w nless the question explicitly
says Spring Boot is involved.
EXAM FAQ
IS THERE ANYTHING IN THE EXAM, WHICH WAS NOT COVERED IN THE COURSE?
Mostly no. BUT please note that @Secured and the Spring Security JSP tag library may be referenced in the
exam and are not in the main course notes.
DO I HAVE TO KNOW CLASS NAMES AND METHOD SIGNATURES?
No. We think that this is why you are using an IDE - for us it's much more important that you've understood the
concepts rather than learning API and method signatures.
DO I HAVE TO WRITE, COMPLETE OR REARRANGE SOURCE CODE?
No. The only thing you should be able to do is read a snippet of code and understand what it's doing. For
example, we might show you a class implementing a Spring callback and you will then see a couple of related
questions. We do not ask you questions on things an IDE can do for you, like checking if the code will compile.
DO I HAVE TO KNOW ANY OTHER APIS LIKE ASPECTJ EXPRESSION LANGUAGE IN DETAIL?
No. Of course you should be able to read, understand and use AspectJ expression language (pointcut
expressions) wherever it is necessary to configure Spring AOP – but this is not an exam about AspectJ.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
● What do you need to do in Spring if you would like to work with JPA?
● Are you able to participate in a given transaction in Spring while working with JPA?
● Which PlatformTransactionManager(s) can you use with JPA?
● What does @PersistenceContext do?
● What do you have to configure to use JPA with Spring? How does Spring Boot make this easier?
● What is an "instant repository"? (hint: recall Spring Data)
● How do you define an “instant” repository? Why is it an interface not a class?
● What is the naming convention for finder methods?
● How are Spring Data repositories implemented by Spring at runtime?
● What is @Query used for?
SPRING BOOT
● What is Spring Boot?
● What are the advantages of using Spring Boot?
● Why is it “opinionated”?
● How does it work? How does it know what to configure?
● What things affect what Spring Boot sets up?
● How are properties defined? Where is Spring Boot’s default property source?
● Would you recognize common Spring Boot annotations and configuration properties if you saw them in
the exam?
● What is the difference between an embedded container and a WAR?
● What embedded containers does Spring Boot support?
● What does @EnableAutoConfiguration do?
● What about @SpringBootApplication?
● Does Spring Boot do component scanning? Where does it look by default?
● What is a Spring Boot starter POM? Why is it useful?
● Spring Boot supports both Java properties and YML files. Would you recognize and
● understand them if you saw them?
● Can you control logging with Spring Boot? How?
Note that the second Spring Boot section (Going Further) is not required for this exam.
Remember: Unless a question explicitly references Spring Boot (like those in this section) you
can assume Spring Boot is n ot involved in any question.
SPRING MVC AND THE WEB LAYER
● MVC is an abbreviation for a design pattern. What does it stand for and what is the idea
● behind it?
● Do you need spring-mvc.jar in your classpath or is it part of spring-core?
● What is the DispatcherServlet and what is it used for?
● Is the DispatcherServlet instantiated via an application context?
● What is a web application context? What extra scopes does it offer?
● What is the @Controller annotation used for?
● How is an incoming request mapped to a controller and mapped to a method?
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.
RESOURCES
http://spring.io/blog
Blog: Point your favorite RSS reader or come back for detailed, quality posts by Spring developers.
http://docs.spring.io/spring/docs/current/spring-framework-reference
Reference: The reference documentation (800+ pages) is available as html pages, a single html page and as a
PDF document.
http://docs.spring.io/spring/docs/current/javadoc-api
Javadoc API
http://springbyexample.org
Spring By Example: Another good repository with good code samples is SpringByExample.
CONCLUSION
When you worked through this guide and know all the answers, we are pretty confident that you should pass the
certification. It's recommended to do it as soon as possible and we wish you good luck with it.
Thank you again for choosing Pivotal as your education partner and good luck with your projects.
If you have encountered any errors, have any suggestions or enquiries please don't hesitate to contact your
trainer or send an email to [email protected].
© Copyright 2018 Pivotal Software, Inc. All rights Reserved.