Exam Drill #22 · 14 Oct 2026 · 11 to fix · 52 drills

Twenty-second attempt — 49/60, a pass, and Spring Core is fixed

49/60 = 82%, against a 76% pass mark. Three marks over. After #21's 41 and the whole revision cycle that followed it, Spring Core went from 57% to 86%: three misses, where #21 had thirteen. Testing and Security were both 100%.
The marks this time were lost in Spring Boot (4) and Data Management (3). Three of the 11 were questions you've missed before, word for word, and two of those three you got wrong in the same way as last time.

82%
Pass mark 76% ✓
+8
Marks on #21 (41 → 49)
11
Misses — was 19
3
Core misses — was 13
3
Word-for-word repeats
Progress · every attempt

Twenty-two papers, out of 60

Hover a bar for the date and score. The dashed line is 46/60, the lowest pass.

Passed (46+) Below the pass

The first fourteen papers averaged 40.3. The last eight average 47.4, and six of those eight passed. #21 was the low point of that run, and the paper straight after its revision cycle is back at 49.

Official result · practice exam

82% — passed

76% required to pass · 60/60 answered · 49 correct · time used 41m 15s
Testing 100%▲ 250 misses Spring Security 100%not on #210 misses Spring Core 86%▲ 293 misses / 21 Data Management 73%▼ 273 misses / 11 Spring Boot 73%▼ 74 misses / 15 Spring MVC 67%▲ 341 miss / 3

How the sizes come out. MVC at 67% with one miss is 2/3. Data at 73% with three misses is 8/11. Boot at 73% with four misses is 11/15. Core at 86% with three misses is 18/21. That's 50 questions, so Testing and Security shared the other 10 between them, all correct. Data's drop looks big, but it's three marks on an 11-question section. Two of the three were repeats.

Where the next marks are

If you had…ScoreResult
What actually happened4982% — pass
…and not missed the three questions you'd already missed, word for word, on an earlier paper5287%
…and ticked every true option on the other two "select all" questions (Q4, Q9)5490%
…and not made the six wrong picks (Q19, Q28, Q34, Q42, Q50, Q57)60100%

Four of the eleven misses were stopping short: every option you ticked was right, but you left a true one out. Two of those four had all four options true. That's the cheapest pattern to fix, and it's covered in the first block.

What moved between #21 and #22

Attempt #21Attempt #22Result
Score41/60 (68%)49/60 (82%)+8 · passed
Misses1911−8
Spring Core misses133−10 · the revision cycle worked
Questions with a wrong tick167−9
Stopped short (no wrong tick)34+1 · two were "all four true"
Data Management misses03+3 · two of them repeats
Word-for-word repeats5 of 193 of 11Still there
Left blank00Held — tenth paper running
Time57m 57s41m 15s−17 min

Core is no longer the problem. The weak spots now are smaller and spread out: Actuator facts, transaction propagation, and the habit of stopping at two or three options on "select all" questions.

Three questions were word-for-word repeats

QTopicAlready on this siteThen → now
Q12Enabling @Transactional#12 Q16 and #20 Q7Third paper with this question. #20: stopped short. Now: ticked the invented @Configuration(enableTransactions=true)
Q43JPA finder keywords#16 Q30All four options true. Stopped short both times
Q55Ways to add a bean definition#4 Q25Three of four true. Stopped short both times

Q43 and Q55 were missed the same way as before: every true option needed ticking, and you didn't tick them all. The facts are on earlier pages. What needs to change is believing that four of four can be true. The first drill block has all three as they appeared, plus a reworded version of each.

My drill progress on this page

Each time you finish a drill block (every question answered), it's recorded here in this browser. Reload the page to retake a block. Questions and options reshuffle every time. Aim for a full score on every block before the next paper, and redo the repeats block on a different day from the first try.

Drill blockQsLastBestRunsLast done
Loading…

All 11, at a glance

