A Job has two contexts defined: lest (the default) and Prod, and two context variables defined: path and server.
Which expression should you use to reference the path?
28 comments · newest first
GE
Gene
10 months ago
Not sure about B, feels too simple.
LA
Laila
10 months ago
Wait, is C even a valid syntax?
RI
Rima
10 months ago
I think the answer is B, context(path).
RO
Ronny
11 months ago
Definitely B! Makes the most sense.
SH
Shawana
11 months ago
I thought it was A at first, but B seems right.
HO
Hoa
11 months ago
I thought context.Tfblpdtr1 was a valid option, but it seems like it doesn't match the variable names given in the question.
CO
Corinne
11 months ago
I’m leaning towards D, but I’m a bit confused about whether it should include a comma or not.
JO
Joye
11 months ago
I remember practicing a similar question, and I feel like context.path was the right way to access it, but I can't recall if that's the exact format.
EU
Eulah
12 months ago
I think the answer might be B, but I'm not completely sure if the syntax is correct for referencing context variables.
SH
Shalon
12 months ago
I'm not totally sure about this, but I'm leaning towards option D. The wording seems to suggest we should reference both the context and the path variable.
LA
Layla
12 months ago
I'm feeling pretty confident about this one. The question is straightforward, and the context information provides a clear path to the right answer.
BO
Boris
1 year ago
Okay, I think I've got this. The key is to focus on the context variables defined in the question. I'll go with option B.
MO
Mozell
1 year ago
Hmm, I'm a bit confused by the wording here. I'll need to re-read the question a few times to make sure I understand what it's asking.
MA
Marg
1 year ago
This looks like a tricky one. I'll need to carefully read through the context information and think through the options.
RA
Ranee
1 year ago
Wait, is this a trick question? I bet the answer is 42. Just kidding, I'm going with B) context(path). Seems the most logical to me.
ET
Ettie
1 year ago
Ha! These options are a bit of a minefield. I'm going with D) context, path. Keeps it simple, you know?
DO
Dorian
1 year ago
User 2: Yeah, that seems like the simplest option.
RO
Rolande
1 year ago
User 1: I think D) context, path is the way to go.
ZA
Zack
1 year ago
Hmm, I'm not sure about this one. I was thinking C) contex,(test.Prod).path, but now I'm second-guessing myself. Context variables can be tricky.
CA
Carmen
1 year ago
B) context(path)
CO
Cornell
1 year ago
A) context.Tfblpdtr1
CA
Casie
1 year ago
I think the correct answer is B) context(path). It looks like the most straightforward way to reference the path context variable.
MA
Marylin
1 year ago
I'm not sure, but I think C) contex,(test.Prod).path might be the correct expression to reference the path.
JU
Julie
1 year ago
I would go with A) context.Tfblpdtr1. It seems like a more specific way to reference the path.
AN
Annabelle
1 year ago
I think the correct answer is B) context(path). It looks like the most straightforward way to reference the path context variable.
PU
Pura
1 year ago
I see your point, but I still think A) context.Tfblpdtr1 makes more sense
EV
Evangelina
1 year ago
I disagree, I believe the answer is C) contex,(test.Prod).path
PU
Pura
1 year ago
I think the answer is A) context.Tfblpdtr1