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 CJE Exam - Topic 2 Question 108 Discussion

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?
C) Set permissions in Jenkins to allow anonymous users to run the command
A) Either creating a group or reassigning the user will work.
B) Create a group, add an existing user to the task, and grant permissions to that group
D) Change the workflow to require an existing user to run the task, and assign permissions to that user.

CloudBees CJE Exam - 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:

0/2000 characters
Leonard
7 months ago
Wait, can you really let anonymous users run commands? That sounds off.
upvoted 0 times
...
Theola
7 months ago
Totally agree with D, it makes the most sense.
upvoted 0 times
...
Doug
7 months ago
I think D is the best choice here.
upvoted 0 times
...
Janella
7 months ago
A and B are not possible since we can't create a user.
upvoted 0 times
...
Dante
8 months ago
Option C seems risky, allowing anonymous users?
upvoted 0 times
...
Lavina
8 months ago
I thought setting permissions for anonymous users was risky, but it might be the only way if we can't create a group or user.
upvoted 0 times
...
Linsey
8 months ago
I feel like changing the workflow to require an existing user might be a solution, but I can't recall if that's the best option.
upvoted 0 times
...
Jesusita
8 months ago
I think we practiced a question similar to this, and creating a group seemed like the right approach, but we can't create one here.
upvoted 0 times
...
Rosendo
9 months ago
I remember something about matrix-based security, but I'm not sure if allowing anonymous users is a good idea.
upvoted 0 times
...
Corazon
9 months ago
I'm feeling pretty confident about this one. Option B is definitely the right choice - it's the only one that allows you to use an existing user without creating a new one.
upvoted 0 times
...
Dominga
9 months ago
Okay, I think I've got this. Option B is the way to go - create a group, add an existing user to it, and grant permissions to that group. Seems like the most straightforward solution.
upvoted 0 times
...
Angelyn
9 months ago
Hmm, I'm a bit confused by this question. I'm not sure if setting permissions for anonymous users is a good idea, but I'll have to think about it more.
upvoted 0 times
...
Tiffiny
9 months ago
This seems like a tricky one. I'm not sure if creating a group or reassigning the user will work, but option B looks like the best approach to me.
upvoted 0 times
...
Mattie
1 year 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
Lonna
1 year 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
...
Lyda
1 year ago
B) Create a group, add an existing user to the task, and grant permissions to that group
upvoted 0 times
...
Kimberely
1 year ago
A) Either creating a group or reassigning the user will work.
upvoted 0 times
...
...
Willie
1 year 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 year 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
1 year ago
D) Change the workflow to require an existing user to run the task, and assign permissions to that user.
upvoted 0 times
...
Jina
1 year ago
B) Create a group, add an existing user to the task, and grant permissions to that group
upvoted 0 times
...
...
Winifred
1 year 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 year 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
1 year ago
Either creating a group or reassigning the user will work, so that's good to know.
upvoted 0 times
...
In
1 year ago
Creating a group and adding an existing user seems like the most efficient way to handle this.
upvoted 0 times
...
Linwood
1 year ago
I agree, Option B is probably the cleanest solution.
upvoted 0 times
...
Belen
1 year 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
1 year 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
1 year ago
I agree, creating a group and adding an existing user seems like the most secure option.
upvoted 0 times
...
Long
1 year ago
I think Option B is the best choice.
upvoted 0 times
...
...
Willie
1 year 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
1 year 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
1 year ago
Definitely. It's a workaround that can be effective in granting the necessary permissions.
upvoted 0 times
...
Michell
1 year ago
That's a good point. It's a practical way to handle permissions in this scenario.
upvoted 0 times
...
Ernest
1 year 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
1 year ago
Option B seems like the most straightforward solution.
upvoted 0 times
...
Dick
1 year ago
Definitely. It's a workaround that can be effective in granting the necessary permissions.
upvoted 0 times
...
Jackie
1 year ago
That's a good point. It's a practical way to handle permissions in this scenario.
upvoted 0 times
...
Annmarie
1 year 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
1 year ago
Option B seems like the most straightforward solution.
upvoted 0 times
...
...

Save Cancel