HomeExamsBig DataTETABDADEVIC1030
TETABDADEVIC1030

Infosys Certified Spark Developer

Practice with real exam-pattern questions for Infosys Certified Spark Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

IntermediateBig Data210 min
Free questions

10 Infosys Certified Spark Developer practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified Spark Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    Kell has a requirement to reuse an RDD in his coding logic.He decides to persist it in primary memory but however if the primary memory is full, He wants it to be stored in disk as well. Which of the given syntax/code can be used by her?

    • rdd.persist(StorageLevel.MEMORY_ONLY)

      Correct
    • B

      rdd.persist(StorageLevel.MEMORY_AND_DISK)

    • C

      rdd.persist(StorageLevel.MEMORY_AND_DISKSER)

    • D

      rdd.save(StorageLevel.MEMORY_DISKMEMORY)

  2. Question 2

    James has a requirement not to use an RDD over and over again and need to persist it for batch operations for later purpose. What is the syntax/code shall be used by him?

    • rdd.persist(StorageLevel.MEMORY_ONLY)

      Correct
    • B

      rdd.persist(StorageLevel.MEMORY_AND_DISK)

    • C

      rdd.persist(StorageLevel.MEMORY_AND_DISK_SER)

    • D

      rdd.save(StorageLevel.MEMORY_DISKMEMORY)

  3. Question 3

    Which of the following is TRUE about the below coding statement?
    JavaRDD<String> lines = sc.textFile("data.txt");

    • The dataset is loaded in memory with lines as the pointer to the file

      Correct
    • B

      The dataset is not loaded in memory with lines as the pointer to the file

    • C

      The dataset is loaded in memory but lines is not the pointer to the file

    • D

      The dataset is loaded in disk with lines as the pointer to the file

  4. Question 4

    Mary works in an analytics project and would like to perform analysis using Spark core. She need to load the dataset(/salehdfs/sale.csv) in to the spark area and analyze it using Spark logic. Which of the below method will be used by her to load the file in to Spark RDD ?

    • sc.textFile("/salehdfs/sale.csv");

      Correct
    • B

      sc.loadFile("/salehdfs/sale.csv");

    • C

      sc.load("/salehdfs/sale.csv");

    • D

      sc.save("/salehdfs/sale.csv");

  5. Question 5

    Hary wants to manually set the number of partitions to 100, while loading a dataset(/salehdfs/sale.tsv) in to an RDD. Which of the given options is the correct syntax to be used by Hary?

    • sc.textFile("/salehdfs/sale.tsv",10)

      Correct
    • B

      sc.textFile(100,"/salehdfs/sale.tsv",10,10)

    • C

      sc.textFile("/salehdfs/sale.tsv",100)

    • D

      sc.textFile("/salehdfs/sale.tsv").setPartiton(100)

  6. Question 6

    Shane works in an analytics project and would like to perform analysis using Spark core. He need to load the dataset(/transacthdfs/transact.csv) in to the spark area and analyze it using Spark logic. Which below method is NOT RIGHT about loading a file in to Spark RDD ?

    • sc.textFile("/salehdfs/sale.csv");

      Correct
    • B

      sc.loadFile("/salehdfs/sale.csv");

    • C

      sc.load("/salehdfs/sale.csv");

    • D

      sc.save("/salehdfs/sale.csv");

  7. Question 7

    Which of the below steps defines the Spark installation on a stand alone mode appropriately?

    • 1.Install Java mandatorily
      2.Install Scala
      3.Set the PATH variable and add bin path of scala and java to the existing PATH
      4.Download and extract Spark tar file
      5.Set the PATH variable and add bin path of spark to the existing PATH in bashrc file
      6.Type in spark-shell to enter in to spark-shell for confirmation

      Correct
    • B

      1.Install Scala
      2.Set the PATH variable and add bin path of scala and java to the existing PATH
      3.Download and extract Spark tar file
      4.Set the PATH variable and add bin path of spark to the existing PATH in bashrc file
      5.Type in spark-shell to enter in to spark-shell for confirmation

    • C

      1.Download and extract Spark tar file
      2.Set the PATH variable and add bin path of spark to the existing PATH in bashrc file
      3.Type in spark-shell to enter in to spark-shell for confirmation

    • D

      Install Spark exe file and follow the wizard for installations and environment variable settings

  8. Question 8

    Driver runs on which machine in Spark?

    • Master

      Correct
    • B

      Slave

    • C

      Both

    • D

      None of the given options

  9. Question 9

    Which of the given methods are action methods in Spark?

    • reduce()Correct
    • BreduceByKey()
    • Cmap
    • Dcollect()
  10. Question 10

    Which below process runs on the worker nodes and executes the Spark tasks?

    • Executor

      Correct
    • B

      Driver

    • C

      YARN

    • D

      Executor and Driver

Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram