New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cloudera Exam CCA175 Topic 2 Question 66 Discussion

Actual exam question for Cloudera's CCA175 exam
Question #: 66
Topic #: 2
[All CCA175 Questions]

Problem Scenario 94 : You have to run your Spark application on yarn with each executor 20GB and number of executors should be 50.Please replace XXX, YYY, ZZZ

export HADOOP_CONF_DIR=XXX

./bin/spark-submit \

-class com.hadoopexam.MyTask \

xxx\

-deploy-mode cluster \ # can be client for client mode

YYY\

222 \

/path/to/hadoopexam.jar \

1000

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Davida
4 months ago
A is the way to go. I mean, 50 executors with 20GB each sounds like a party, but option B just sounds like a recipe for a memory management disaster.
upvoted 0 times
Gianna
3 months ago
ZZZ: -num-executors 50
upvoted 0 times
...
Luke
3 months ago
YYY : -executor-memory 20G
upvoted 0 times
...
Tandra
3 months ago
XXX: -master yarn
upvoted 0 times
...
Christiane
3 months ago
A) Solution
upvoted 0 times
...
...
Maddie
5 months ago
Haha, imagine trying to run a Spark app with 80 executors, each with 40GB of memory. That's like trying to fit an elephant in a shoebox!
upvoted 0 times
Staci
4 months ago
Solution B) -master yarn -executor-memory 40G -num-executors 80
upvoted 0 times
...
Nana
4 months ago
Haha, imagine trying to run a Spark app with 80 executors, each with 40GB of memory. That's like trying to fit an elephant in a shoebox!
upvoted 0 times
...
...
Lashunda
5 months ago
I think B is better because more memory and executors will improve performance.
upvoted 0 times
...
Lucy
5 months ago
I agree with Veronika, A seems to be the correct solution.
upvoted 0 times
...
Abraham
5 months ago
Option B doesn't seem right. Requesting 40GB of memory per executor and 80 executors is overkill for the given requirements.
upvoted 0 times
Refugia
4 months ago
Yes, option A with 20GB memory per executor and 50 executors is the correct choice.
upvoted 0 times
...
Rocco
4 months ago
I agree, option A seems more appropriate for the given requirements.
upvoted 0 times
...
Shawnna
5 months ago
B) Solution
upvoted 0 times
...
Shenika
5 months ago
A) Solution
upvoted 0 times
...
...
Lenna
5 months ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Jade
5 months ago
I think the correct answer is A. The question specifically asks to set the executor memory to 20GB and the number of executors to 50, which matches the values in option A.
upvoted 0 times
Kimberely
4 months ago
Option B has 40GB executor memory and 80 executors, so A is the right choice.
upvoted 0 times
...
Aleisha
4 months ago
Yeah, option A sets the executor memory to 20GB and the number of executors to 50.
upvoted 0 times
...
Quinn
4 months ago
I think the correct answer is A.
upvoted 0 times
...
Marcos
4 months ago
Option A is the best fit for the requirements given in the question.
upvoted 0 times
...
Francisca
5 months ago
Yes, setting the executor memory to 20GB and number of executors to 50 is what the question asks for.
upvoted 0 times
...
Jutta
5 months ago
I agree, option A is the correct solution.
upvoted 0 times
...
...
Veronika
5 months ago
I think the answer is A.
upvoted 0 times
...

Save Cancel