pass4sure 9a0-702 dumps

11
www.Prepking.com Exam : Adobe 9A0-702 Title : ColdFusion MX 7 Developer Exam Version : R6.1

Upload: william-james

Post on 30-Mar-2016

212 views

Category:

Documents


0 download

DESCRIPTION

9a0-702,9a0-702exam,9a0-702examquestions,9a0-702dumps

TRANSCRIPT

   

  www.Prepking.com    

Exam : Adobe 9A0-702

Title : ColdFusion MX 7 Developer

Exam

Version : R6.1

   

  www.Prepking.com    

Prepking - King of Computer Certification

Important Information, Please Read Carefully

Other Prepking products A) Offline Testing engine Use the offline Testing engine product to practice the questions in an exam environment. B) Study Guide (not available for all exams) Build a foundation of knowledge which will be useful also after passing the exam. Latest Version We are constantly reviewing our products. New material is added and old material is updated. Free updates are available for 90 days after the purchase. You should check your member zone at Prepking and update 3-4 days before the scheduled exam date. Here is the procedure to get the latest version: 1.Go towww.Prepking.com 2.Click on Member zone/Log in (right side) 3. Then click My Account 4.The latest versions of all purchased products are downloadable from here. Just click the links. For most updates,it is enough just to print the new questions at the end of the new version, not the wholedocument. Feedback If you spot a possible improvement then please let us know. We always interested in improving product quality. Feedback should be send to [email protected]. You should include the following: Exam number, version, page number, question number, and your login ID. Our experts will answer your mail promptly. Copyright Each PDF file contains a unique serial number associated with your particular name and contact information for security purposes. So if we find out that a particular PDF file is being distributed by you, Prepking reserves the right to take legal action against you according to the International Copyright Laws. Explanations This product does not include explanations at the moment. If you are interested in providing explanations for this exam, please contact [email protected]. .

   

  www.Prepking.com    

1. What attribute of the <cffunction> tag is used to make a ColdFusion component method accessible as a

web service?

A. access = "public"

B. access = "remote"

C. webservice = "yes"

D. returnType = "webservice"

Answer: B

2. What are exception types for the <cfcatch> tag? (Choose THREE)

A. ftp

B. xml

C. lock

D. security

E. database

Answer: CDE

3. What attributes of the <cffunction> tag are optional in a ColdFusion component, but required if the

method is used as a web service? (Choose TWO)

A. Name

B. Roles

C. Access

D. ReturnType

Answer: CD

4. What happens to the data because the OUTPUT attribute is NOT used?

<cfwddx action="CFML2WDDX" input="#aCart#">

A. nothing the page returns a syntax error

B. data is serialized but no data is outputted

C. data is serialized and outputted to the page

D. data is serialized and placed in the special variable wOutput

Answer: C

5. What is added to a URL to access the WSDL content for a ColdFusion web service?

A. /wsdl

B. ?wsdl

C. wsdl=yes

D. method=wsdl

Answer: B

6. What expression displays the string "Corfield"?

   

  www.Prepking.com    

<employees>

<employee id="1">

<firstname>Raymond</firstname>

<lastname>Camden</lastname>

</employee>

<employee id="2">

<firstname>Sean</firstname>

<lastname>Corfield</lastname>

</employee>

</employees>

A. employees.employee.lastname[2]

B. employees.employee[2].lastname

C. employees.xmlchildren[2].lastname.xmlText

D. employees.xmlchildren[2].xmlchildren[2].lastname

Answer: C

7. What is added to publish a CFC method as a WebService method?

A. access="remote" attribute to the <cffunction> tag

B. webservice="true" attribute to the <cffunction> tag

C. access="remote" attribute to the <cfcomponent> tag

D. webservice="true" attribute to the <cfcomponent> tag

Answer: A

8. In what way are Web services consumed in a CFML page? (Choose TWO)

A. <cfhttp>

B. <cfinvoke>

C. <cfwebserver>

D. <cfcomponent>

E. createObject() within a <cfscript> block

Answer: BE

9. What is NOT a means for invoking a web service?

A. <cfhttp>

B. <cfinvoke>

C. <cfservice>

D. createObject()

Answer: C

10. In which order do the exception handling strategies listed provide increasingly more control over the

   

  www.Prepking.com    

application and code?

A. cferror ; cftry ; Site-Wide Error Template

B. Site-Wide Error Template ; cferror ; cftry

C. cftry ; Site-Wide Error Template ; cferror

D. Site-Wide Error Template ; cftry ; cferror

Answer: B

11. What is an SQL 'Left Outer Join'?

A. retrieves all rows from the LEFT table and only related rows from the RIGHT table

B. retrieves all rows from the RIGHT table and only related rows from the LEFT table

C. retrieves the related rows of the third table when the first two tables have an inner join

D. assigns NULL values to all empty columns in the LEFT table that do not match the RIGHT table

Answer: A

12. What <cfquery> attributes are used in the implementation of query-based caching? (Choose TWO)

A. cachedtime

B. cachedafter

C. cachedquery

D. cachedwithin

E. querycached

Answer: BD

13. What is NOT a valid method of caching a query recordset over time?

A. store the query object in the Application scope

B. use cachedWithin attribute of the <cfquery> tag

C. use the cachedAfter attribute of the <cfquery> tag

D. wrap the <cfcache> tag around the <cfquery> tag

Answer: D

14. What method is NOT used to return data to a ColdFusion page from a database stored procedure call?

A. <cfquery> tag to return result sets

B. <cfspresult> tag to return result sets

C. <cfprocresult> tag to return result sets

D. <cfprocparam> tag to return output parameters

Answer: B

15. In many development environments, URL or form variables in a dynamic query can append malicious

SQL statements to existing queries. What ColdFusion tag is needed to solve this problem?

A. <cfreturn>

B. <cfparameter>

   

  www.Prepking.com    

C. <cfqueryparam>

D. <cfprocessingdirective>

Answer: C

16. What tags are used to independently execute a stored procedure? (Choose TWO)

A. <cfquery>

B. <cfinvoke>

C. <cfexecute>

D. <cfstoredproc>

E. <cfprocparam>

Answer: AD

17. What clauses are valid for an SQL UPDATE statement? (Choose TWO)

A. SET

B. INTO

C. WHERE

D. VALUES

Answer: AC

18. How does the WHERE clause affect the SELECT statement?

SELECT *

FROM Employee

WHERE 1=1

A. an error occurs

B. returns the first row

C. all rows are returned

D. only returns the row with the primary key = 1

Answer: C

19. What condition is used in a WHERE clause to determine if a database column has a NULL value?

A. columnName = NULL

B. columnName = 'NULL'

C. columnName IS NULL

D. columnName IS 'NULL'

Answer: C

20. What is the problem with the cached query code?

<cfquery name="qGetEmp" datasource="Coffee_Valley"

cachedwithin="CreateTimeSpan(0,0,0,0)">

SELECT Emp_ID, Emp_Name, Salary

   

  www.Prepking.com    

FROM Employee

</cfquery>

A. cachedwithin is not a valid attribute of <cfquery>.

B. It is missing the pound signs around CreateTimeSpan().

C. Since there is no time value in the CreateTimeSpan() function, it will not work.

D. It should use the CreateDate() function instead of the CreateTimeSpan() function.

Answer: B

21. What is processed on a page during the first occurrence of the <cfflush> tag?

A. the current output buffer is discarded

B. custom HTTP response headers are returned to the client

C. HTML headers and any other available HTML are sent back

D. the interval attribute is set for the first hundred or more bytes

Answer: C

22. What tags can loop over a query result set? (Choose THREE)

A. <cfpop>

B. <cfloop>

C. <cfmail>

D. <cfoutput>

E. <cfdocument>

F. <cfprocparam>

G. <cfprocessingdirective>

Answer: BCD

23. What is done to cache charts?

A. configure chart caching in ColdFusion Administrator

B. use the cachelocation="diskcache" attribute in the <cfchart> tag

C. use the cachelocation="memorycache" attribute in the <cfchart> tag

D. use the cache="true" and cachelocation="diskcache" attributes in the <cfchart> tag

Answer: A

24. What attribute of the <cfform> tag is used to generate a Flash form?

A. flash = "yes"

B. style = "Flash"

C. format = "Flash"

D. loadSWF = "yes"

Answer: C

