Dell E20-455 - Content Management Web Application Programming Exam

Question #11 (Topic: Topic 1)
What is the result of implementing the following fragment in web.xml?
<error-page>
<error-code>404</error-code>
<location>/VirtualLinkHandler</location>
</error-page>
A. The 404 page from the VirtualLinkHandler directory is used. B. The standard HTTP 404 error handling is used. C. A VirtualLinkHandler servlet for all HTTP 404 errors is used. D. The VirtualLinkHandler() method of the component behavior class is called for all HTTP 404 errors.
Answer: C
Question #12 (Topic: Topic 1)
Where are the WDK servlets defined?
A. app.xml B. wdk.xml C. web.xml D. server.xml
Answer: C
Question #13 (Topic: Topic 1)
What enforces a component's contract?
A. component class B. parameters C. component interface D. properties
Answer: B
Question #14 (Topic: Topic 1)
Where must component configuration files be located?
A. anywhere within application directories B. in the config directory only C. in the config directory and its subdirectories D. anywhere, since the location is configurable
Answer: C
Question #15 (Topic: Topic 1)
Given the following onInit() methods for two components:
In component A:
public void onInit(ArgumentList args)
super.onInit(args);
ArgumentList args2= new ArgumentList();
args2.add("MyArg", "MyValue");
setComponentNested ("B", args2, getContext(), this);
In component B:
public void onInit(ArgumentList args)
super.onInit(args);
String myVal = args.get("MyArg");
System.out.println (myVal);
The println statement returns null for myVal.
What is the likely cause of this?
A. ArgumentLists can not be passed between components. B. ArgumentLists always start out empty in onInit() methods. C. MyArg is not defined in the <params> element of the component definition B. D. The ArgumentList for component A is independent of the ArgumentList for component B.
Answer: C
Download Exam
Page: 3 / 31
Total 153 questions