가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독

Spring Boot 면접 질문과 답변

Test your skills through the online practice test: Spring Boot Quiz Online Practice Test

관련 차이점

Ques 46. Explain CORS in Spring Boot?

CORS stands for Cross-Origin Resource Sharing is a  mechanism implemented by browsers and helps users to authorize cross-domain requests. This mechanism serves as an alternative to less secure and less powerful hacks of the kinds of IFrame or JSONP.

도움이 되었나요? Add Comment View Comments
 

Ques 47. What is the default package in Spring Boot?

A class without any package declaration is considered as a default package.

도움이 되었나요? Add Comment View Comments
 

Ques 48. How can you set active profile in Spring Boot?

Follow the following methods to set an active profile in Spring Boot.
  • Pass this profile as an argument when you launch the Spring Boot application (java -jar -Dspring.profiles.active=dev Sample-1.0-SNAPSHOT.jar).
  • Set active the active profile in application.properties file (spring.profiles.active=dev).

도움이 되었나요? Add Comment View Comments
 

Ques 49. List out some of the Spring Boot Starters.

Different Spring Boot Starters are as follows:
  • Security
  • Parent
  • web
  • Thymeleaf
  • Freemarker

도움이 되었나요? Add Comment View Comments
 

Ques 50. How to scan all the beans and package declarations in Spring Boot?

Spring Boot application scans all the beans and package declarations when the application initializes. You need to add the @ComponentScan annotation for your class file to scan your components added in your project.
@ComponentScan
public class DemoApplication {
   public static void main(String[] args) {
      SpringApplication.run(DemoApplication.class, args);
   }
}

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.
Spring vs Spring BootNodeJS vs Spring BootSpring MVC vs Spring Boot