GIAC
GSSP-JAVA · Question #14
GSSP-JAVA Question #14: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #14. The question stem and answer options stay visible for context.
Question
You work as a Programmer for InfoTech Inc and develop the following two <security-constraint> declarations. <security-constraint> <web-resource-collection> <web-resource-name>Manager</web-resource-name> <url-pattern>/acme/Manager/</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint/> </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>Manager</web-resource-name> <url-pattern>/acme/Manager/</url-pattern> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection> <auth-constraint> <role-name>Manager</role-name> </auth-constraint> </security-constraint> Which of the following statements is true about the <auth-constraint> in the code given above?
Options
- ANobody is allowed to access the specified resources.
- BOnly Manager is allowed to access the specified resources.
- CThe first <security-constraint> element declaration is incorrect.
- DIt is not possible to define the multiple security constraint on a single resource.
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.