exam questions

Exam PCSAE All Questions

View all questions & answers for the PCSAE exam

Exam PCSAE topic 1 question 2 discussion

Actual exam question from Palo Alto Networks's PCSAE
Question #: 2
Topic #: 1
[All PCSAE Questions]

Given an incident with three files, how could the name of the second file be referenced?

  • A. ${Files.[2].Name}
  • B. ${Files.Name.[2]}
  • C. ${File.[1].Name}
  • D. ${File.Name.[1]}
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Branodn
Highly Voted 3 years, 2 months ago
The answer is C ${File.[1].Name}
upvoted 14 times
...
ilgarmammadli2004
Most Recent 1 week ago
Selected Answer: C
Answer is C.You can practise it
upvoted 1 times
...
Jai_ke
4 months, 3 weeks ago
Selected Answer: C
C, This is because most indexing in arrays starts at 0, so the first file would be at index 0, and the second file would be at index 1.
upvoted 1 times
...
[Removed]
4 months, 3 weeks ago
Selected Answer: D
The correct answer is: D. ${File.Name.[1]}
upvoted 1 times
...
commonflavor
5 months, 3 weeks ago
Selected Answer: D
The answer is D. ${File.Name.[1]} For example, when retrieving parameters in a playbook, the first parameter is specified as File.Name.[0].
upvoted 1 times
...
piipo
10 months, 1 week ago
Selected Answer: C
C is Correct
upvoted 1 times
...
chucklepie
1 year ago
Why can't answers be changed? The answer is C
upvoted 2 times
...
TcanCmon
2 years ago
I just tested, File.[1].Name it is. Therefore, C (And the index is starting from 0)
upvoted 3 times
...
thorodp
2 years, 3 months ago
Selected Answer: D
D is correct, index starts from 0.
upvoted 1 times
cptcoggsworth
1 year, 8 months ago
D is incorrect because it is not the correct JSON path
upvoted 1 times
...
...
rmurugan
3 years, 3 months ago
A is the correct answer
upvoted 1 times
rafemuhammed
2 years, 6 months ago
Could you please confirm it? Index starts with 0 right so second file means index 1.
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago