Adobe® ColdFusion® 8 Exam
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 attribute.
B. The <cfobject> tag with the name and component attributes.
C. The <cfinvoke> tag with the component and method attributes.
D. The <cffunction> tag with the returntype and access attributes.
You create an RSS feed by using the following code:
<cffeed action=reate query= orderSelections# columnMap= colMapStructure#
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 the columnMap attribute.
C. Change the outputFile path.
D. Add a properties attribute.
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. Use boolean as the returnvariable.
B. Use the webservice attribute instead of the component attribute.
C. Use the <cffunction> tag instead of the <cfinvoke> tag.
D. Use a different method name.
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> tag.
You are using a file structure as shown in the Exhibit.
You do NOT have any Application.cfc or Application.cfm files in your application. To
which folder in the file structure will Co