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

GIAC GSEC Exam - Topic 9 Question 24 Discussion

Actual exam question for GIAC's GSEC exam
Question #: 24
Topic #: 9
[All GSEC Questions]

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He is currently working on his C based new traceroute program. Since, many processes are running together on the system, he wants to give the highest priority to the cc command process so that he can test his program, remove bugs, and submit it to the office in time. Which of the following commands will John use to give the highest priority to the cc command process?

Show Suggested Answer Hide Answer
Suggested Answer: C

According to the scenario, John wants to give the highest priority to the cc command process. For this, he will use the nice command and

change the niceness to -20.

Answer option A is incorrect. The nice -n 19 cc -c *.c & command runs the cc command in the background at a lower priority than the default

priority set by the nice command.

Answer option B is incorrect. This command will run the cc command at a low priority in the background and the workstation is free to run

other commands while the cc command is running.

Answer option D is incorrect. This command will run the cc command at a low priority but it will not run the command in the background. The

workstation will not be free to run other commands while the cc command is running.


Contribute your Thoughts:

0/2000 characters
Daron
4 months ago
B is just a standard nice command, not what he needs.
upvoted 0 times
...
Dana
4 months ago
Wait, can you really use -20? Seems too high.
upvoted 0 times
...
Ines
4 months ago
Definitely C! Highest priority for sure.
upvoted 0 times
...
Tawna
4 months ago
I thought nice only lowered priority, not raised it.
upvoted 0 times
...
Winifred
5 months ago
C is the right choice! Nice with a negative value boosts priority.
upvoted 0 times
...
Dorian
5 months ago
I’m leaning towards option C too, but I need to double-check if `nice -n -20` is the correct syntax for giving the highest priority.
upvoted 0 times
...
Denna
5 months ago
I practiced a similar question where we had to adjust process priorities. I feel like `nice -n 19` would actually lower the priority, not raise it.
upvoted 0 times
...
Carin
5 months ago
I think the lower the nice value, the higher the priority, so maybe it's option C with `-20`? That sounds familiar.
upvoted 0 times
...
Anastacia
5 months ago
I remember that the `nice` command is used to change the priority of processes, but I'm not sure about the specific values.
upvoted 0 times
...
Kanisha
5 months ago
Hmm, I'm a little confused about how to approach this. I need to make sure I understand the information given before I start calculating.
upvoted 0 times
...
Ailene
5 months ago
Yeah, I encountered a similar question on overhead allocation during practice tests. I wonder if profit margins really reflect actual resource usage.
upvoted 0 times
...
Vi
5 months ago
Okay, let me think this through. The question is asking about linking new data extensions to existing contact records, so the unique contact identifier makes the most sense as the value to use.
upvoted 0 times
...
Jody
5 months ago
Option C seems a bit complex with using Textract first, but I seem to recall extracting information was helpful in similar scenarios.
upvoted 0 times
...

Save Cancel