Pass Your RedHat EX200 Exam Easy!

RedHat EX200 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

EX200 Premium Bundle

$79.99

RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
RedHat EX200 Premium Bundle
RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

$79.99

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

RedHat EX200 Practice Test 117

Question 1160

A RHEL 10 web application requires a policy review for boolean httpd_can_network_connect. The operator must persistently enable the same selinux boolean. Which command is correct?

  1. setsebool httpd_can_network_connect on
  2. getsebool httpd_can_network_connect
  3. semanage boolean -l
  4. setsebool -P httpd_can_network_connect on

Explanation

Correct Answer

D:

The -P option makes the Boolean setting persistent across reboots This is the requested live or persistent Boolean action.

Incorrect Answers

A:

Without -P, setsebool modifies the runtime Boolean state but not persistent policy. The stated task is to persistently enable the same selinux boolean. Instead, `setsebool -P httpd_can_network_connect on` is the relevant alternative because the -P option makes the Boolean setting persistent across reboots.

B:

getsebool displays the effective value of the named SELinux Boolean. The stated task is to persistently enable the same selinux boolean. Instead, `setsebool -P httpd_can_network_connect on` is the relevant alternative because the -P option makes the Boolean setting persistent across reboots.

C:

semanage boolean -l enumerates Boolean names, states and descriptions. The stated task is to persistently enable the same selinux boolean. Instead, `setsebool -P httpd_can_network_connect on` is the relevant alternative because the -P option makes the Boolean setting persistent across reboots.

Question 1161

An administrator suggests setting all SELinux booleans related to httpd to on because one database connection is denied. Which safer decision follows Red Hat’s documented targeted-policy approach?

  1. Identify the relevant httpd_can_network_connect_db boolean and evaluate enabling only that permission
  2. Disable SELinux permanently to prevent future AVC messages
  3. Enable every httpd-related boolean without investigating the application data flow
  4. Run firewall-cmd --reload and assume SELinux booleans will also reset

Explanation

Correct Answer

A:

Using the specific database-connect boolean limits permission expansion to the documented capability the app actually needs.

Incorrect Answers

B:

Turning off all enforcement removes unrelated protections and does not diagnose the individual access rule.

C:

Broadly enabling switches may allow file and network actions beyond the approved database use case.

D:

Firewalld reload applies firewall configuration and does not selectively grant SELinux domain booleans.

Question 1162

A web application has been moved to /srv/myweb but httpd cannot read the files under enforcing SELinux. The intended httpd_sys_content_t fcontext mapping is already installed; the files still carry var_t. What action applies the expected label to existing files?

  1. semanage port -l
  2. restorecon -Rv /srv/myweb
  3. setsebool -P httpd_can_network_connect_db on
  4. firewall-cmd --reload

Explanation

Correct Answer

B:

Restorecon applies policy-defined default contexts to files already on disk, replacing the stale var_t labels.

Incorrect Answers

A:

Listing network port types cannot update the SELinux contexts of content under /srv/myweb.

C:

The database connection boolean cannot make the web server read mislabelled local web content.

D:

Firewall rule reload changes network access decisions and does not relabel local files.

Question 1163

A RHEL 10 administrator will host Apache content beneath /srv/customweb, which has the wrong default SELinux path type. Which command first registers a PERSISTENT default web-content type mapping for the directory and its descendants?

  1. setenforce 0
  2. semanage port -a -t http_port_t -p tcp 9876
  3. semanage fcontext -a -t httpd_sys_content_t "/srv/customweb(/.*)?"
  4. chown -R apache:apache /srv/customweb

Explanation

Correct Answer

C:

Semanage fcontext stores the path pattern and expected httpd_sys_content_t label; restorecon is then needed to apply it.

Incorrect Answers

A:

Permissive mode only suspends enforcement and does not create a durable correct file labeling policy.

B:

Changing a network port type can help a listener bind but does not label files in the custom web document tree.

D:

Changing DAC ownership does not set the mandatory SELinux type expected for HTTP content.

Question 1164

A RHEL 10 web application requires a policy review for boolean httpd_can_network_connect. The operator must display the current value of the boolean. Which command is correct?

  1. setsebool httpd_can_network_connect on
  2. setsebool -P httpd_can_network_connect on
  3. semanage boolean -l
  4. getsebool httpd_can_network_connect

Explanation

Correct Answer

D:

getsebool displays the effective value of the named SELinux Boolean This is the requested live or persistent Boolean action.

Incorrect Answers

A:

