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

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

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

Prepare Interview

Apache Spark 면접 질문과 답변

Ques 1. What is Apache Spark?

Apache Spark is an open-source distributed computing system that provides fast and general-purpose cluster computing for big data processing and analytics.

Example:

SparkContext sc = new SparkContext("local", "SparkExample");

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

Ques 2. Explain the difference between Spark transformations and actions.

Transformations are operations that create a new RDD, while actions are operations that return a value to the driver program or write data to an external storage system.

Example:

val mappedRDD = inputRDD.map(x => x * 2)
val result = mappedRDD.reduce((x, y) => x + y)

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

Ques 3. What is the significance of Spark's lineage graph (DAG)?

Spark's lineage graph (DAG) is a directed acyclic graph that represents the sequence of transformations and actions on RDDs. It helps in recovering lost data in case of node failure.

Example:

val filteredRDD = inputRDD.filter(x => x > 0)
filteredRDD.toDebugString

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

Ques 4. What is the purpose of the SparkContext in Apache Spark?

SparkContext is the entry point for Spark functionality and represents the connection to the Spark cluster. It coordinates the execution of operations on the cluster.

Example:

val sc = new SparkContext("local", "SparkExample")

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

Ques 5. Explain the concept of lazy evaluation in Apache Spark.

Lazy evaluation is a strategy in which the execution of operations is delayed until the result is actually needed. This helps in optimizing the execution plan.

Example:

val filteredRDD = inputRDD.filter(x => x > 0)
filteredRDD.count()

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

Most helpful rated by users:

Copyright © 2026, WithoutBook.