How would you display the differences in content between two configuration files, ‘config_old.txt’ and ‘config_new.txt’, highlighting only the lines that have been added or changed in ‘config_new.txt’?
To optimize their Docker image for a Python-based web application, a developer decides to use a multi-stage build process. What is the primary reason for using multi-stage builds in this context?
You want to create a symbolic link named ‘latest_report’ that points to a file named ‘annual_report_2023.txt’ within the same directory. Which command should you use?
A DevOps team is managing a fleet of servers across multiple data centers using a GitOps workflow. They want to ensure that any script executed for maintenance tasks is done so consistently and that the output from each server is captured for audit purposes. Which tool or approach would best fit this requirement within a GitOps framework?