QTopicWhat went wrongThe answer
Q4What Spring Cloud providesStopped short — 3 were trueService discovery · config server · Netflix OSS integration
Q9Web-only Actuator endpointsStopped short — all 4 were truejolokia · httptrace · heapdump · mappings
Q12Enabling @Transactional+ @Configuration(enableTransactions=true) · 3rd paper@EnableTransactionManagement · nothing under Boot
Q19Class-level @RequestMapping+ "overwritten by the methods' mappings"Prefixes the paths · narrows the HTTP verbs
Q28Default Actuator metrics+ "number of user sessions"Memory · HTTP response time · GC
Q34SpEL syntaxPicked ${bean.property}#{bean.property}
Q42Where @Profile goes+ "on a constructor"@Bean method · meta-annotation
Q43Finder method keywordsStopped short — all 4 were true · same as #16Is · LessThan · GreaterThan · Null
Q50"Non-tx, throws if a tx exists"Picked NOT_SUPPORTEDNEVER
Q55Adding a bean definitionStopped short — 3 were true · same as #4XML · @Bean · registerBeanDefinition
Q57Is @EnableAutoConfiguration required?Picked TrueFalse — @SpringBootApplication includes it

A note on what you ticked

The exported results show an icon instead of a letter for any option that was correct or ticked. So an option with no letter that's marked "Incorrect" is a definite wrong tick. Seven of the eleven misses have one. Q4, Q9, Q43 and Q55 have none, so they can only be under-selection: you ticked only true options but not all of them. The export can't show which true option you left out.

Jump to a section

⓪ The repeats + stopping short — 7 drills ① Spring Boot — 4 misses (73%) · 11 drills ② Data Management — 3 misses (73%) · 9 drills ③ Spring Core — 3 misses (86%) · 10 drills ④ Spring MVC — 1 miss (67%) · 5 drills Every rule from this paper on one screen Mixed drill — all sections, no headings · 10 drills

⓪ The repeats, and stopping short Q12 · Q43 · Q55 · Q4 · Q9

Shape 1 · Q4, Q9, Q43, Q55 stopped short

Four "select all" questions where every tick was right, but one or more true options were left out

QTrue optionsThe one most likely left out, and why it's true
Q434 of 4Null looks incomplete next to IsNull, but findByEmailNull() is valid. "Is" is optional on every keyword
Q94 of 4httptrace / mappings sound general, but both are about HTTP: request traces and @RequestMapping paths
Q553 of 4DefaultListableBeanFactory.registerBeanDefinition sounds internal, but it's the API every other route ends up calling
Q43 of 4"Netflix OSS integration" sounds dated, but Spring Cloud Netflix is a real Spring Cloud project (Eureka)

The test for each option is: can I name a reason it's false? Examples: the name doesn't exist (@BeanComponent), it's a different tool (a Dockerfile isn't Spring Cloud), or the docs say otherwise. If you can't name a reason, tick it. "It sounds odd" or "I already have enough" isn't a reason.

Memory hook: On "select all", every option needs its own verdict. All four true happened twice on this paper.
Q12 · Enabling @Transactional ticked a false option 3rd paper with this question

@Configuration has no transaction switch. The switch is a separate @Enable… annotation

You ticked @Configuration(enableTransactions=true). On #20 you stopped short on the same question.

Two options were true. @EnableTransactionManagement is the plain-Spring switch. "None of the above if you use Spring Auto-Configuration" is also true, because Boot's TransactionAutoConfiguration applies it for you. @Configuration's only attributes are value (the bean name) and proxyBeanMethods. Spring never turns features on through a @Configuration attribute. Every feature switch is its own @Enable… annotation: @EnableTransactionManagement, @EnableCaching, @EnableAsync, @EnableScheduling, @EnableAspectJAutoProxy.

Memory hook: Features are switched on with @Enable…. @Configuration has just value and proxyBeanMethods.

① Spring Boot 4 misses · 15 questions · 73%, down from 80%

Q57 · @EnableAutoConfiguration picked the wrong answer

@SpringBootApplication already includes @EnableAutoConfiguration

You picked True: "an explicit @EnableAutoConfiguration is required".

@SpringBootApplication = @SpringBootConfiguration (which is a @Configuration) + @EnableAutoConfiguration + @ComponentScan. Every app that uses it has auto-configuration switched on already. You'd write @EnableAutoConfiguration yourself only if you put those three annotations on separately, instead of using @SpringBootApplication.

Memory hook: @SpringBootApplication = Config + Auto-config + Scan.
Q28 · Default Actuator metrics ticked a false option

The default metrics are about the JVM and HTTP, not about users

You ticked "Number of user sessions".
Out of the boxMetric name
Memory (heap, non-heap)jvm.memory.used, jvm.memory.max
Garbage collectionjvm.gc.pause, jvm.gc.memory.promoted
Threads, classes loadedjvm.threads.live, jvm.classes.loaded
CPU, uptimesystem.cpu.usage, process.uptime
HTTP requests (count, timing, status)http.server.requests
User sessionsNot by default. Needs Spring Session, or Tomcat's MBean registry switched on
Memory hook: Default metrics = JVM (memory, GC, threads) + system + HTTP requests. No user data.
Q9 · Web-only endpoints stopped short

All four were web-only: jolokia, httptrace, heapdump, mappings

The common thread is that each one is about HTTP or only makes sense over HTTP. jolokia is a JMX-over-HTTP bridge. httptrace records HTTP exchanges. heapdump returns a binary file download. mappings lists @RequestMapping paths.

A caution. The Spring Boot 2.x reference docs list the web-only endpoints as heapdump, jolokia, logfile and prometheus. That's the version #12 taught you. This question bank also counts httptrace and mappings. For this exam, tick anything that is about HTTP or returns a file. Leave out threaddump, beans, env and health, which also work over JMX.

Memory hook: Web-only = HTTP-shaped or file-shaped: heapdump, logfile, prometheus, jolokia (+ httptrace, mappings in this bank).
Q4 · Spring Cloud stopped short

Three were true: service discovery, a config server, Netflix OSS integration

Spring Cloud is a family of projects for microservice plumbing. Spring Cloud Config is a Git-backed config server. Spring Cloud Netflix provides Eureka discovery (Hystrix and Zuul are now retired). Spring Cloud Gateway is the API gateway. Distributed tracing used to be Sleuth. The false option was the Dockerfile. Containers are built by Docker, or by Boot's own spring-boot:build-image, not by Spring Cloud.

Memory hook: Spring Cloud = discovery, config, gateway, resilience, tracing. Not packaging.

② Data Management 3 misses · 11 questions · 73%, down from 100%

Q12 and Q43 are explained in block ⓪. That leaves propagation.

Q50 · Propagation picked the wrong answer

NEVER throws. NOT_SUPPORTED just steps aside

You picked NOT_SUPPORTED. The sentence was "executes non-transactionally, throws an exception if a transaction exists".
PropagationA transaction already existsNo transaction exists
REQUIRED (default)Join itStart one
REQUIRES_NEWSuspend it, start a new oneStart one
NESTEDSavepoint inside itStart one
SUPPORTSJoin itRun without
MANDATORYJoin itThrow
NOT_SUPPORTEDSuspend it, run withoutRun without
NEVERThrowRun without

Only two types throw: MANDATORY when there is no transaction, and NEVER when there is one. They're opposites. The exception in both cases is IllegalTransactionStateException.

Memory hook: NEVER means never: a transaction is an error. NOT_SUPPORTED just puts it on hold.

③ Spring Core 3 misses · 21 questions · 86%, up from 57%

Q55 is explained in block ⓪. The other two are below.

Q34 · SpEL syntax picked the wrong answer

#{…} is SpEL. ${…} is a property placeholder

