Skip to main content
Red Hat ⭐ Premium ⭐ Featured

Red Hat Certified System Administrator (EX200) - 340 Questions

By Webmaster Certland English ❤️ 0 likes

Practice exam for the Red Hat Certified System Administrator (RHCSA) EX200 certification based on RHEL 10. Covers essential tools, shell scripting, storage, LVM, services, boot process, security, SELinux, networking, users, groups, and containers.

🔒

Premium Content

This exam is exclusive to Premium users. Upgrade to get unlimited access!

Become Premium

👁️ Free Preview (5 of 340 questions)

1. A system administrator needs to display the last 20 lines of a log file called /var/log/messages. Which command accomplishes this?

A head -n 20 /var/log/messages
B tail -n 20 /var/log/messages
C cat -20 /var/log/messages
D less +20 /var/log/messages

2. A user wants to redirect both standard output and standard error from a command called `build.sh` into a single file named output.log, overwriting any existing content. Which command achieves this?

A ./build.sh 2>&1 > output.log
B ./build.sh >> output.log 2>&1
C ./build.sh > output.log 2>&1
D ./build.sh > output.log 2> output.log

3. A system administrator needs to search for all lines in /etc/passwd that begin with the letter 'r'. Which grep command is correct?

A grep '^r' /etc/passwd
B grep 'r$' /etc/passwd
C grep '.r' /etc/passwd
D grep 'r*' /etc/passwd

4. A junior administrator wants to connect to a remote server at 192.168.1.50 as the user 'deploy' using SSH. Which command is correct?

A ssh 192.168.1.50 -user deploy
B ssh deploy@192.168.1.50
C connect deploy 192.168.1.50
D ssh -U deploy 192.168.1.50

5. A system administrator needs to switch to the root user and also load root's full login environment including the PATH and home directory. Which command accomplishes this?

A su root
B sudo -s
C su -
D login root

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.