I would like to add two different WS-Policy definitions to my SOAP-based Web service and I would like to give the service consumer the choice to comply to either policy. How can I do this? Select the correct answer.
Suggested Answer: D
Get Premium S90.02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
31 comments · newest first
SH
Shannon
11 months ago
I agree with B, it's the best approach for flexibility!
XO
Xochitl
12 months ago
Definitely not D, that’s just wrong.
GE
German
12 months ago
Wait, can you really group policies like that? Sounds too good to be true.
BE
Bernadine
1 year ago
I think A could work too, but B seems more efficient.
ME
Melinda
1 year ago
Option B is the way to go!
TI
Timothy
1 year ago
I’m pretty sure you can do this, so option D doesn’t make sense. I just can’t recall the exact details about how to implement it.
ER
Erin
1 year ago
I practiced a similar question where we had to choose between different policies, and I think option C sounds interesting, but it seems more complicated than necessary.
EV
Evangelina
1 year ago
I'm not entirely sure, but I feel like creating separate XML schemas for each policy isn't the best approach. That makes me lean towards option B as well.
SH
Sharen
1 year ago
I think I remember something about policy alternatives being used to give consumers a choice. Maybe option B is the right one?
CA
Catalina
1 year ago
Hmm, this seems straightforward. I think the key is understanding the purpose of replaying logfiles and how the GENEX Probe works in that context.
MA
Mari
1 year ago
This seems like a tricky one. I'll need to think through the options carefully to make sure I understand the requirements.
NO
Noelia
1 year ago
I heard you can also achieve this by creating two separate web services and flipping a coin to decide which one to call. Highly efficient, I know.
DE
Denny
1 year ago
B is the way to go. Although I'm curious, can I also serve the policies with a side of fries?
LO
Louvenia
1 year ago
B is the way to go. Although I'm curious, can I also serve the policies with a side of fries?
GE
Gerald
1 year ago
B) Create the two separate policies and group them in a policy alternative that is then associated with the service's WSDL definition.
BI
Billye
1 year ago
A) Create a separate XML schema for each policy and attach both XML schemas to the service's WSDL definition.
BU
Buck
1 year ago
D? Really? That's like saying I can't have two flavors of ice cream. Of course I can, and B is how I do it.
CE
Celestine
1 year ago
I was about to pick C, but then I realized that WS-Addressing headers are for a different purpose. B makes the most sense here.
OR
Oren
1 year ago
User 3: B makes sense, let's go with that.
KA
Katina
1 year ago
User 2: I agree, B seems like the best option.
MA
Marti
1 year ago
User 1: I think B is the correct answer.
RO
Rosio
2 years ago
I'm not sure, but I think option A could also work if we attach both XML schemas to the WSDL definition.
MI
Micheal
2 years ago
B is the correct answer. Grouping the two policies in a policy alternative and associating it with the WSDL is the way to go. Simple and straightforward.
FE
Felix
1 year ago
Definitely. It's a good way to handle multiple policy options in a SOAP-based Web service.
ST
Stevie
1 year ago
That makes sense. It gives flexibility to the consumer while keeping the implementation clean.
DE
Deeanna
1 year ago
That makes sense. It's good to give the service consumer the flexibility to choose which policy to comply with.
EL
Elroy
1 year ago
Yes, I agree. It allows the service consumer to choose which policy to comply with.
MI
Mitsue
1 year ago
I think the answer is B. Grouping the policies in a policy alternative seems like the best approach.
AZ
Azalee
1 year ago
B is the correct answer. Grouping the two policies in a policy alternative and associating it with the WSDL is the way to go. Simple and straightforward.
JA
Jamika
2 years ago
I agree with Leonida, option B makes sense because it allows for grouping the policies.
LE
Leonida
2 years ago
I think the correct answer is B.