Braindumps of 9A0-066
Adobe ColdFusion 8 ACE Exam
I have questions for you but I have only one suggestion
for you to just go for www.examcheats.net study material.
QUESTION NO: 1
You have a ColdFusion Component with a function that
returns the total number of arguments passed into this
function. You want to expose this function as a Web
service. Which tags and attributes should you use?
A. The <cfinvoke> tag with the invokeargument
B. The <cfobject> tag with the name and component
C. The <cfinvoke> tag with the component and method
D. The <cffunction> tag with the returntype and
QUESTION NO: 2
You create an RSS feed by using the following code:
<cffeed action=reate query= orderSelections# columnMap=
You need to put the metadata in a structure and the
entries as rows in a query object specified by the query
attribute. What should you do to?
A. Add the name attribute.
B. Delete thecolumnMap attribute.
C. Change theoutputFile path.
D. Adda properties attribute.
QUESTION NO: 3
You write the following code to consume a Web service.
<cfinvoke component=alidate method=alidateButton
returnvariable=sValidated > However, the code is
not working. What should you do to correct this code?
A. Useboolean as the returnvariable.
B. Use thewebservice attribute instead of the component
C. Use the <cffunction> tag instead of the <cfinvoke>
D. Use a different method name.
QUESTION NO: 4
You have a Web page that you want to display in a PDF
document format. Which tag should you use?
A. The <cfpdf> tag.
B. The < <cfdocument> tag.
C. The <cfpdfsubform> tag.
D. The <cfpdf> tag with the <cfdocument>
QUESTION NO: 5
Which prefix is required when you reference values that
are passed into a custom tag?
A. The Attributes prefix.
B. The Caller prefix.
C. The Variables prefix.
D. The Super prefix.
QUESTION NO: 6
You write code that changes a value in the application
scope. You are using the <cflock> tag to prevent
race conditions and do not want to lock the entire application
scope. What should you do?
A. Use the name attribute.
B. Use the type attribute.
C. Use the timeout attribute.
D. Use the output attribute.
QUESTION NO: 7
You are using four scopes within a pageRL, Variables,
Form, and CGI. Which of these four scopes is checked
first by ColdFusion?
QUESTION NO: 8
You want to use session variables in an application.
You have a single Application.cfm file that you use
in the application. You have enabled session management
in the ColdFusion Administrator. What should you do
to enable session variables within your application?
A. Use the <cfapplication> tag with sessionManagement=true.
B. Use the <cfset> tag with the This scope.
C. Use the <cfset> tag with the Session scope.
D. Use the <cfapplication> tag in the onApplicationStart()
QUESTION NO: 9
You use the <cflock> tag in an application named
orderSupplies. <cflock name=rderSupplies.penInventory
scope=pplication type=xclusive?timeout= > You receive
an error when this code is executed. What is causing
A. The application scope with the exclusive attribute.
B. The units for the timeout attribute.
C. The use of name and scope in the <cflock> tag.
D. The use of dot syntax in the nameattribute.
QUESTION NO: 10
You want to keep track of the number of visitors on
your Web site at any given time. Which variable scope
allows you to do this?
A. The session scope.
B. The request scope.
C. The application scope.
D. The cookie scope.
QUESTION NO: 11
Which statement about the following code is true?
1)<cfset a = 4>
2)<cfset b = 25>
3)<cfif a = b OR b = b>
4)c = 10
A. The left and right sides of the OR are evaluated
and both must be true in order for variable c to be
B. Variable c will be assigned with a value of 10.
C. Variable d will be assigned with a value of 15.
D. An error will occur.
QUESTION NO: 12
You create the following user-defined function. You
execute the code, but it does NOT work properly.
1) <cffunction name="tours">
2)<cfargument name="tourID" required="no"
3)<cfset tourList = "">
4)<cfquery name="queryUDF" datasource="sAdv">
8)Where tourID = #arguments.tourID#
Why is your function not working?
A. The function name is NOT unique.
B. You CANNOT use <cfset> inside a function.
C. The <cfargument> tag does NOT have a type attribute.
D. You do NOT have a <cfreturn> tag.