testking A00-205 Exam :SAS Webaf Server-Side Application Development

SAS Webaf Server-Side Application Developmenttk a00-205 Interactive Testing Engine Included!
55 Questions
Updated : 09/18/2008
Price : $87.99 $79.99
QUESTION 1
An application has the following requirements:
The number of users is likely to grow rapidly.
There is a large number of users across multiple locations.
The application is dynamic and requires updates to be propagated quickly and easily.
There are a wide variety of client machines utilizing different hardware and software
platforms.
Which of the following technologies satisfies the above requirements?

A. SAS/AF application
B. Java applet
C. Java application
D. Server-side Java application

Answer: D

QUESTION 2
Assume the necessary import statements have been defined.
The relevant portion of the servlet code is shown below:
20 PrintWriter out=response.getWriter();
21 Calendar c = Calendar.getInstance();
22 if (c.get(Calendar.DAY_OF_MONTH)==1)
23 {
24 String message=”First Day of Month”;
25 }
26 out.println(message);
When the servlet is compiled, the following error message is generated:
Line #26 cannot resolve symbol (variable message)
Which of the following describes why an error was generated at line 26?

A. The PrintWriter class does not support the println() message.
B. The println() method requires additional parameters.
C. The message does not contain a value since it is not the first day of the month.
D. The message is used outside the scope to which it was defined.

Answer: D
QUESTION 3
Which of the following adds a third-party jar file to the classpath of a single web
application within a servlet container without modifying the classpath of other web
applications?

A. adding the jar file to the extensions directory of the Java Runtime Environment
B. adding the classpath element to the WEB-INF/web.xml file for the web application
C. adding the classpath in the web application’s index.jsp file
D. adding the jar file to the WEB-INF/lib directory of the web application

Answer: D
QUESTION 5
Assume the necessary import statements have been defined.
The relevant portion of servlet code is shown below:
17 public void doPost(javax.servlet.http.HttpServletRequest request,
18 javax.servlet.http.HttpServletResponse response)
19 throws javax.servlet.ServletException,java.io.IOException
20 {
21 // Note: Add User DO_POST code here
22 Rocf rocf = new Rocf();
23 session.setAttribute(“rocf”, rocf);
24 Connection connection1 = new Connection();
25 connection1.setHost(“localhost”);
26 session.setAttribute(“connection1″, connection1);
27 RequestDispatcher dispatcher =
28 getServletContext().getRequestDispatcher(“/index.jsp”);
29 dispatcher.forward(request, response);
30 }
When the servlet is compiled the following error messages are generated:
FILE: C:\ADS\webapps\test\WEB-INF\classes\beginServlet.java,
Line #23 cannot resolve symbol (variable session)
FILE: C:\ADS\webapps\test\WEB-INF\classes\beginServlet.java,
Line #26 cannot resolve symbol (variable session)
BUILD FAILED
Which of the following, if added between lines 21 and 22 of the servlet code, corrects the
error?

A. HttpSession session = getServletContext().getSession();
B. HttpSession session = new HttpSession();
C. HttpSession session = application.getSession();
D. HttpSession session = request.getSession();

Answer: D

QUESTION 6
An MDTable Custom Tag and an MDSegmentedBar Custom Tag referencing the same
model are used in the same JSP to display the same MDDB. Which of the following
approaches enables both components to maintain the same drill hierarchies when the user
navigates in either component?

A. Set the associatedGraph attribute of the MDTable to the id of MDSegmentedBar
component.
B. Create an MDCommandProcessor Custom Tag and set it as the commandProcessor
attribute on both the MDTable and MDSegmentedBar Custom Tags.
C. No action is required since the default behavior of referencing the same model is to
maintain the same drill hierarchies.
D. Set the associatedTable attribute of the MDSegmentedBar to the id of MDTable
component.

Answer: B
QUESTION 10
Which of the following attributes is used on a Form Custom Tag to specify the
destination of the form data when submitted?

Donwload Free PassGuide Braindumps-The Most Realistic Practice Questions and Answers,Help You Pass any Exams

A. target
B. method
C. submit
D. action

Answer: D

