PGCP-BDACMCE (CCE Modules Exam)•20 Questions
Linux Programming and Cloud Computing Practice MCQs
Topic Covered in this Question Set
Linux Evolution, GNU, GPL and System Architecture
Click on an option to check your answer immediately. Full solution & explanation provided for every question.
Interactive Practice Mode
Linux Programming and Cloud Computing Free MCQs
Select an option to test your knowledge with real exam questions and instant explanations.
Total20
Correct0
Wrong0
Progress: 0 of 20 answered0% Accuracy
Q2 of 20
In 1973 UNIX was largely rewritten in the C language. What was the main benefit of this rewrite?
Q3 of 20
By 1991 the GNU project had produced most parts of a free Unix-like system. Which essential component was still not ready, leaving the gap that Linux filled?
Q4 of 20
A company modifies a GPL-licensed log-analysis tool and uses the modified version only on its own internal servers. It never gives the program to anyone outside the company. What does the GPL require?
Q5 of 20
A vendor sells a network appliance that ships with a modified GPL program. Which statement about the vendor's obligations is correct?
Q6 of 20
A startup wants to copy and modify a library's source code inside its closed-source product and distribute only binaries, without releasing any source code. Under which licence is this allowed?
Q7 of 20
An administrator who has always used Ubuntu starts managing Rocky Linux servers. Which package-management tool should they expect to use on Rocky Linux?
Q8 of 20
On a Linux server, the program sshd runs continuously in the background, waiting to accept remote logins. What is such a background service process called?
Q9 of 20
Which command prints only the release of the running kernel, for example 6.8.0-45-generic?
Q11 of 20
A C program calls printf("hello\n"). Which statement about this call is accurate?
Q12 of 20
When a program calls the read() wrapper in glibc, what actually switches the CPU from user mode to kernel mode?
Q13 of 20
In this C fragment, the child's execlp() call succeeds: ```bash pid_t pid = fork(); if (pid == 0) { execlp("echo", "echo", "hi", (char *)NULL); perror("execlp"); return 1; } ``` What happens to the perror("execlp") line in the child?
Q14 of 20
What value does a successful fork() call return inside the newly created child process?
Q17 of 20
Which command shows the manual page for the write system call, rather than the user command of the same name?
Q18 of 20
Which of these operations is a privileged instruction that may be executed only in kernel mode?
Q19 of 20
A team is preparing Linux machines to run a database. Why are such servers usually installed without a graphical desktop?
Q20 of 20
A buggy user program tries to write directly into memory that belongs to the kernel. What normally happens?
Need to review the concepts?
Read Free Study Notes →Read Linux Programming and Cloud Computing Study Notes
Review complete topic notes, syntax guides, code examples, and summary tables.