Spring Professional Certification Study Guide
Spring Professional Certification Study Guide
Spring Professional Certification Study Guide
Spring Professional
Certification Study Guide
Spring Professional Certification Study Guide
Table of Contents
Overview 3
Logistics 3
The Exam 4
Exam FAQs 4
Is there anything in the exam that was not covered in the course?. . . . . . . . . . . . . . . 4
Do I have to know any other APIs like AspectJ expression language in detail? . . . . . 4
Topics 5
Container, Dependency and IOC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Aspect-Oriented Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
REST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Resources 11
Conclusion 11
C E R T I F I C AT I O N S T U D Y G U I D E | 2
Spring Professional Certification Study Guide
Overview
This guide is designed to help you prepare for the Spring Professional certification exam.
Please be aware that it should not be used if you have attended a Spring Core course that
was using a previous version.
The certification exam is based on the 4-day Spring Core 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 includes 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 to
get 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:
Please keep in mind that you are expected to have a 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.
Logistics
When you are ready to test and validate your product knowledge, please visit https://
tanzu.vmware.com/training/certification to purchase an industry-recognized Spring
certification exam.
VMware partners with Pearson Vue 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].
C E R T I F I C AT I O N S T U D Y G U I D E | 3
Spring Professional Certification Study Guide
The Exam
The exam itself is computer-based. 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.
In particular, the questions refer to pure Spring Framework without Spring Boot, unless
the question explicitly says Spring Boot is involved.
Exam FAQs
Is there anything in the exam that was not covered in the course?
Mostly no.
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.
C E R T I F I C AT I O N S T U D Y G U I D E | 4
Spring Professional Certification Study Guide
Topics
The following is a list of topics, each of which is likely to have questions on the exam.
Several of the bullet points below overlap, asking the same (or a related) question in a
different way. The answer to more than one bullet point question may be the same as the
answer to another question.
C E R T I F I C AT I O N S T U D Y G U I D E | 5
Spring Professional Certification Study Guide
C E R T I F I C AT I O N S T U D Y G U I D E | 6
Spring Professional Certification Study Guide
C E R T I F I C AT I O N S T U D Y G U I D E | 7
Spring Professional Certification Study Guide
REST
• What does REST stand for?
• What is a resource?
• Is REST secure? What can you do to secure it?
• Is REST scalable and/or interoperable?
• Which HTTP methods does REST use?
• What is an HttpMessageConverter?
• Is @Controller a stereotype? Is @RestController a stereotype?
– What is a stereotype annotation? What does that mean?
• What is the difference between @Controller and @RestController?
• When do you need to use @ResponseBody?
• What are the HTTP status return codes for a successful GET, POST, PUT or DELETE
operation?
• When do you need to use @ResponseStatus?
• Where do you need to use @ResponseBody? What about @RequestBody?
• If you saw example Controller code, would you understand what it is doing? Could you
tell if it was annotated correctly?
• What Spring Boot starter would you use for a Spring REST application?
• If you saw an example using RestTemplate, would you understand what it is doing?
C E R T I F I C AT I O N S T U D Y G U I D E | 8
Spring Professional Certification Study Guide
Security
• What are authentication and authorization? Which must come first?
• Is security a cross cutting concern? How is it implemented internally?
• What is the delegating filter proxy?
• What is the security filter chain?
• What is a security context?
• What does the ** pattern in an antMatcher or mvcMatcher do?
• Why is the usage of mvcMatcher recommended over antMatcher?
• Does Spring Security support password encoding?
• Why do you need method security? What type of object is typically secured at the
method level (think of its purpose not its Java type).
• What do @PreAuthorized and @RolesAllowed do? What is the difference between them?
• How are these annotations implemented?
• In which security annotation, are you allowed to use SpEL?
Testing
• What type of tests typically use Spring?
• How can you create a shared application context in a JUnit integration test?
• When and where do you use @Transactional in testing?
• How are mock frameworks such as Mockito or EasyMock used?
• How is @ContextConfiguration used?
• How does Spring Boot simplify writing tests?
• What does @SpringBootTest do? How does it interact with @SpringBootApplication and
@SpringBootConfiguration?
C E R T I F I C AT I O N S T U D Y G U I D E | 9
Spring Professional Certification Study Guide
C E R T I F I C AT I O N S T U D Y G U I D E | 1 0
Spring Professional Certification Study Guide
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
Conclusion
When you have 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 VMware 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].
C E R T I F I C AT I O N S T U D Y G U I D E | 1 1
VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 vmware.com Copyright © 2020 VMware, Inc.
All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents
listed at vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. and its subsidiaries in the United States and other jurisdictions.
All other marks and names mentioned herein may be trademarks of their respective companies. Item No: Spring Professional Certification Study Guide 10/20