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

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

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

Prepare Interview

MongoDB 면접 질문과 답변

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

Ques 21. What is the role of the `$lookup` stage in MongoDB aggregation?

The `$lookup` stage is used in MongoDB aggregation to perform a left outer join between documents from the source and target collections based on a specified condition.

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

Ques 22. How can you create an index in MongoDB?

You can create an index in MongoDB using the `createIndex` method. For example, `db.collection.createIndex({ field: 1 })` creates an ascending index on the specified field.

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

Ques 23. What is the use of the `mongostat` command in MongoDB?

The `mongostat` command provides a real-time view of various MongoDB statistics, such as insert and query rates, memory usage, and more.

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

Ques 24. What is the purpose of the `findOne` method in MongoDB?

The `findOne` method in MongoDB is used to retrieve a single document that satisfies the specified query criteria. It returns the first document that matches the query.

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

Ques 25. How does MongoDB handle transactions?

MongoDB supports multi-document transactions starting from version 4.0. Transactions allow you to perform multiple operations on one or more documents and ensure atomicity and consistency.

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

Most helpful rated by users:

Copyright © 2026, WithoutBook.