Red Hat Certified Engineer RHCE Exam Questions & Answers

Practice 20 free Red Hat Certified Engineer RHCE exam questions with answers and community-discussed explanations. Each question has its own page where you can reveal the correct answer and debate it in the comments.

All 20 questions

  1. Q1 You are tasked with deploying an application that uses different versions of a configuration file depending on the environment (e.g., development, staging,…
  2. Q2 Your organization relies on a MySQL database for critical applications, and data backup is essential for disaster recovery. You are tasked with…
  3. Q3 You are tasked with managing sensitive data, such as database passwords, in an Ansible playbook. How would you use Ansible Vault to…
  4. Q4 A storage system in your environment is showing signs of I/O bottlenecks during peak usage hours, causing application performance to degrade. Using…
  5. Q5 You are tasked with updating a list of configuration files across multiple managed nodes. How would you use the copy or template…
  6. Q6 You are tasked with ensuring a playbook continues to run even if a specific task fails. How would you configure error handling…
  7. Q7 You are tasked with copying a configuration file from the control node to multiple managed nodes. How would you write an Ansible…
  8. Q8 You are running an Ansible playbook, and one of the tasks fails unexpectedly. How would you configure Ansible to continue running the…
  9. Q9 You are tasked with automating the deployment and management of Kubernetes clusters using an Ansible Content Collection. This collection includes roles specifically…
  10. Q10 Your organization requires a backup solution to archive log files from the /var/log directory of multiple servers daily and retain backups for…
  11. Q11 You are tasked with configuring a group of servers to act as web servers, with all necessary packages installed, the correct configuration…
  12. Q12 You need to configure firewall rules on managed nodes to ensure they persist after a reboot. How can you use Ansible's firewalld…
  13. Q13 You are asked to write a playbook that configures a web server to serve a static website. How would you use Ansible…
  14. Q14 You are configuring Ansible to use a static inventory for managing a hybrid environment, with some hosts in the cloud and others…
  15. Q15 You are required to configure a system-wide firewall rule that blocks incoming traffic on all ports except SSH and HTTPS. How would…
  16. Q16 You are tasked with automating a multi-tier application deployment that requires roles for the database, web server, and application server. How would…
  17. Q17 You need to ensure that all managed nodes have the latest updates installed from their respective repositories. How would you use the…
  18. Q18 You are managing a role that installs security patches but want to ensure that the patches are only applied during a maintenance…
  19. Q19 A Content Collection you’re using includes roles for configuring network devices. How would you ensure that the roles are applied to specific…
  20. Q20 You are tasked with managing a heterogeneous environment with both CentOS and Ubuntu servers. How would you use Ansible’s inventory and conditional…

More Red Hat certifications

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need