Quiz
LPIC - 3 - Security - 303 - 300
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (60)
1Which directive is used in an OpenVPN server configuration to send network configuration information to the client?
- Apush
- Bpull
- Crelay
- Dsend
2Which scripting language is used for creating network vulnerability tests in OpenVAS?
- APython
- BNASL
- CNVTL
- DJava
3What is the purpose of IP sets?
- AThey group together IP addresses that can be referenced by netfilter rules.
- BThey group together IP addresses that are assigned to the same network interfaces.
- CThey group together IP addresses and networks that can be referenced by the network routing table.
- DThey group together IP and MAC addresses used by the neighbors on the local network.
4Which command will capture traffic originating from the network 10.1.0.0/24?
- Atcpdump src net 10.1.0.0/24
- Btcpdump source network 10.1.0.0/24
- Ctcpdump src.net 10.1.0.0/24
- Dtcpdump source.network 10.1.0.0/24
5This file must be sent to a CA in order to receive a signed certificate back from the CA.
- ACSR
- BPrivate key file.
- CCAR
- DSAN
6Fill in the blank: The notion that a subject accessing a resource must have the same label as the resource it is trying to access is known as _____________.
- AType Enforcement
- BLabel Enforcement
- CLabel Validation
- DType Validation
7An X509 certificate contains the following information:
X509v3 Basic Constraints: critical
CA:TRUE, pathlen:0
Which of the following statements are true regarding the certificate? (Select two)- AThis certificate belongs to a certification authority.
- BThis certificate may be used to sign end-entity certificates.
- CThis certificate may be used to sign certificates of other certification authorities.
- DThis certificate uses at least an 8096 bit private key length.
8Which utilities are designed to check for rootkits?
- Arkhunter
- Bchkrootkit
- Ccheckrk
- Drkdetect
9Grub allows you to set a password to secure a system in which of the following ways?
- ABy requiring authentication to edit boot parameters at boot time.
- BBy requiring authentication to edit files in /proc at runtime.
- CBy requiring authentication to update the kernel.
- DBy requiring authentication to edit files in /boot at runtime.
10What happens when the command getfattr afile is run while the file afile has no extended attributes set?
- ANo output is produced, and getfattr exits with a value of 0.
- Bgetfattr prints a warning and exits with a value of 1.
- Cgetfattr prints a warning and exits with a values of 0.
- DNo outputs is produced, and getfattr exits with a value of 1.
11Which of the following command lines sets the administrator password for ntop to testing123?
- Antop --set-admin-password=testing123
- Bntop --set-password=testing123
- Cntop --set-new-password=testing123
- Dntop --reset-password=testing123
12Which of the following commands is used to edit kernel parameters?
- Asysedit
- Bsysctl
- Csystemctl
- Dsystemedit
13Which command will return the most detail on the target host?
- Anmap -sn -V4 10.1.0.100
- Bnmap -sn -V1 10.1.0.100
- Cnmap -sn -T3 10.1.0.100
- Dnmap -sn -T1 10.1.0.100
14Which directive in an Apache HTTPD configuration file may enable or disable OCSP stapling?
- ASSLOCPStapling
- BSSLUseStapling
- Csslocspstapling
- Dsslusestapling
15Which command will remove the extended attribute flag in the trusted namespace from the testfile?
- Asetfattr -x trusted.flag testfile
- Bsetfattr -x flag -n trusted testfile
- Csetfattr -m flag -n trusted testfile
- Dsetfattr -m trusted.flag testfile
16Which of the following parameters of openssl s_client specifies the hostname to use the TLS Server Name Indication?
- A-tlsname
- B-sniname
- C-host
- D-servername
17Which of the following authentication methods was added to NFS in version 4?
- AKerberos authentication
- BNTLM authentication
- CSSL certificate authentication
- DWinbind authentication
18Which DNS label points to the DANE information used to secure HTTPS connections to https://
- Asoa.example.com
- Bexample.com._443_tcp
- C443.tcp.www.example.com
- D_443._tcp.www.example.com
19Which of the following commands displays all ebtable rules contained in the table filter including their packet and byte counters?
- Aebtables -t filter -L --Lc
- Bebtables -L -t filter -Lv
- Cebtables -t nat -L -v
- Debtables -t filter -Ln -L
20What option of mount.cifs specifies the user that appears as the local owner of the files of a mounted CIFS share when the server does not provide ownership information?
- Auid
- Bid
- Ccruid
- Dforceuid
21What is the purpose of the program snort-stat?
- AIt reads syslog files containing Snort information and generates port scan statistics.
- BIt displays statistics from the running Snort process.
- CIt returns the status of all configured network devices.
- DIt reports whether the Snort process is still running and processing packets.
22What command is used to update NVTs from the OpenVAS NVT feed?
- Aopenvas-nvt-sync
- Bopenvas --sync-nvt
- Copenvas-sync-nvt
- Dopenvas --nvt-sync
23Which of the following stanzas is a valid client configuration for FreeRADIUS?
- Aclient private-network-1 { ipaddr = 192.0.2.0/24 secret = testing123-1 }
- Bclient private-network-1 { ipaddr = 192.0.2.0/24 password = testing123-1 }
- Cclient private-network-1 { ip = 192.0.2.0/24 password = testing123-1 }
- Dclient private-network-1 { ip = 192.0.2.0/24 secret = testing123-1 }
24Which of the following expressions are valid AIDE rules?
- A/etc p+i+u+g
- B!/var/run/.*
- C/usr=all
- Dappend: /var/log/*
25Which of the following components are part of FreeIPA? (Choose TWO correct answers.)
- APublic Key Infrastructure
- BKerberos KDC
- CDHCP Server
- DFTP Server
26Which of the following components are part of FreeIPA? (Choose TWO correct answers.)
- AA TGT.
- BA service ticket.
- CA key.
- DA realm.
27Which flag must be set when issuing a CA public key with the openssl req command?
- A-ca
- B-set_serial
- C-signing
- D-set_signing
28Which subcommand of ipa adds a user to an existing group?
- Agroup-member-add
- Bgroup-add-user
- Cgroup-add-member
- Dgroup-user-add
29Which command installs and configures a new FreeIPA server, including all sub-components, and creates a new FreeIPA domain?
- Aipa server-install
- Bipa-server-install
- Cserver-install-ipa
- Dserver-ipa-install
30When OpenVPN sends a control packet to its peer, it expects an acknowledgment in 2 seconds by default. Which of the following options changes the timeout period to 5 seconds?
- A-- tls- timer 500
- B-- tls- timer 5
- C-- tls-timeout 5
- D-- tls- timeout 500
31Which of the following are valid settings in the conf.maldet file? (seleccion two=
- Aautoupdate_signitures
- Bautoupdate_clam
- Cautoupdate_defs
- Dautoupdate_version
32How does TSIG authenticate name servers in order to perform secured zone transfers?
- ABoth servers use a secret key that is shared between the servers.
- BBoth servers mutually verify their X509 certificates.
- CBoth servers verify appropriate DANE records for the labels of the NS records used to delegate the transferred zone.
- DBoth servers use DNSSEC to mutually verify that they are authoritative for the transferred zone.
33Which of the following keywords are built-in chains for the iptables NAT table? (selection two)
- APREROUTING
- BPOSTROUTING
- CBROUTE
- DMASQUERADE
34Which configuration file allows for ID mapping in NFSv4?
- A/etc/mapid.conf
- B/etc/idmapd.conf
- C/etc/idmapper.conf
- D/etc/exports
35Out of the following choices, which is the most current transport layer security protocol?
- ASSLv4
- BTLS 1.2
- CTLS 2.0
- DSSLv3
36Which of the following is true of both cryptmount and encfs?
- AThey do not require super-user permissions.
- BThey use the same code base.
- CThey both work with eCryptfs.
- DThey both operate only on block devices.
37Which of the following are valid configuration options for the domain sections within the System Service Security Daemon (SSSD) configuration file? (Choose TWO correct answers.)
- Aservice_type
- Bauth-provider
- Cmin_id
- Did_provider
38Which of the following database names can be used within a Name Service Switch (NSS) configuration file? (selection two)
- Ausers
- Bpasswd
- Cfile
- Dgroup
39How can a user authenticate a website using a signed certificate?
- ABy verifying the certificate with the signing CA.
- BBy checking the certificate signature.
- CBy verifying the chain of trust.
- DBy verifying the certificate with the intermediary.
40Given that a LUKS device containing an ext4 filesystem was mapped using the command cryptsetup luksOpen /dev/sda2 secret, which command will mount the device to /mnt/protected?
- Amount -t ext4 /dev/mapper/secret /mnt/protected
- Bmount -t xt4 /dev/sda2.secret /mnt/potected
- Cmount -t ext4 /dev/sda2 /mnt/protected
- Dmount -t ext4 /dev/mapper/sda2.secret /mnt/protected
41Which command is used to run a new shell for a user changing the SELinux context?
- Ash
- Bnewrole
- Csemanage
- Druncon
42A DO bit set to 1 indicates which of the following?
- ADNSSEC responses are understood by the DNS client.
- BDNSEC responses are not understood by the DNS client.
- CDNSSEC signatures have not been validated in the provided response.
- DDNSSEC signatures have been validated in the provided response.
43Which of the following are differences between AppArmor and SELinux?
- ASELinux stores information in extended file attributes. AppArmor does not maintain file specific information and states.
- BAppArmor is implemented in user spaces only. SELinux is a Linux Kernel Module
- CAppArmor is less complex and easier to configure than SELinux.
- DAppArmor neither requires nor allows any specific configuration. SELinux must always be manually configured.
44Which PAM module is used to track user login attempts and lockout accounts that have failed login too many consecutive times?
- Apam_tally2
- Bpam_lock
- Cpam_tally2.1
- Dpam_lock3
45Which of the following resources of a shell and its child processes can be controlled by the Bash built-in command ulimit? (Selection two)
- AThe maximum number of environment variables.
- BThe maximum number of user processes
- CThe maximum number of newly created files
- DThe maximum size of written files.
46Which kernel database is used to determine if IPSec applies to a given packet?
- ASecurity Application Database
- BSecurity Policy Database
- CSecurity Association Database
- DSecurity Permission Database
47Which RR is specifically used by DANE?
- ANSEC3
- BRRSIG
- CTLSA
- DADANE
48Which iptables option will cause a packet to be deleted and send no response information back?
- A-J DROP
- B-j DROP
- C-j REJECT
- D-J REJECT
49Which command will make the current firewall rule set persist a reboot?
- Aiptables-save > /etc/sysconfig/iptables
- Biptables --save /etc/iptables/rules.conf
- Ciptables --save /etc/sysconfconfig/iptables
- Diptables-save > /etc/iptables/rules.conf
50Which command in the Linux Audit system provides searching and filtering of the audit log?
- Aaureport
- Baufilter
- Caudisplay
- Dausearch
51Which command revokes ACL-based write access for groups and named users on the file afile?
- Asetfacl -m mask: : rx afile
- Bsetfacl -m group: * : rx, user :*: rx afile
- Csetfacl -x mask: : rx afile
- DA. setfacl -x group:: rx, user:: rx afile
52Which of the following statements is true regarding eCryptfs?
- AAfter unmounting an eCryptfs directory, the directory hierarchy and the original file names are still visible, although, it is not possible to view the contents of the files.
- BeCryptfs cannot be used to encrypt raw devices.
- CeCryptfs does not support PAM integration.
- DWhen a user changes their login password, the contents of their eCryptfs home directory has to be re-encrypted using their new login password.
53Which of the following are valid commands that may be used to manipulate local SSSD domains?
- Asss_clear
- Bsss_obfuscate
- Csss_cache
- Dsss_init
54How are SELinux permissions related to standard Linux permissions?
- ASELinux permissions override standard Linux permissions.
- BSELinux permissions are verified before standard Linux permissions.
- CSELinux permissions are verified after standard Linux permissions.
- DStandard Linux permissions override SELinux permissions.
55Which command generates a new x509 self-signed keypair using the private key stored in key.pem?
- Aopenssl makereq -utf8 -new -key key.pem -x509 -days 365
- Bopenssl makereq -utf8 -new -key key.pem -days 365
- Copenssl req -utf8 -new -key key.pem
- Dopenssl req -utf8 -new -key key.pem -x509 -days 365
56Which command would be used to generate a private key?
- Aopenssl x509 - new
- Bopenssl genrsa
- Copenssl ca -new
- Dopenssl makersa
57Which command sets the lifetime for a DNSSEC key?
- Adnssec-expiretime
- Bdnssec-keyexpire
- Cdnssec-keytime
- Ddnssec-settime
58Which of the following commands adds a new group marketing to an locally existing FreeIPA domain?
- Aipa-admin --groupadd marketing
- Bipa-group-add marketing
- Cipa group-add marketing
- Dgroupadd marketing --ldap ipa
59Which command enables the OpenVPN server on boot?
- Asystemctl enable openvpn@server
- Bsystemctl start openvpn@server
- Csystemctl start openvpn
- Dsystemctl enable openvpn
60Which of the following statements are valid Wireshark capture filters?
- Aport-range tcp 10000-15000
- Bport range 10000:tcp-15000:tcp
- Cportrange 10000-15000 and tcp
- Dtcp portrange 10000-15000
Information
- Description
- Grado Superior LPIC - 3 Security Quiz on LPIC - 3 - Security - 303 - 300, created by Carlos Jara Alva on 30/07/2024.
- Author
- Carlos Jara Alva
- Language
- Español
- Views
- 4
- Tags
- Rating
- No ratings yet Rate this quiz