MCQ

Linux MCQs – Linux environment – Part 1

Multiple choice questions and answers (MCQs) on Linux focuses on “Managing of users accounts and groups” to prepare for exams, interviews, and certifications, such as Redhat exam, CompTIA exam, Ubuntu / SuSE certification, LPI certification exam. These MCQs will easily prepare anyone to pass their Linux test.
 

 

1. To increase response time and bandwidth, the kernel minimizes the frequency of disk accesses by keeping an internal memory pool called _________ ?

A Swapping

B Buffer cache

C Spooling

D Pooling

B
The idea behind the Buffer cache is to free processes from having to wait for relatively slow disks to get or store data. Thus, it would be counterproductive to write a lot of data at once; instead, data should be written at regular intervals so that I/O operations have a minimal impact on the speed of user processes and on user response time.

 

 

2. At the moment of the process execution, STDOUT and STDERR

A They point to the current terminal

B They are closed

C They point to special files on the system

D None of the above

A
Standard output(STDOUT) and standard error(STDERR) point to the user’s terminal at the moment a process starts to run.

 

 

3. What is inside the wtmp and utmp files?

A Temporary system data

B The user’s connection and disconnection log

C The user’s command execution log

D The user’s su and sudo attempts

B
utmp will give you a complete picture of user connections to terminals, disconnections, system events and current system status, system boot time, etc. Wtmp gives historical data of utmp.

 

 

4. What is the core of the operating system?

A Script

B Commands

C Kernel

D Shell

C
The kernel is the lowest level of software that interfaces with the hardware of your computer. It is responsible for the interface to all your applications.

 

 
 

5. ILP32 means ?

A Integer Long Pointer 32 bit

B Integrated Long Pointer 32 bit

C Intelligent Long Pointer 32 bit

D Long Pointer 32 bit

A
Most current 32-bit systems are ILP32 (i.e. Integer Long Pointer all have a length of 32 bits).

 

 

6. Version 2 of the Unix specification provides enhanced support for ______

A 8 bit

B 16 bit

C 32 bit

D 64 bit

D
The UNIX specification, version 2 provides enhanced support for 64-bit programming models. Version 2 incorporates the IEEE 1003.1b-1993 and IEEE 1003.1i-1995 standards.

 

 

7. In UNIX, the keyboard is the default input device and the screen is the default output device ?

A True

B False

A
That’s right, in UNIX, the keyboard is the default input device and the screen is the default output device.

 

 

8. Applications communicate with the kernel using ________ ?

A Shell

B Shell script

C C program

D System calls

D
Applications communicate with the kernel using system calls.

 

 
 

9. Which of the following interacts directly with the system hardware?

A Shell

B Commands

C Kernel

D Applications

C
The Kernel interacts directly with the system hardware.

 

 
mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *