🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Scheduling and Async: all 10 questions

Quiz: Scheduling and Async · Question 10 of 10

Why can a slow scheduled job delay a different scheduled job by default?

Why can a slow scheduled job delay a different scheduled job by default?

  1. A.Spring runs jobs one after another alphabetically
  2. B.Cron jobs always wait for fixedRate jobs
  3. C.Jobs share one database transaction
  4. D.Spring Boot's default scheduler pool has only one thread
Answer & explanation

Correct answer: Spring Boot's default scheduler pool has only one thread

Raise spring.task.scheduling.pool.size or move long work to @Async.

Can you get the rest right without peeking?

Take the timed Quiz: Scheduling and Async quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →