Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CloudBees Exam CJE Topic 2 Question 108 Discussion

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

You need to grant permissions, via matrix-based security, to run a specific command in a Jenkins pipeline. The project parameters will not allow you to create a specific user to run this task, and you have no relevant groups. Which of the following is an option?

Show Suggested Answer Hide Answer
Suggested Answer: C

You can set permissions for anonymous users with matrix-based security. Since this requires the least impact on existing workflows, it's the best solution.


Contribute your Thoughts:

Mattie
30 days ago
Hmm, I wonder if we could just bribe the Jenkins admin to create a new user for us. That would be a lot easier than all this security nonsense.
upvoted 0 times
...
Willie
1 months ago
That's a good point, Winifred. Option D does provide more control over who can run the command. It's important to consider security implications when setting up permissions in Jenkins.
upvoted 0 times
...
Ena
1 months ago
Option A? Really? That's like saying 'I can either fix the flat tire or just get a new car.' Not very helpful.
upvoted 0 times
Claudio
23 hours ago
D) Change the workflow to require an existing user to run the task, and assign permissions to that user.
upvoted 0 times
...
Jina
2 days ago
B) Create a group, add an existing user to the task, and grant permissions to that group
upvoted 0 times
...
...
Winifred
1 months ago
I disagree, I believe option D is the way to go. Requiring an existing user to run the task ensures accountability and assigning permissions directly to that user is more straightforward.
upvoted 0 times
...
Jenise
1 months ago
Option D could work, but it might be a hassle to have to assign permissions to a specific user every time. Option B is probably the cleanest solution.
upvoted 0 times
Gregoria
16 days ago
Either creating a group or reassigning the user will work, so that's good to know.
upvoted 0 times
...
In
22 days ago
Creating a group and adding an existing user seems like the most efficient way to handle this.
upvoted 0 times
...
Linwood
29 days ago
I agree, Option B is probably the cleanest solution.
upvoted 0 times
...
Belen
1 months ago
Option D could work, but it might be a hassle to have to assign permissions to a specific user every time.
upvoted 0 times
...
...
Alona
2 months ago
I agree with Anastacia. Option B is the way to go here. Trying to use an anonymous user (Option C) sounds risky from a security standpoint.
upvoted 0 times
Raelene
23 days ago
I agree, creating a group and adding an existing user seems like the most secure option.
upvoted 0 times
...
Long
28 days ago
I think Option B is the best choice.
upvoted 0 times
...
...
Willie
2 months ago
I think option B is the best choice. Creating a group and adding an existing user seems like the most secure way to handle permissions.
upvoted 0 times
...
Anastacia
2 months ago
Option B seems like the most straightforward solution. Creating a group and adding an existing user to it makes sense when you can't create a new user.
upvoted 0 times
Weldon
21 hours ago
Definitely. It's a workaround that can be effective in granting the necessary permissions.
upvoted 0 times
...
Michell
2 days ago
That's a good point. It's a practical way to handle permissions in this scenario.
upvoted 0 times
...
Ernest
4 days ago
Creating a group and adding an existing user to it makes sense when you can't create a new user.
upvoted 0 times
...
Ethan
11 days ago
Option B seems like the most straightforward solution.
upvoted 0 times
...
Dick
13 days ago
Definitely. It's a workaround that can be effective in granting the necessary permissions.
upvoted 0 times
...
Jackie
15 days ago
That's a good point. It's a practical way to handle permissions in this scenario.
upvoted 0 times
...
Annmarie
23 days ago
Creating a group and adding an existing user to it makes sense when you can't create a new user.
upvoted 0 times
...
Kasandra
30 days ago
Option B seems like the most straightforward solution.
upvoted 0 times
...
...

Save Cancel