Create a linux foundation certificate associate for all covered topics Flashcards

(73 cards)

1
Q

What is the primary purpose of the Linux Foundation Certified Associate (LFCA) certification?

A

To validate foundational skills and knowledge in Linux and open source technologies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: The LFCA certification is intended for individuals with extensive Linux experience.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which command is used to list files in a directory in Linux?

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: The Linux operating system is based on the __________ kernel.

A

Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of permissions can be assigned to files in Linux?

A

Read, write, and execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which command is used to change file permissions in Linux?

A

chmod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the default shell for most Linux distributions?

A

Bash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Multiple Choice: Which of the following is a popular Linux distribution? A) Windows B) Ubuntu C) macOS D) Solaris

A

B) Ubuntu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a package manager in Linux?

A

A tool used to install, update, and remove software packages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False: The command ‘mkdir’ is used to remove directories in Linux.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the command ‘pwd’ stand for?

A

Print Working Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fill in the blank: The __________ command is used to display the contents of a file.

A

cat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which file contains user account information in Linux?

A

/etc/passwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of the ‘sudo’ command?

A

To execute commands with superuser privileges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Multiple Choice: Which command is used to search for files in Linux? A) find B) search C) locate D) All of the above

A

D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Linux file system hierarchy?

A

A structured directory layout that organizes files and directories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

True or False: In Linux, everything is considered a file.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the ‘grep’ command do?

A

Searches for patterns in text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Fill in the blank: The __________ command is used to copy files in Linux.

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is a shell script?

A

A file containing a series of commands that can be executed by the shell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Multiple Choice: Which command is used to display running processes? A) ps B) top C) htop D) All of the above

A

D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the purpose of the ‘/etc’ directory?

A

To store system configuration files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

True or False: The command ‘rm’ is used to rename files.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is SSH used for?

A

To securely connect to a remote machine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Fill in the blank: The __________ command is used to move files in Linux.
mv
26
What does the 'df' command display?
Disk space usage.
27
Multiple Choice: Which of the following is a command-line text editor? A) nano B) vim C) emacs D) All of the above
D) All of the above
28
What is a symbolic link?
A type of file that points to another file or directory.
29
True or False: The command 'touch' is used to create a new file or update the timestamp of an existing file.
True
30
What is the purpose of the 'chmod' command?
To change the permissions of a file or directory.
31
Fill in the blank: The __________ command is used to remove files in Linux.
rm
32
What is a firewall in the context of Linux?
A software or hardware that controls network traffic based on predetermined security rules.
33
Multiple Choice: Which command can be used to view system logs? A) log B) cat C) tail D) Both B and C
D) Both B and C
34
What is the purpose of the 'top' command?
To display real-time system performance and resource usage.
35
True or False: The 'echo' command is used to print text to the terminal.
True
36
What does the 'ifconfig' command do?
Displays or configures network interfaces.
37
Fill in the blank: The __________ command is used to download files from the internet.
curl
38
What is the purpose of a process in Linux?
To execute a program or command.
39
Multiple Choice: Which command is used to change the ownership of a file? A) chown B) chmod C) chgrp D) All of the above
A) chown
40
What is the role of a Linux kernel?
To manage hardware and system resources.
41
True or False: Linux is an open-source operating system.
True
42
What is the purpose of the 'uname' command?
To display system information.
43
Fill in the blank: The __________ command is used to display the current user's name.
whoami
44
What does 'tar' stand for?
Tape Archive
45
Multiple Choice: Which command is used to compress files? A) tar B) gzip C) zip D) All of the above
D) All of the above
46
What is the purpose of the 'kill' command?
To terminate a running process.
47
True or False: The command 'alias' is used to create shortcuts for commands.
True
48
What is a virtual environment in the context of Linux?
An isolated workspace for running applications with specific dependencies.
49
Fill in the blank: The __________ command is used to display the contents of a compressed file.
zcat
50
What is the purpose of the 'wget' command?
To download files from the web.
51
Multiple Choice: Which command is used to check disk usage? A) du B) df C) ls D) Both A and B
D) Both A and B
52
What does 'LAMP' stand for?
Linux, Apache, MySQL, PHP
53
True or False: The command 'service' is used to manage system services.
True
54
What is the purpose of the 'crontab' command?
To schedule tasks to run at specified intervals.
55
Fill in the blank: The __________ command is used to view the manual pages for commands.
man
56
What is a shell environment variable?
A variable that affects the behavior of the shell and its commands.
57
Multiple Choice: Which of the following is NOT a Linux file system? A) ext4 B) NTFS C) XFS D) Btrfs
B) NTFS
58
What is the purpose of the 'history' command?
To display the command history of the current session.
59
True or False: The command 'ssh' is used to create secure file transfers.
False
60
What does 'SSH' stand for?
Secure Shell
61
Fill in the blank: The __________ command is used to display the last few lines of a file.
tail
62
What is a daemon in Linux?
A background process that runs continuously to perform tasks.
63
Multiple Choice: Which command is used to view active network connections? A) netstat B) ping C) traceroute D) ifconfig
A) netstat
64
What is the purpose of the 'hostname' command?
To display or set the system's hostname.
65
True or False: The 'tar' command can only be used to create archives.
False
66
What is the purpose of the 'chgrp' command?
To change the group ownership of a file.
67
Fill in the blank: The __________ command is used to find the location of executables.
which
68
What is the significance of the '/home' directory?
It is the default directory for user home directories.
69
Multiple Choice: Which command is used to view the contents of a directory in a tree-like format? A) tree B) ls C) dir D) find
A) tree
70
What is the purpose of the 'passwd' command?
To change a user's password.
71
True or False: The command 'shutdown' is used to restart the system.
False
72
What does the 'ps aux' command display?
A snapshot of all running processes.
73
Fill in the blank: The __________ command is used to send messages to other users on the same system.
write