Palo Alto Networks Certified Security Automation Engineer (PCSAE) — Question 34
Given an incident with three files, how could the name of the second file be referenced?
Answer options
- A. ${Files.[2].Name}
- B. ${Files.Name.[2]}
- C. ${File.[1].Name}
- D. ${File.Name.[1]}
Correct answer: C
Explanation
The correct answer is C: ${File.[1].Name} because file indexing typically starts at zero, making the second file indexed as 1. Options A and B incorrectly reference an array structure that does not conform to standard indexing practices, while D misuses the indexing format for accessing the second file.