lpic exam study questions, Grafiken und Mindmaps von Informatik

lpic exam study questions preparation

Art: Grafiken und Mindmaps

2023/2024

Hochgeladen am 29.07.2024

tomislav-horvatovic
tomislav-horvatovic 🇦🇹

1 dokument

1 / 143

Toggle sidebar

Diese Seite wird in der Vorschau nicht angezeigt

Lass dir nichts Wichtiges entgehen!

bg1
Exam: 202-450 LPIC-2 Certified Linux Engineer
295 questions
--------------------------------------------------------------------------------------------------------------------------------
Ebay:helloearthexamdumps
Ebay:helloearthexamdumps
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Unvollständige Textvorschau

Nur auf Docsity: Lade lpic exam study questions und mehr Grafiken und Mindmaps als PDF für Informatik herunter!

Exam: 202-450 LPIC-2 Certified Linux Engineer 295 questions

Ebay:helloearthexamdumps

QUESTION 1

Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1: <VirtualHost *:80> 2: ServerAdmin [email protected] 3: DocumentRoot /home/http/admin 4: ServerName admin.server.example.org 5: DirectoryIndex index.php default.php 6: ErrorLog logs/admin.server.example.org-error_log 7: CustomLog logs/admin.server.example.org-access_log common 8:

A. 1 B. 1 and 4 C. 1, 4 and 7 D. 1 and 5 E. None. The configuration is valid

Correct Answer: E

QUESTION 2

Select the TWO correct statements about the following excerpt from httpd.conf: <Directory /var/web/dir1>

Ebay:helloearthexamdumps

QUESTION 4

Which of the following lines in the Apache configuration file would allow only clients with a valid certificate to access the website?

A. SSLCA conf/ca.crt B. AuthType ssl C. IfModule libexec/ssl.c D. SSLRequire E. SSLVerifyClient require

Correct Answer: E

QUESTION 5

Which TWO of the following options are valid, in the /etc/exports file?

A. rw B. ro C. rootsquash D. norootsquash E. uid

Correct Answer: AB

QUESTION 6

Which of the following is needed, to synchronize the Unix password with the SMB password, when the encrypted SMB password in the smbpasswd file is changed?

A. Nothing, because this is not possible.

B. Run netvamp regularly, to convert the passwords.Ebay:helloearthexamdumps

C. Rin winbind --sync, to synchronize the passwords. D. Add unix password sync = yes to smb.conf. E. Add smb unix password = sync to smb.conf.

Correct Answer: D

QUESTION 7

The new file server is a member of the Windows domain "foo". Which TWO of the following configuration sections will allow members of the domain group "all" to read, write and execute files in "/srv/smb/data"?

A. [data] comment = data share path = /srv/smb/data write list = @foo+all force group = @foo+all create mask = 0550 directory mask = 0770 B. [data] comment = data share path = /srv/smb/data write list = @foo+all force group = @foo+all create mask = 0770 directory mask = 0770 C. [data] path = /srv/smb/data write list = @foo+all force group = @foo+all create mask = 0770 directory mask = 0770 D. [data] comment = data share path = /srv/smb/data write list = @foo+all force group = @foo+all directory mask = 0770 E. [data] comment = data share path = /srv/smb/data write list = @foo+all force group = all create mask = 0550 directory mask = 0770

Correct Answer: BC

Explanation

QUESTION 8

Which command can be used to list all exported file systems from a remote NFS server:

A. exportfs B. nfsstat C. rpcinfo D. showmount E. importfs

Correct Answer: D

Ebay:helloearthexamdumps

Correct Answer: B

: QUESTION 12 What happens when the Linux kernel can't mount the root filesystem when booting?

A. An error message is shown, showing which device couldn't be mounted or informing that init couldn't be found. B. An error message is shown and the system reboots after a keypress.

C. An error message is shown and the system boots in maintenance mode. D. An error message is shown and the administrator is asked to specify a valid root filesystem to continue the boot process. E. An error message is shown, stating that the corresponding kernel module couldn't be loaded.

Correct Answer: A

QUESTION 13

Messages from programs are not appearing in the user's native language. What environment variable must be set for this to happen?

A. LANG B. I18N C. MESSAGES D. MSGS E. LC_MSGS

Correct Answer: A

QUESTION 14

When bash is invoked as an interactive login shell, which of the following sentences is true?

Ebay:helloearthexamdumps

A. It first reads and executes commands in /etc/profile and then does same for ~/.bash_profile and ~/.bashrc B. It first reads and executes commands in /etc/bashrc and then does same for /etc/profile C. It reads and executes commands in ~/.bashrc only if /etc/profile or another initialization script calls it. D. It ignores /etc/profile and only reads and executes commands in ~/.bashrc E. It first reads and executes commands in /etc/profile and then does same for ~/.bash_profile, ~/.bash_login and ~/.profile

Correct Answer: C

QUESTION 15

Why is the root file system mounted read-only during boot and remounted with write permission later on?

A. Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage. B. Because this way crackers cannot collect information about root with boot sniffers C. To avoid writing to the disk, unless the root password is known. D. To avoid other operating systems overwriting the Linux root partition E. Because the disk has its own write protection that cannot change by the operating system.

Correct Answer: A

QUESTION 16

A GRUB boot loader installed in the MBR was accidentally overwritten. After booting with a rescue CDROM, how can the lost GRUB first stage loader be recovered?

A. Use dd to restore a previous backup of the MBR B. Install LILO since there is no easy way to recover GRUB C. Running mformat will create a new MBR and fix GRUB using info from grub.conf

D. Run grub-install after verifying that grub.conf is correct. E. Run fdisk --mbr /dev/had assuming that the boot harddisk is /dev/hda.

Correct Answer: D

Ebay:helloearthexamdumps

C. The file-system is specified as ext2 in/etc/fstab. D. The system was not shut down cleanly.

Correct Answer: B

QUESTION 19

What is the name of the dovecot configuration variable that specifies the location of user mail?

A. mbox B. mail_location C. user_dir D. maildir E. user_mail_dir

Correct Answer: B

QUESTION 20

What is the missing keyword in the following configuration sample for dovecot which defines which authentication types to support? (Specify only the keywork) auth default {

Ebay:helloearthexamdumps

= plain login cram-md }

A. auth_order B. mechanisms C. methods D. supported

Correct Answer: B

QUESTION 21

What does the following procmail configuration section do? :0fw

  • < 256000 | /usr/bin/foo

A. procmail sends all email older than 256000 seconds to the external program foo B. If an email contains a value less than 256000 anywhere within it, procmail will process the email with the program foo C. procmail sends mail containing less than 256000 words to program foo D. The program foo is used instead of procmail for all emails larger than 256000 Bytes E. If the email smaller than 256000 Bytes, procmail will process it with the program foo

Correct Answer: E

Ebay:helloearthexamdumps

C. mount -o nolocking srvl:/data /mnt/data D. mount -o nolock srvl:/data /mnt/data E. mount -o nolock /data@srvl /mn/data

Correct Answer: D

QUESTION 25

In what mode is your FTP session when the client side makes the connections to both the data and command ports of the FTP server?

A. passive B. active C. impassive D. safe E. inactive

Correct Answer: A

QUESTION 26

Which of the following organisations track and report on security related flaws in computer technology? (Please select TWO answers)

A. Bugtraq B. CERT C. CSIS D. Freshmeat E. Kernel.org

Ebay:helloearthexamdumps

Correct Answer: AC

QUESTION 27

Which of the following Linux services has support for only the Routing Information Protocol (RIP) routing protocol?

A. gated B. ipchains C. netfilter D. routed E. zebra

Correct Answer: D

QUESTION 28

Which of the following is NOT included in a Snort rule header?

A. protocol B. action C. source IP address D. packet byte offset E. source port

Correct Answer: D

Ebay:helloearthexamdumps

QUESTION 31

Running sysctl has the same effect as:

A. Changing the kernel compilation parameters B. Writing to files inside /proc C. Changing process limits using ulimit D. Editing files inside /etc/sysconfig

E. There is no equivalent to this utility

Correct Answer: B

QUESTION 32

Which files are read by the lsdev command? (Please specify THREE answers)

A. /proc/dma B. /proc/filesystems C. /proc/interrupts D. /proc/ioports E. /proc/swaps

Correct Answer: ACD

QUESTION 33

Ebay:helloearthexamdumps

Which of the following describes the main purpose of strace?

A. Show the TCP/IP stack data, to help to solve network problems B. Help to follow the traces of intruders of the internal network C. Debug programs by displaying the original code of the program. It is a kind of "disassembler" D. Reverse engineer applications, resulting in the source code of the program E. Debug programs by monitoring system calls and reporting them

Correct Answer: E

QUESTION 34

The following data is some of the output produced by a program. Which program produced this output? strftime (" Thu", 1024, "%a", 0xb7f64380) = fwrite ("Thu", 3, 1, 0xb7f614e0) = fputc (' ', 0xb7f614e0) = strftime (" Feb", 1024, " %b", 0xb7f64380) = fwrite ("Feb", 3, 1, 0xb7f614e0) = fputc (' ', 0xb7f614e0) = fwrite ("19", 2, 1, 0xb7f614e0) =

A. lsof B. ltrace C. nm D. strace E. time

Ebay:helloearthexamdumps

A. Add the command to /etc/rc.local B. Create a script in ~/.kde/Autostart/ and place the command in it C. Create a script in /etc/init.d/ and place a link to it in /etc/rc2.d/ D. Create a script in /etc/rc2.d/ and place the command in it

Correct Answer: A

QUESTION 38

An administrator has placed an executable in the directory /etc/init.d, however it is not being executed when the system boots into runlevel 2. What is the most likely cause of this?

A. The script has not been declared in/etc/services B. runleve1 2 is not declared in /etc/inittab C. The script has the permissions 700 and is owned by root D. A corresponding link was not created in /etc/rc2.d

Correct Answer: D

Ebay:helloearthexamdumps

QUESTION 39

For an LDAP client configuration, the LDAP base needs to be set. Which TWO of the following actions would achieve that?

A. export LDAPBASE=dc=linuxfoo,dc=com

B. export BASE=dc=linuxfoo,dc=com C. Edit ldapbase.conf and add "BASE dc=linuxfoo,dc=com". D. Edit cldap.conf and add "BASE dc=linuxfoo,dc=com". E. Edit ldap.conf and add "BASE dc=linuxfoo,dc=com".

Correct Answer: AE

QUESTION 40

Which of the following options can be passed to a DHCP client machine using configuration options on the DHCP server?

A. The NIS domain name B. The resolving order in/etc/resolv.conf C. The priority order in nsswitch.conf D. The filter rules for iptables E. The contents of hosts.allow and hosts.deny

Correct Answer: A

QUESTION 41

Ebay:helloearthexamdumps