Without -P, setsebool modifies the runtime Boolean state but not persistent policy. The stated task is to display the current value of the boolean. Instead, `getsebool httpd_can_network_connect` is the relevant alternative because getsebool displays the effective value of the named SELinux Boolean.

B:

The -P option makes the Boolean setting persistent across reboots. The stated task is to display the current value of the boolean. Instead, `getsebool httpd_can_network_connect` is the relevant alternative because getsebool displays the effective value of the named SELinux Boolean.

C:

semanage boolean -l enumerates Boolean names, states and descriptions. The stated task is to display the current value of the boolean. Instead, `getsebool httpd_can_network_connect` is the relevant alternative because getsebool displays the effective value of the named SELinux Boolean.

Question 1165

Security operations sees SELinux AVC denials for a RHEL 10 service. Before changing mode, port labels or booleans, which evidence query retrieves today’s relevant audit records for analysis?

  1. ausearch -m AVC,USER_AVC,SELINUX_ERR,USER_SELINUX_ERR -ts today
  2. setenforce 0
  3. setsebool -P httpd_can_network_connect_db on
  4. firewall-cmd --permanent --add-service=http

Explanation

Correct Answer

A:

Ausearch selects SELinux-related audit message types from today, allowing the actual denied action and context to guide a narrow fix.

Incorrect Answers

B:

Changing to permissive mode before reading the denial evidence can hide the real authorization boundary.

C:

Enabling one specific boolean without confirming its relevance could grant permissions unrelated to the reported AVC.

D:

A permanent HTTP firewall rule cannot diagnose which SELinux policy check denied the action.

Question 1166

A RHEL 10 operator configures SSH access to node.example.test as ops. The immediate goal is to display the fingerprint of the local public key. Which command is appropriate?

  1. ssh-keygen -t ed25519
  2. ssh-keygen -lf ~/.ssh/id_rsa.pub
  3. ssh-copy-id ops@node.example.test
  4. ssh -o PreferredAuthentications=publickey ops@node.example.test

Explanation

Correct Answer

B:

ssh-keygen -lf prints fingerprint details for an existing public key file That is the required public-key authentication step.

Incorrect Answers

A:

ssh-keygen creates the local private key and matching public key, subject to host cryptographic policy It is a different client authentication or host-key operation. The stated task is to display the fingerprint of the local public key. Instead, `ssh-keygen -lf ~/.ssh/id_rsa.pub` is the relevant alternative because ssh-keygen -lf prints fingerprint details for an existing public key file That is the required public-key authentication step.

C:

ssh-copy-id adds the selected public key to the remote account authorized_keys list It is a different client authentication or host-key operation. The stated task is to display the fingerprint of the local public key. Instead, `ssh-keygen -lf ~/.ssh/id_rsa.pub` is the relevant alternative because ssh-keygen -lf prints fingerprint details for an existing public key file That is the required public-key authentication step.

D:

PreferredAuthentications=publickey requests public key authentication for the client test It is a different client authentication or host-key operation. The stated task is to display the fingerprint of the local public key. Instead, `ssh-keygen -lf ~/.ssh/id_rsa.pub` is the relevant alternative because ssh-keygen -lf prints fingerprint details for an existing public key file That is the required public-key authentication step.

Question 1167

A RHEL 10 operator configures SSH access to node.example.test as ops. The immediate goal is to try authenticating to the remote account using public keys only. Which command is appropriate?

  1. ssh-keygen -t ed25519
  2. ssh-copy-id ops@node.example.test
  3. ssh -o PreferredAuthentications=publickey ops@node.example.test
  4. ssh-keygen -lf ~/.ssh/id_rsa.pub

Explanation

Correct Answer

C:

PreferredAuthentications=publickey requests public key authentication for the client test That is the required public-key authentication step.

Incorrect Answers

A:

ssh-keygen creates the local private key and matching public key, subject to host cryptographic policy It is a different client authentication or host-key operation. The stated task is to try authenticating to the remote account using public keys only. Instead, `ssh -o PreferredAuthentications=publickey ops@node.example.test` is the relevant alternative because preferredAuthentications=publickey requests public key authentication for the client test That is the required public-key authentication step.

B:

ssh-copy-id adds the selected public key to the remote account authorized_keys list It is a different client authentication or host-key operation. The stated task is to try authenticating to the remote account using public keys only. Instead, `ssh -o PreferredAuthentications=publickey ops@node.example.test` is the relevant alternative because preferredAuthentications=publickey requests public key authentication for the client test That is the required public-key authentication step.

D:

ssh-keygen -lf prints fingerprint details for an existing public key file It is a different client authentication or host-key operation. The stated task is to try authenticating to the remote account using public keys only. Instead, `ssh -o PreferredAuthentications=publickey ops@node.example.test` is the relevant alternative because preferredAuthentications=publickey requests public key authentication for the client test That is the required public-key authentication step.

Question 1168

A RHEL 10 operator configures SSH access to node.example.test as ops. The immediate goal is to inspect advertised ssh host public keys before a connection. Which command is appropriate?

  1. ssh-keygen -t ed25519
  2. ssh-copy-id ops@node.example.test
  3. ssh -o PreferredAuthentications=publickey ops@node.example.test
  4. ssh-keyscan node.example.test

Explanation

Correct Answer

D:

ssh-keyscan retrieves host public keys, but their authenticity must still be validated separately That is the required public-key authentication step.

Incorrect Answers

A:

ssh-keygen creates the local private key and matching public key, subject to host cryptographic policy It is a different client authentication or host-key operation. The stated task is to inspect advertised ssh host public keys before a connection. Instead, `ssh-keyscan node.example.test` is the relevant alternative because ssh-keyscan retrieves host public keys, but their authenticity must still be validated separately That is the required public-key authentication step.

B:

ssh-copy-id adds the selected public key to the remote account authorized_keys list It is a different client authentication or host-key operation. The stated task is to inspect advertised ssh host public keys before a connection. Instead, `ssh-keyscan node.example.test` is the relevant alternative because ssh-keyscan retrieves host public keys, but their authenticity must still be validated separately That is the required public-key authentication step.

C:

PreferredAuthentications=publickey requests public key authentication for the client test It is a different client authentication or host-key operation. The stated task is to inspect advertised ssh host public keys before a connection. Instead, `ssh-keyscan node.example.test` is the relevant alternative because ssh-keyscan retrieves host public keys, but their authenticity must still be validated separately That is the required public-key authentication step.

Question 1169

A non-FIPS RHEL 10 workstation needs a new SSH client keypair for an administrator who will use public-key login. The user wants the Ed25519 algorithm explicitly rather than the default key type. Which command creates it?

  1. ssh-keygen -t ed25519
  2. ssh-copy-id ops@node.example.test
  3. ssh-keygen -lf ~/.ssh/id_ecdsa.pub
  4. ssh-add ~/.ssh/id_ecdsa

Explanation

Correct Answer

A:

The -t ed25519 selector generates an Ed25519 private/public key pair on a non-FIPS system.

Incorrect Answers

B:

Copy-id installs a public key on a remote account but does not create the local private/public key pair.

C:

-lf prints a fingerprint of an existing key; it cannot create the requested new key material.

D:

Ssh-add loads an existing private key into an agent rather than generating the key pair.

Question 1170

A RHEL 10 operator configures SSH access to node.example.test as ops. The immediate goal is to install the existing local public key on the remote user account. Which command is appropriate?

  1. ssh-keygen -t ed25519
  2. ssh-copy-id ops@node.example.test
  3. ssh -o PreferredAuthentications=publickey ops@node.example.test
  4. ssh-keygen -lf ~/.ssh/id_rsa.pub

Explanation

Correct Answer

B:

ssh-copy-id adds the selected public key to the remote account authorized_keys list That is the required public-key authentication step.

Incorrect Answers

A:

ssh-keygen creates the local private key and matching public key, subject to host cryptographic policy It is a different client authentication or host-key operation. The stated task is to install the existing local public key on the remote user account. Instead, `ssh-copy-id ops@node.example.test` is the relevant alternative because ssh-copy-id adds the selected public key to the remote account authorized_keys list That is the required public-key authentication step.

C:

PreferredAuthentications=publickey requests public key authentication for the client test It is a different client authentication or host-key operation. The stated task is to install the existing local public key on the remote user account. Instead, `ssh-copy-id ops@node.example.test` is the relevant alternative because ssh-copy-id adds the selected public key to the remote account authorized_keys list That is the required public-key authentication step.

D:

ssh-keygen -lf prints fingerprint details for an existing public key file It is a different client authentication or host-key operation. The stated task is to install the existing local public key on the remote user account. Instead, `ssh-copy-id ops@node.example.test` is the relevant alternative because ssh-copy-id adds the selected public key to the remote account authorized_keys list That is the required public-key authentication step.


Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests

Purchase Individually

EX200 Premium File

Premium File
EX200 Premium File
111 Q&A
$76.99$69.99

EX200 Training Video Course

Training Course
EX200 Training Video Course
71 Lectures
$27.49$24.99

EX200 Study Guide

Study Guide
EX200 Study Guide
1601 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.