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

- Free Preparation Discussions

CloudBees CJE Exam - Topic 1 Question 40 Discussion

Actual exam question for CloudBees's CJE exam
Question #: 40
Topic #: 1
[All CJE Questions]

Which of the following are true when using environment directives in a Declarative Pipeline?

Choose 3 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, C, D

Contribute your Thoughts:

0/2000 characters
Buck
4 months ago
Wait, are you sure about A? That sounds a bit off to me.
upvoted 0 times
...
Isaiah
4 months ago
D makes sense, I use it all the time for specific steps.
upvoted 0 times
...
Marguerita
4 months ago
C is spot on! Jenkins environment variables are super handy.
upvoted 0 times
...
Alex
4 months ago
I think B is correct too, but I'm not 100% sure.
upvoted 0 times
...
Melinda
5 months ago
A is definitely true, I've seen it in action.
upvoted 0 times
...
Carylon
5 months ago
I recall practicing a question similar to this, and I think option D is definitely true because we can set environment variables globally or for specific steps.
upvoted 0 times
...
Meghan
5 months ago
I'm not so sure about the specifics, but I feel like option C might be right since we talked about using Jenkins environment variables in class.
upvoted 0 times
...
Aide
5 months ago
I think option A is correct because I remember something about single and double quotes having different behaviors in the Pipeline DSL.
upvoted 0 times
...
Lenny
5 months ago
I vaguely recall that option A is incorrect, but I can't remember the exact reason why. I need to double-check the quoting rules.
upvoted 0 times
...
Gwenn
5 months ago
I’m pretty confident that option D is true since we can set environment variables globally or for specific steps, but I’m not entirely sure about the others.
upvoted 0 times
...
Lucia
5 months ago
I feel like I've seen a question about environment variables in Jenkins before, maybe something similar to option C about using built-in variables.
upvoted 0 times
...
Tonette
5 months ago
I think I remember that single quotes and double quotes behave differently, but I'm not sure which way it goes.
upvoted 0 times
...
Marvel
5 months ago
I’m a bit confused about the quotes part; I thought it was the other way around, so I’m leaning towards option B being correct instead of A.
upvoted 0 times
...
Reita
5 months ago
Hmm, I'm a bit unsure about this one. The output from the cluster command is a bit confusing, and I'm not sure which of these options is the correct action to take.
upvoted 0 times
...
Reuben
5 months ago
Hmm, I'm a bit unsure about how to approach this. The dividend and share price are given, but I'm not sure how to incorporate the reinvestment rate and return on reinvested funds.
upvoted 0 times
...

Save Cancel