Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- Rsyslog is primarily used for which purpose in cybersecurity?
a. Email filtering
b. Log management and processing
c. File system monitoring
d. Network routing
Answer: b. Log management and processinglinuxjournal+1 - What is the main configuration file for rsyslog?
a. /etc/sysconfig.conf
b. /etc/rsyslog.conf
c. /opt/rsyslog/main.conf
d. /var/log/rsyslog.txt
Answer: b. /etc/rsyslog.confredhat - Which default port does rsyslog use for UDP log messages?
a. 8080
b. 514
c. 443
d. 25
Answer: b. 514forcepoint+1 - Which module enables rsyslog to receive logs over UDP?
a. imtcp
b. imfile
c. imudp
d. omrelp
Answer: c. imudpnewrelic+1 - In rsyslog, what does “TLS” provide?
a. Log compression
b. Transport encryption for secure log transmission
c. Tokenized logging
d. Virtual endpoint management
Answer: b. Transport encryption for secure log transmissionredhat+1 - What are rsyslog templates used for?
a. Defining log rotation
b. Customizing log output format
c. Compressing log files
d. Managing user permissions
Answer: b. Customizing log output formatrsyslog+1 - Which statement correctly describes rsyslog in cybersecurity?
a. It only collects logs locally.
b. It can aggregate, filter, and forward logs to remote servers.
c. It requires a GUI application to function.
d. It is used solely for network routing.
Answer: b. It can aggregate, filter, and forward logs to remote serverslinuxjournal+1 - What is the purpose of the imtcp module in rsyslog?
a. To optimize disk storage
b. To receive logs over TCP
c. To forward logs to New Relic
d. To handle mail server logs exclusively
Answer: b. To receive logs over TCPforcepoint+1 - Which of the following best describes the “action” directive in rsyslog?
a. Defines the log message format
b. Specifies where messages should be forwarded or stored
c. Encrypts the message body
d. Adds priority tags to logs
Answer: b. Specifies where messages should be forwarded or storedredhat+1 - Where are the rsyslog module configuration files usually stored?
a. /usr/logs/rsyslog/
b. /etc/rsyslog.d/
c. /opt/security/rsyslog/
d. /var/rsyslogs/
Answer: b. /etc/rsyslog.d/newrelic+1 - What does the placeholder %HOSTNAME% represent in a rsyslog template?
a. The IP address of the server
b. The system’s hostname sending the log
c. The date of the log
d. The user account name
Answer: b. The system’s hostname sending the logforcepoint+1 - Which driver in rsyslog is used for OpenSSL encryption?
a. gtls
b. ossl
c. tlsX
d. cryptd
Answer: b. osslrsyslog+1 - Which driver in rsyslog is used for GnuTLS encryption?
a. gtls
b. ossl
c. tlsX
d. cryptd
Answer: a. gtlsredhat - What protocol standard must rsyslog comply with when using TLS logging?
a. ISO 9001
b. IETF RFC 5425 (syslog over TLS)
c. IEEE 802.11
d. ISO 27001
Answer: b. IETF RFC 5425 (syslog over TLS)rsyslog+1 - What is the function of the omfile module in rsyslog?
a. Monitors network packets
b. Outputs messages to files on the local system
c. Encrypts message contents
d. Filters user logins
Answer: b. Outputs messages to files on the local systemredhat+1 - What is a common file extension for rsyslog configuration snippets?
a. .log
b. .conf
c. .txt
d. .cfg
Answer: b. .confsuccess.skyhighsecurity+1 - In cybersecurity monitoring, why is centralizing logs using rsyslog important?
a. To reduce CPU temperature
b. To simplify incident tracking and correlation
c. To isolate file systems
d. To increase data redundancy
Answer: b. To simplify incident tracking and correlationexamradar+1 - The rsyslog directive $ModLoad imudp indicates what?
a. Disabling UDP logging
b. Loading the UDP module for log collection
c. Setting TCP as the default
d. Loading file-based monitoring
Answer: b. Loading the UDP module for log collectionnewrelic - What does the $ActionSendStreamDriverAuthMode x509/name line enforce?
a. Log compression
b. Certificate-based authentication
c. Unencrypted transmission
d. Anonymous logging
Answer: b. Certificate-based authenticationrsyslog+1 - What is the default logging severity in rsyslog configuration if unspecified?
a. Critical
b. Informational
c. Notice
d. Error
Answer: b. Informationalrsyslog - Which term best describes rsyslog architecture?
a. Client-server
b. Peer-to-peer
c. Star network
d. Ring topology
Answer: a. Client-serverredhat+1 - Which component authenticates machines in TLS mutual authentication?
a. API token
b. X.509 certificate
c. PKI hash function
d. Root password
Answer: b. X.509 certificateredhat+1 - What is the default directory for rsyslog log files in most Linux distributions?
a. /usr/rsyslog
b. /etc/rsyslog.d
c. /var/log
d. /home/logs
Answer: c. /var/loglinuxjournal+1 - Which security attack is mitigated through TLS in rsyslog connections?
a. Phishing
b. Man-in-the-middle
c. Brute force
d. Rootkit injection
Answer: b. Man-in-the-middleblogs.oracle+1 - What command reloads rsyslog configuration after changes?
a. rsyslog –start
b. systemctl restart rsyslog
c. sysctl rsyslog reload
d. restart /etc/init.d/logging
Answer: b. systemctl restart rsyslogrsyslog+1 - In rsyslog filtering, what does “facility” refer to?
a. The security level
b. The source category of a log message
c. The output type
d. The transport method
Answer: b. The source category of a log messagersyslog - What directive specifies a remote syslog server in rsyslog?
a. @hostname
b. &hostname
c. +hostname
d. $hostname
Answer: a. @hostnameredhat+1 - What does “@@hostname” specify?
a. UDP logging
b. TCP logging
c. Local file only
d. Encrypted mail alerts
Answer: b. TCP loggingnewrelic+1 - What is the function of log rotation in cybersecurity logs?
a. Encrypts old logs
b. Prevents disk space exhaustion
c. Deletes all logs instantly
d. Moves logs to cache memory
Answer: b. Prevents disk space exhaustionexamradar+1 - Why should rsyslog configurations be secured with appropriate permissions?
a. To ensure GUI stability
b. To prevent unauthorized modification of logging behavior
c. To compress log data
d. To enable automatic backups
Answer: b. To prevent unauthorized modification of logging behaviorrsyslog+1 - What is the benefit of structured logging in rsyslog?
a. Reduces disk writes
b. Simplifies parsing and analysis
c. Encrypts every field automatically
d. Converts logs into XML only
Answer: b. Simplifies parsing and analysislinuxjournal+1 - What module is used in rsyslog to read log files?
a. imfile
b. imudp
c. imtcp
d. ommail
Answer: a. imfileredhat - Which directive is used to define templates in rsyslog?
a. $Template
b. Template()
c. define_template
d. @template
Answer: b. Template()forcepoint+1 - What type of authentication does TLS provide in rsyslog?
a. Hash-based
b. Mutual (two-way) authentication
c. One-time password
d. Unix socket
Answer: b. Mutual (two-way) authenticationredhat+1 - What does $ActionSendStreamDriverMode 1 designate?
a. Disk buffering
b. TLS encryption mode
c. Input stream delay
d. File writing control
Answer: b. TLS encryption modenewrelic+1 - What field can be used to filter messages by severity?
a. priority
b. level
c. sysprio
d. rank
Answer: a. priorityrsyslog - What is the rsyslog feature that buffers messages in case of connection loss?
a. Queue
b. Blocker
c. Pipe
d. Cache
Answer: a. Queuelinuxjournal+1 - Which utility often works alongside rsyslog for deeper SIEM analytics?
a. Wireshark
b. Splunk
c. VLC
d. Notepad++
Answer: b. Splunkscribd - What does the directive $DefaultNetstreamDriverCAFile specify?
a. Location of default security certificate
b. The default network path
c. The local hostname file
d. Output format
Answer: a. Location of default security certificateforcepoint+1 - What directive specifies a buffered disk queue location?
a. $WorkDirectory
b. $ConfigFile
c. $DataStore
d. $QueueDisk
Answer: a. $WorkDirectoryrsyslog - Why is rsyslog critical for Security Information and Event Management (SIEM)?
a. It generates new firewall rules
b. It centralizes and normalizes logs for analysis
c. It decrypts encrypted communication
d. It isolates network packets
Answer: b. It centralizes and normalizes logs for analysislinuxjournal+1 - What security model protects log integrity in rsyslog?
a. TLS encryption and mutual authentication
b. Shared key hashing only
c. Unauthenticated broadcast
d. Basic file write
Answer: a. TLS encryption and mutual authenticationrsyslog+1 - What facility does “authpriv” log messages belong to?
a. Authentication and authorization
b. Private VLAN
c. Network hardware logs
d. SELinux audit files
Answer: a. Authentication and authorizationredhat+1 - What is the effect of using &~ in rsyslog configuration?
a. Repeat message send
b. Stop further processing of the message
c. Encrypt the message line
d. End configuration block
Answer: b. Stop further processing of the messagenewrelic+1 - What does ommail module do?
a. Sends logs via email alerts
b. Logs messages to JSON format
c. Reads SMTP configuration
d. Filters warning-level logs
Answer: a. Sends logs via email alertsrsyslog - Which configuration allows rsyslog to forward logs over TLS?
a. @@hostname:6514
b. @hostname:514
c. hostname:8080
d. tcp://hostname
Answer: a. @@hostname:6514rsyslog+1 - What is the recommended way to limit access to rsyslog.conf?
a. chmod 600 /etc/rsyslog.conf
b. chmod 777 /etc/rsyslog.conf
c. chmod 400 /etc/rsyslog.conf
d. chmod 644 /etc/rsyslog.conf
Answer: a. chmod 600 /etc/rsyslog.confredhat+1 - Which Red Hat service can manage remote logging using rsyslog?
a. journald
b. systemd
c. journald with rsyslog forwarding
d. pamd
Answer: c. journald with rsyslog forwardingredhat+1 - What is the major advantage of rsyslog over traditional syslog?
a. Lack of modules
b. High performance and flexible module support
c. No dependency on TLS
d. Simple text-only output
Answer: b. High performance and flexible module supportlinuxjournal+1 - Why should private keys in rsyslog’s TLS configuration be protected?
a. To prevent unauthorized log compression
b. To maintain trust and security integrity of logging channels
c. To allow shared read access for analytics
d. To accelerate log compression
Answer: b. To maintain trust and security integrity of logging channelsblogs.oracle+1
- https://www.linuxjournal.com/content/streamline-your-logs-exploring-rsyslog-effective-system-log-management-ubuntu
- https://www.rsyslog.com/doc/index.html
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/deployment_guide/s1-basic_configuration_of_rsyslog
- https://help.forcepoint.com/fpone/deploy/rhtml/guid-bf49cae7-a1f5-471b-971d-db73fe7ab316.html
- https://newrelic.com/blog/how-to-relic/agentless-syslog-onboarding-new-relic-log-management
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/security_hardening/assembly_configuring-a-remote-logging-solution_security-hardening
- https://www.rsyslog.com/doc/tutorials/tls_cert_summary.html
- https://success.skyhighsecurity.com/Skyhigh_Secure_Web_Gateway_(On-Prem)/Secure_Web_Gateway_Product_Guide/Monitoring/Best_Practices_-_Sending_Access_Log_Data_to_a_Syslog_Server/Adapt_the_rsyslog.conf_system_file_for_sending_access_log_data
- https://examradar.com/security-monitoring-and-logging-a-core-defense-mechanisms-in-web-security-mcqs/
- https://blogs.oracle.com/scoter/post/secure-logserver-with-rsyslog-oracle-linux
- https://www.scribd.com/document/867200742/Network-Log-Analysis-MCQ
- https://www.sanfoundry.com/1000-cyber-security-questions-answers/
- https://www.scribd.com/document/516169743/Cyber-Security-MCQ-Set-1-5
- https://sharncommerce.org/wp-content/uploads/2024/03/B.com-V-Sem-NEP-Cyber-Security-Solved-MCQs.pdf
- https://www.yeahhub.com/40-cyber-security-mcq-answers-explanations/
- https://www.rsyslog.com/doc/configuration/index.html
- https://www.sanfoundry.com/cyber-security-questions-answers-firewalls-1/
- https://www.studocu.com/in/document/karnataka-state-akkamahadevi-womens-university/cyber-security/unit-1-mcqs-this-pdf-contains-mcqs-from-unit-1-of-cybersecurity/114363147
- https://technicalblog.in/languagewise-mcqs/cyber-security-mcq/
- https://pdfcoffee.com/cyber-security-mcq-set-1-5-pdf-free.html