Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft PL-500 Exam - Topic 9 Question 18 Discussion

You create a variable named NewVar as shown in the configuration screen below.You attempt to set the value of NewVar to the following URL:The Set variable page alerts you that there is a syntax error. You need to resolve the issue. What should you do?
B) Replace the percent sign (%) with two percent signs (%%).
A) Escape the percent sign (%) with a back slash (\%).
C) Replace the forward slash characters (/) with two forward slash characters (//).
D) Escape the forward slash characters (/) with a back slash (V).

Microsoft PL-500 Exam - Topic 9 Question 18 Discussion

Actual exam question for Microsoft's PL-500 exam
Question #: 18
Topic #: 9
[All PL-500 Questions]

You create a variable named NewVar as shown in the configuration screen below.

You attempt to set the value of NewVar to the following URL:

The Set variable page alerts you that there is a syntax error. You need to resolve the issue. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Janna
7 months ago
Definitely not option C, that won't work!
upvoted 0 times
...
Jolanda
7 months ago
I thought replacing with two percent signs was correct?
upvoted 0 times
...
Azalee
7 months ago
Wait, are we sure about that? Seems a bit off.
upvoted 0 times
...
Erick
8 months ago
I agree, option A is the way to go.
upvoted 0 times
...
Tresa
8 months ago
You need to escape the percent sign with a backslash!
upvoted 0 times
...
Mendy
8 months ago
I thought escaping was usually done with a backslash, but I can't remember if that applies to both the percent and forward slash in this case.
upvoted 0 times
...
Franklyn
8 months ago
I feel like I saw something about using double characters for certain symbols, but I can't recall if it was for percent signs or slashes.
upvoted 0 times
...
Mona
8 months ago
I think we practiced a similar question where we had to replace percent signs. Maybe it's option B?
upvoted 0 times
...
Daren
8 months ago
I remember something about escaping characters, but I'm not sure if it's the percent sign or the forward slash that needs it.
upvoted 0 times
...
Dorothy
8 months ago
I'm a bit confused by this one. What exactly is a "disaster recovery effort" and how does that relate to an "Executive summary"? I'll have to think this through more carefully.
upvoted 0 times
...
Chauncey
8 months ago
Hmm, I'm a bit confused. The code shows a doGet() method, but the question asks about the service() method. I'll need to think this through carefully.
upvoted 0 times
...
Werner
8 months ago
Yeah, I agree with you both. Option A looks like the best choice here. Configuring path-thru content sdp on the voice service is the way to go to ensure the Unified Border Element doesn't get in the way of the video endpoints negotiating. I'm feeling good about this one.
upvoted 0 times
...
Catherin
1 year ago
Option B all the way! Replacing the percent sign with a pair of them is the best way to keep your URL in check. Although, if you really want to spice things up, you could try juggling forward slashes instead. Just a thought.
upvoted 0 times
...
Brinda
1 year ago
I'm feeling confident about B. Replacing the percent sign with two of them is the solution here. It's like a double-dose of URL magic, just what the doctor ordered!
upvoted 0 times
Janna
1 year ago
I'm sticking with B. Replacing the percent sign with two of them seems like the best solution.
upvoted 0 times
...
Lynelle
1 year ago
I disagree, I believe C is the right choice. You should replace the forward slash characters with two forward slash characters.
upvoted 0 times
...
Arlie
1 year ago
Definitely B. Two percent signs for the win! It's like a URL power-up.
upvoted 0 times
...
Anabel
1 year ago
I agree, B seems like the right choice. Double the percent signs, double the URL magic!
upvoted 0 times
...
Toi
1 year ago
I think B is the correct answer. It's all about that double percent sign magic.
upvoted 0 times
...
Buffy
1 year ago
I think A is the correct option. You need to escape the percent sign with a back slash.
upvoted 0 times
...
...
Dylan
1 year ago
Ah, the old URL issue. I'd say B is the way to go. Doubling up those percent signs is the best way to escape them. Unless you're into some sort of URL-based magic trick, of course.
upvoted 0 times
...
Douglass
1 year ago
I'm going with option B. Percent signs can be tricky, but doubling them up should do the trick. Easy peasy, lemon squeezy!
upvoted 0 times
Lajuana
12 months ago
I've encountered similar syntax errors before. Option B has worked for me in the past. Let's go with that.
upvoted 0 times
...
Leanora
12 months ago
I'm not so sure about option B. Maybe we should consider the other options before making a decision.
upvoted 0 times
...
Gayla
12 months ago
I agree, option B seems like the most logical choice to resolve the syntax error.
upvoted 0 times
...
Leanora
1 year ago
I think option B is the way to go. Doubling up the percent signs should fix the syntax error.
upvoted 0 times
...
Katlyn
1 year ago
No need to overthink it. Option B is the best solution for dealing with percent signs.
upvoted 0 times
...
Avery
1 year ago
I'm not sure about this one. Maybe we should consider the other options before making a decision.
upvoted 0 times
...
Therese
1 year ago
I agree, option B seems like the most logical choice to resolve the syntax error.
upvoted 0 times
...
Roosevelt
1 year ago
I think option B is the way to go. Doubling up the percent signs should fix the syntax error.
upvoted 0 times
...
...
Annabelle
1 year ago
I'm not sure, but I think B) Replace the percent sign (%) with two percent signs (%%) could also work.
upvoted 0 times
...
Tamekia
1 year ago
Hmm, that's an interesting one. I think the correct answer is B - replacing the percent sign with two percent signs. Gotta keep those special characters in check, you know?
upvoted 0 times
Leonie
1 year ago
Yeah, I agree. Special characters can be tricky sometimes.
upvoted 0 times
...
Willow
1 year ago
I think you're right, B sounds like the correct answer.
upvoted 0 times
...
...
Lonna
1 year ago
I agree with Mila. That's the best way to resolve the syntax error.
upvoted 0 times
...
Mila
1 year ago
I think the correct answer is A) Escape the percent sign (%) with a back slash (\\%).
upvoted 0 times
...

Save Cancel