# Red Hat RHCSA EX200 practice exams

> RHCSA practice exams: 290 questions in 5 timed tests covering Understand and use essential tools. Every answer explained, with a score for each domain.

Page: https://devopscodelab.com/exams/redhat-ex200/

290 questions in 5 timed practice tests. Each test has about 61 questions and a 90-minute limit. The pass mark is 70%. Results are split across the 10 exam domains.

## Exam at a glance

| Setting | Value |
| --- | --- |
| Practice tests | 5 |
| Questions in total | 290 |
| Questions per test | About 61 |
| Time limit per test | 90 minutes |
| Pass mark | 70% |
| Question types | Single answer and multiple answer (22 multiple-answer questions) |
| Level | Associate |
| Category | DevOps & Cloud Native |

These are the settings of our practice tests. Check the official Red Hat exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| Understand and use essential tools | 14% | 41 |
| Manage software | 7% | 20 |
| Create simple shell scripts | 7% | 20 |
| Operate running systems | 13% | 38 |
| Configure local storage | 11% | 32 |
| Create and configure file systems | 10% | 29 |
| Deploy, configure, and maintain systems | 10% | 29 |
| Manage basic networking | 8% | 23 |
| Manage users and groups | 8% | 23 |
| Manage security | 12% | 35 |

## Price and access

- RHCSA practice exams: $12.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/redhat-ex200/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/redhat-ex200/free-practice-questions/

## Sample questions

### Question 1 of 3

An auditor needs every line in /etc/ssh/sshd_config that is neither empty nor a comment, so only active directives remain. Which command produces that list?

- A. grep -Ev '^(#|$)' /etc/ssh/sshd_config
- B. grep -E '^#|^$' /etc/ssh/sshd_config
- C. grep -v '#' /etc/ssh/sshd_config | grep -v ' '
- D. grep -c -v '^#' /etc/ssh/sshd_config

**Answer:** A

**Explanation:** The extended regular expression ^(#|$) matches lines that start with a hash or are completely empty, and -v inverts the match so only active directives are printed. Filtering any line containing # or a space also discards valid directives that contain spaces or trailing comments. Without -v the pattern prints exactly the comments and blank lines, and -c prints a count rather than the lines.

### Question 2 of 3

A dnf update performed an hour ago broke an application, and the administrator wants to revert exactly that transaction. Which approach is correct?

- A. Run rpm -Va to restore the files that the transaction modified to their earlier contents.
- B. Find the transaction ID with dnf history list, then run dnf history undo with that ID.
- C. Run dnf downgrade with no arguments to return every package to its previous release.
- D. Run dnf history rollback 0 to return the system to the state at installation time.

**Answer:** B

**Explanation:** dnf history list shows numbered transactions, and dnf history undo reverses a specific one by downgrading or removing the affected packages, as long as the older versions are still available. downgrade needs package names, rpm -Va only verifies files against the database, and rolling back to the first transaction would revert far more than the single faulty update.

### Question 3 of 3

A script is called as ./adduser.sh alice 'mary ann' bob and loops over its arguments. What is the effect of writing for name in "$@" compared with for name in "$*"?

- A. "$@" and "$*" behave identically when quoted, and both loop three times over the arguments
- B. "$@" loops over the arguments after the first; "$*" loops over every argument including $0
- C. "$@" loops four times because it splits 'mary ann'; "$*" loops three times, once per argument
- D. "$@" loops three times, once per argument; "$*" loops once over a single joined string

**Answer:** D

**Explanation:** Quoted $@ expands to each positional parameter as a separate word and keeps 'mary ann' intact, so the loop runs three times. Quoted $* joins all parameters into one word separated by the first character of IFS, so the loop runs once. Neither form includes $0, and quoted $@ never splits an argument at embedded spaces.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on Understand and use essential tools and Operate running systems, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the RHCSA practice exams

**Are these real RHCSA exam questions?**

No. We write every question ourselves and map it to the published RHCSA exam objectives. We do not use leaked or recalled questions.

**Do the time limit and pass mark match the official exam?**

They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.

**Can I try it before I pay?**

Yes. The free mini exam has 15 questions with full explanations and needs no account.

**How long do I keep access?**

A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.

**What happens after I finish a test?**

You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026.

DevOpsCode Lab is not affiliated with Red Hat. RHCSA and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