25. What type of reusable ColdFusion construct can be made available to a ColdFusion page by using

   

  www.Prepking.com    

<cfinclude>?

A. Custom Tags

B. User-defined functions

C. Built-in ColdFusion functions

D. ColdFusion Components (CFC)

Answer: B

26. What are the two valid values of the format attribute of the <cfdocument> tag?

A. PDF, Flash

B. DOC, SWF

C. PDF, FlashPaper

D. DOC, FlashPaper

Answer: C

27. What scope CANNOT be used to persist a structure?

A. <cfset client.stCars = stCars>

B. <cfset server.stCars = stCars>

C. <cfset session.stCars = stCars>

D. <cfset application.stCars = stCars>

Answer: A

28. What scope is modified inside the component instance named aComponent?

<cfset aComponent.value = 1>

A. This

B. Request

C. Attributes

D. Variables

Answer: A

29. Consider the custom tag call.

<cf_age fname="Douglas" lname="Adams" returnage="theAge">

The age variable is named AgeVar within the custom tag code. How is its value returned to the calling

page as the local variable, theAge?

A. <cfset theAge=AgeVar>

B. <cfset theAge=Evaluate(AgeVar)>

C. <cfset "caller.#attributes.returnage#"=AgeVar>

D. <cfset temp=ReturnToCaller(theAge, AgeVar)>

Answer: C

30. What cases will NOT be caught by the onError method? (Choose TWO)

   

  www.Prepking.com    

A. onSessionEnd error

B. Form validation error

C. onRequestStart error

D. onApplicationEnd error

Answer: AD

31. How is a query object named qProducts returned from within a method of a ColdFusion component?

(Choose TWO)

A. <cfreturn qProducts>

B. <cfresult #qProducts#>

C. <cfreturn value="#qProducts#">

D. <cfscript>return qProducts;</cfscript>

E. <cfreturn value=#qProducts# returnType="query">

Answer: AD

32. What is a true statement regarding custom tag attributes?

A. Attributes must be listed in the order they are defined.

B. Separate Attribute="Value" pairs using a comma in the custom tag call.

C. One <cfparam> tag is required of each attribute to test for its existence within the custom tag.

D. When referring to attributes within a custom tag, you must always use the ATTRIBUTES prefix.

Answer: D

33. What type of HTML control does NOT create a form variable if a value is NOT entered, selected, or

defaulted? (Choose TWO)

A. Text control

B. Select control

C. Password control

D. Radio Button control

E. Multiple Select control

Answer: DE

34. What is the value of the "access" attribute for the <cffunction> tag to open your ColdFusion component

for use in Macromedia Flash via Flash Remoting?

A. flash

B. public

C. private

D. remote

Answer: D

35. Why will this conditional statement fail?

   

  www.Prepking.com    

<cfset myVar = "a">

<cfif myVar = 3>

...

</cfif>

A. three is not surrounded by quotes

B. myVar is not surrounded by # signs

C. = is not a valid ColdFusion operator

D. a string value cannot be compared to a numeric value

Answer: C

36. What syntax is appropriate for looping over the above structure?

<cfset stCars = StructNew()>

<cfset stCars["make"] = "Ford">

<cfset stCars["model"] = "Coupe">

<cfset stCars["modelYear"] = "2004">

<cfset stCars["numbCylinders"] = "6">

A. <cfloop struct="#stCars#" index="i">

B. <cfloop collection="#stCars#" item="i">

C. <cfloop collection="#stCars#" index="i">

D. <cfloop from="1" to="#StructLen(stCars)# index = "i">

Answer: B

37. What is the ColdFusion tag that allows the use of a Java(TM) Server Page (JSP) tag library or to import

custom tags from a directory as a tag library?

A. <cfinput>

B. <cftaglib>

C. <cfimport>

D. <cfobject>

E. <cfinclude>

Answer: C

38. What ColdFusion tag is used to incrementally output long-running CFML page requests?

A. <cfflush>

B. <cfdump>

C. <cfcache>

D. <cfheader>

E. <cfschedule>

Answer: A

100% Pass Guaranteed or Full Refund

Word to Word Real Exam Questions from Real Test

Buy full version of exam from this link below

http://www.prepking.com/9A0-702.htm