Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified Network Associate Automation (CCNA Automation)

Domain 5Objective 12

12. Interpret a Unified Diff 200-901 Practice Questions (Page 1)

Part of the 5.0 Infrastructure and Automation domain, which accounts for 20% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 1–1 from this objective — we provide 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
5concepts
20%of the exam

Questions 1–5

  1. 1application · medium

    A network engineer is reviewing a unified diff for a device configuration file. The hunk header reads: @@ -12,5 +12,7 @@. The original file has 20 lines. After applying the diff, how many lines will the new version of the file have?

    Select an answer first
  2. 2foundation · easy

    In a unified diff, what information is typically found in the file header lines (--- and +++ lines)?

    Select an answer first
  3. 3expert · hard

    A network engineer is applying a unified diff to a configuration file. The diff contains the hunk `@@ -5,4 +5,5 @@` with the following lines: ` hostname R1`, `-interface GigabitEthernet0/0`, `+interface GigabitEthernet0/1`, `+ description Uplink`, ` ip address 192.168.1.1 255.255.255.0`. The engineer notices that the context line ` description Uplink` appears in the diff, but the original file does not contain that line. What is the most likely explanation?

    Select an answer first
  4. 4application · medium

    A network engineer is reviewing a unified diff for a configuration file. The diff header shows: --- config_v1.txt 2024-05-01 12:00:00 +++ config_v2.txt 2024-05-02 09:30:00 What can be inferred from the header?

    Select an answer first
  5. 5application · medium

    A network engineer is reviewing a unified diff for a configuration file. The hunk header reads: @@ -15,0 +16,2 @@. What does this header indicate?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “200-901” is a trademark of its owner, used for identification only.