SaidBen:
Question about mock exam #3: one of the questions in mock 3 was unclear, it asks to create multi-containers pod with env variables
and asks to set the value for those env variables
but no values were given in the question, do we decide what the value for each should be? I did set alpha=v1 and beta=v2 and was marked wrong. What am I missing?
Fernando Jimenez:
- env:
- name: name
value: alpha
.
.
- env:
- name: name
value: beta
SaidBen:
Thanks @Fernando Jimenez I think they said the name of the variables are: alpha for container-1 and beta for container-2 then asked to set the variables
SaidBen:
But they didn’t specify the values to be set
Fernando Jimenez:
I know it is a bit ambiguous. Please, look at the highlighted area. name: alpha
can be interpreted as a variable named name and the value is alpha or in another way, key: value. Also, you can watch the solution. I hope it helps.
Fernando Jimenez:
I do not think it was a mistake on your part. I had to think hard when I did it and I only was confirmed when I checked the solution. I think the question could have been rephrased better.