QUESTION 11
Which of the following can be conducted when using a multidimensional table viewer to
view an MDDB table using supplied parameters?
I. setting the border width
II. activating traffic lighting
III. enabling expand/collapse capability
IV. preventing the ability to view detail data

A. I, II, III, and IV
B. I, II, and III only
C. I and III only
D. I, III, and IV only

Answer: D

QUESTION 12
Which of the following are true regarding the Model 2 MVC type web application
architecture?

A. The servlet is the controller.
The JSP is the viewer.
The InformationBeans are the models.
B. The servlet is the controller.
The JSP is both the model and the viewer.
C. The JSP is both the controller and the viewer.
The servlet is the model.
D. The JSP is the controller.
The servlet is both the model and the viewer.

Answer: A
QUESTION 13
Which of the following JSP syntax constructs is the most helpful in maintaining a
consistent look and feel across pages?

A. expression
B. include directive
C. page directive
D. scriptlet

Answer: B

QUESTION 14
A user has been producing HTML pages using the Output Delivery System. The user
needs to add dynamic functionality that accesses SAS data through the use of JavaServer
Pages. Which of the following is required to meet this need?

A. A servlet container must be accessible by the web server.
B. The BROKER.EXE is required on the web server to access the SAS data.
C. The SAS System needs to be installed on the web server.
D. The Java Runtme Environment needs to be installed on all client machines.

Answer: A
QUESTION 15
An application prompts a user to enter a URL that the application will then retrieve.
The following constructor is seen in the Java documentation for java.net.URL:
public URL(String protocol,
String host,
int port,
String file)
throws MalformedURLException
Which of the following is true if the constructor is to be used?

A. The constructor would need to be placed in a throw/catch block and the Exception
object needs to be caught.
B. The constructor would need to be placed in a throw/catch block and the
MalformedURLException object needs to be caught.
C. The constructor would need to be placed in a try/catch block and the Exception object
needs to be caught.
D. The constructor would need to be placed in a try/catch block and the
MalformedURLException object needs to be caught.

Answer: D

QUESTION 16
From the context of application security, what is the significance of returning the session
ID to the client?

A. The session ID can be used to shut down the Java container.
B. The session ID can be used to recreate a session object that has timed out.
C. The session ID allows malicious access to another user’s active session.
D. The session ID is simply a label for the session and has no relevance to security.

Answer: C

QUESTION 18
A parent class implements a method named getUser() that is likely to be implemented in
subclasses. The method getUser() is restricted such that it can only be called within
parent class or subclass methods. Which of the following scopes must be specified for
getUser()?

A. public
B. private
C. abstract
D. protected

Answer: D
QUESTION 21
Which one of the following statements is true about the webAF Component Palette?

A. The Component Palette provides access to the Help facility for each component.
B. The Component Palette can not be customized.
C. The Component Palette for JSP/Servlet development is different from the Component
Palette for MDDB JSP/Servlet development.
D. The default Component Palette contains an icon for all SAS custom tags.

Answer: C

QUESTION 22
A servlet needs to access information in SAS and return it in the form of a String, a
Double, and an array of Strings. Which of the following is the method signature for the
SAS/AF class?

A. (CN[C])V
B. (CN[C)V
C. (CN{C})V
D. (CN{C)V
Free down:pass4sure sas a00-205
Free down:Testking a000-205

High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com

Type

Exam Bible New Questions & Answers

Latest Updated

Download link
PDF All Certbible 's Exam Dumps

597

1 days ago Available
Free PassGuide

PassGuide Training Materials & Practice Tests

free certification guide
Tags: ,

About the Author

Free Certification Exam Download has written 10018 stories on this site.

If you have any doubts about legality of content or you have another suspicions, feel free to contact us:CertGuard@Gmail.com

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

Copyright © 2010 CertBible – IT certifications Exams,Study Guide,Practice Test,Training Materials.. PassGuide,Pass4sure,Testking,Testinside,Pass4side,Certifyme,Transcender,Examworx,Topcerts,Actualtests. Cisco microsoft Comptia CCNA CCIE MCSE Oracle ccnp hp ibm citrix Sitemap