← Quiz: Spring Boot Basics: all 10 questions
Quiz: Spring Boot Basics · Question 3 of 10
How do you start the app with the prod profile?
How do you start the app with the prod profile?
- A.--spring.profiles.active=prod
- B.--profile=prod
- C.-Dprod=true
- D.Rename the jar to prod.jar
Answer & explanation
Correct answer: --spring.profiles.active=prod
Or set SPRING_PROFILES_ACTIVE=prod.
Can you get the rest right without peeking?
Take the timed Quiz: Spring Boot Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →