top of page

Become a

 

Spring Professional

 

Exam Topics and Details

The Spring Certified Professional exam (2V0-72.22) evaluates a candidate's understanding and practical knowledge of the Spring Framework and Spring Boot. .

The exam covers a broad range of topics, focusing on core Spring concepts, data management, web development, security, testing, and Spring Boot features. Below is a detailed breakdown of the exam sections and their objectives.

🏗 Section 1 – Spring Core

This section assesses fundamental concepts related to the Spring Framework, including configuration, dependency injection, and bean lifecycle.

🔹 Key Topics:
  • Spring JDBC
    Configure and use JdbcTemplate
    Execute queries using callbacks
    Handle data access exceptions

  • Transaction Management with Spring
    Describe and configure Spring Transactions
    Configure Transaction Propagation and Rollback rules
    Implement Transactions in Tests

  • Spring Boot and Spring Data JPA
    Develop a Spring JPA application using Spring Boot
    Create repositories using Spring Data JPA

Example question:

In the Spring Framework, what accurately describes the behavior of a bean with the 'prototype' scope?

📊 Section 2 – Data Management

This section focuses on data access mechanisms within the Spring Framework, including JDBC, JPA, and transactions.

🔹 Key Topics:
  • Introduction to Spring Framework

  • Java-Based Configuration
    Define Spring Beans using Java code
    Access Beans in the Application Context
    Handle multiple Configuration files and dependencies
    Define Bean Scopes

  • Properties and Profiles
    Use External Properties to control Configuration
    Demonstrate the purpose of Profiles
    Use the Spring Expression Language (SpEL)

  • Annotation-Based Configuration and Component Scanning
    Explain and use Annotation-based Configuration
    Discuss Best Practices for Configuration choices
    Use @PostConstruct and @PreDestroy
    Use "Stereotype" Annotations

  • Spring Bean Lifecycle
    Explain the Spring Bean Lifecycle
    Use BeanFactoryPostProcessor and BeanPostProcessor
    Understand how Spring proxies add behavior at runtime
    Describe bean creation order

  • Aspect-Oriented Programming (AOP)
    Explain the concepts behind AOP
    Implement and deploy Advices using Spring AOP
    Use AOP Pointcut Expressions
    Explain different types of Advice

Example question:

Which of the following methods in JdbcTemplate is recommended for DDL operations?

🌐 Section 3 – Spring MVC

This section covers the development of web applications using Spring MVC and RESTful APIs.

🔹 Key Topics:
  • Building Web Applications with Spring Boot
    Create a Spring MVC application using Spring Boot
    Describe the request processing lifecycle for REST
    Implement a simple RESTful controller
    Configure for deployment

  • RESTful Applications
    Develop controllers for REST endpoints
    Utilize RestTemplate to invoke RESTful services

Example question:

Which of the following HTTP verbs can be used to create a new entity, but not modify an existing one?

🔍 Section 4 – Testing

This section examines how to write and configure tests in Spring applications.

🔹 Key Topics:
  • Testing Spring Applications
    Write unit tests using JUnit 5
    Implement integration tests
    Configure Tests using Spring Profiles
    Extend tests for database operations

  • Advanced Testing with Spring Boot and MockMVC
    Enable Spring Boot testing
    Perform integration and MockMVC testing
    Use slice testing techniques

Example question:

@SpringBootTest(webEnvironment=WebEnvironment.DEFINED_PORT)?

🔐 Section 5 – Security

This section evaluates the candidate's knowledge of securing Spring applications using Spring Security.

🔹 Key Topics:
  • Basic Security Concepts
    Explain authentication, authorization, and common security vulnerabilities (CSRF, XSS, SQL Injection)
    Understand role-based access control (RBAC) and permission models

  • Authentication and Authorization with Spring Security
    Configure authentication providers (in-memory, JDBC, OAuth2)
    Implement UserDetailsService for authentication
    Use form-based, HTTP Basic, and token-based authentication
    Secure web applications using access control mechanisms
    Implement custom login/logout functionality

  • Method-Level Security
    Use @Secured, @PreAuthorize, and @PostAuthorize for method security
    Configure global method security in Spring Boot

Example question:

Which of the following annotations will be enabled by the usage of @EnableGlobalMethodSecurity(jsr250Enabled = true) on top of your @Configuration annotated class?

🚀 Section 6 – Spring Boot

This section focuses on Spring Boot features, configuration, and monitoring.

🔹 Key Topics:
  • Spring Boot Features
    Overview of Spring Boot capabilities
    Describe dependency management

  • Spring Boot Properties and Auto-Configuration
    Define and load properties
    Utilize auto-configuration
    Override default configurations

  • Spring Boot Actuator
    Configure Actuator endpoints
    Secure Actuator HTTP endpoints
    Define custom metrics and health indicators

Example question:

How does Spring Boot finds auto-configuration classes?

📝 Practice with Real Exam Questions

The Spring Certified Developer exam is challenging, requiring deep knowledge of the Spring ecosystem. Many questions test real-world problem-solving skills, requiring you to analyze scenarios and choose the best solutions.

Studying with real exam-style questions is one of the most effective ways to prepare. It helps you:

✔ Understand the exam format and question difficulty

✔ Identify knowledge gaps and focus on weaker areas

✔ Gain confidence by solving practical, scenario-based problems

🚀 Boost your preparation! Try real exam questions now:

bottom of page