You picked ${bean.property}.
SyntaxWhat it isReads fromExample
#{…}SpEL expressionBeans, methods, operators, T(Type)#{orderService.status}
${…}Property placeholderThe Environment: properties files, env vars, system properties${app.timeout}

The question says "accessing a bean property", and only SpEL can reach a bean. Inside @Value, #{orderService.status} and #{@orderService.status} both work: a bare name is looked up as a bean, and @ makes the bean reference explicit. You can also nest them: #{${app.factor} * 2} resolves the placeholder first, then evaluates the SpEL.

Memory hook: $ = settings (properties). # = code (expressions on beans).
Q42 · @Profile placement ticked a false option

@Profile decides whether a bean definition is registered, so it goes where definitions come from

You ticked "On top of constructor in class".

@Profile's @Target is TYPE and METHOD. That gives four useful places: a @Component class, a @Configuration class, a @Bean method, and another annotation (a composed annotation like @Production). A constructor isn't in the @Target, so it won't compile there. A setter compiles, because it's a method, but it has no effect, because a setter doesn't define a bean.

Memory hook: @Profile goes where beans are defined: classes, @Bean methods, and annotations that carry it.

④ Spring MVC 1 miss · 3 questions · 67%, up from 33%

Q19 · Class-level @RequestMapping ticked a false option

Class-level and method-level mappings are combined. Neither overrides the other

You ticked "It will be overwritten by their @RequestMapping annotation".
Class levelMethod levelResult
@RequestMapping("/api")@GetMapping("/users")GET /api/users — path prefixed
method = GET@RequestMapping("/report") (no method)Only GET — verbs narrowed
produces = "application/json"no producesMethod inherits JSON

The two true options were "prefixes the methods' paths" and "narrows the HTTP verbs". The class level sets shared defaults, and each method adds to them.

One detail the exam's explanation gets wrong: if the class says method = GET and a method says @PostMapping, Spring takes the union, so that method accepts both GET and POST. "Narrows" is accurate for methods that don't name a verb, and that's what the exam means.

Memory hook: Class + method = combined. The class gives the prefix and the defaults.

Every rule from this paper on one screen

QRule
Q4Spring Cloud = discovery (Eureka), Config Server, Gateway, Netflix OSS, resilience, tracing. Not Docker images
Q9Web-only endpoints are HTTP-shaped or file-shaped: heapdump, logfile, prometheus, jolokia (+ httptrace, mappings in this bank)
Q12@EnableTransactionManagement in plain Spring; nothing under Boot. @Configuration has no feature switches
Q19Class + method @RequestMapping are combined: prefix + narrowed verbs
Q28Default metrics: JVM memory, GC, threads, CPU, http.server.requests. No user sessions
Q34#{} = SpEL (beans, code). ${} = placeholder (properties)
Q42@Profile: component/config class, @Bean method, meta-annotation. Not a constructor
Q43Is, LessThan, GreaterThan, Null — all valid. "Is" is optional everywhere
Q50NEVER throws if a transaction exists. NOT_SUPPORTED suspends it. MANDATORY throws if none exists
Q55XML <bean/>, @Bean, @Component + scan, @Import, registerBeanDefinition. No @BeanComponent
Q57@SpringBootApplication = @SpringBootConfiguration + @EnableAutoConfiguration + @ComponentScan

Mixed drill — all sections, no headings

New wording on every question. Do this one last, or on another day.

I'm your teacher — ask me anything. You've passed three of the last four papers. The repeats are now the clearest weak spot: @EnableTransactionManagement has been on three papers, and the finder keywords and bean-definition question have each been missed twice in the same way. Say "drill the repeats" for one page made of every question you've missed on more than one paper.
← Dashboard ← Review #21 Review #20 (Q12 before) Review #16 (Q43 before) Review #4 (Q55 before) Review #12 (propagation, web-only endpoints) Boot clinic