You are using the
A. The file is output to the browser.
B. The file is NOT created.
C. A runtime error occurs.
D. The file is saved to server RAM.
You have dynamically generated PDF files using
A.
B.
C.
D.
E.
The following code is placed in Application.cfc, outside of any function definitions:
What is the scope and visibility of the variable?
A. Request scope; visible to all code executed during the current page request
B. Application scope; visible to code in all pages of the application
C. This scope; visible as public properties of the CFC
D. Variables scope; visible only to code in Application.cfc
In your application you run the following query:
SELECT id, name, email FROM users;
Which query tag allows you to query the results of the getUsers query?
A.
B.
C.
D.
You have created a ColdFusion component in your application. Inside that component you need to create a property called user that CANNOT be seen outside the component.
Which definition creates a user variable that CANNOT be accessed outside the component?
A. this.user = "joe"
B. var user = "joe"
C. variables.user = "joe"
D. properties.user = "joe"
You have configured the ColdFusion Web root directory to be C:\ColdFusion9\wwwroot. You have placed the components Anvil.cfc and Boomerang.cfc within the directory C:\com\acme. You want to use Anvil.cfc within the file C:\ColdFusion9 \wwwroot\wile\coyote.cfm.
Which two actions must you take to accomplish this? (Choose two.)
A. Within coyote.cfm, you reference the component com.acme.Anvil within a createObject function or CFOBJECT tag, or using the new keyword.
B. You add the directory C:\com\acme to the Custom Tag Paths within the ColdFusion Administrator.
C. You use the CFIMPORT tag to import C:\com\acme as a tag library.
D. Within coyote.cfm, you reference the component "/com/acme/Anvil.cfc" within the TEMPLATE attribute of CFOBJECT.
E. You add the mapping "/com" within the ColdFusion Administrator, pointing to the directory C:\com.
You want to allow Flash Remoting and web service clients to fetch all of the records from the Art table through the ColdFusion ORM, sorted by the artName field in ascending order. To perform this action, you create another CFC to act as a service layer, ArtService.cfc, and write a method named getAllArt.
How should you write the method to retrieve the correct data and most accurately represent the type of that data?
A. public Array function getAllArt() { return entityLoad("Art, {}, "artName ASC"); }
B. remote Art[] function getAllArt() { return entityLoad("Art", {}, "artName ASC"); }
C. remote Array function getAllArt() { return entityLoad("Art", {}, "artName ASC"); } records = arrayNew(1);
D. remote Array function getAllArt() { records = entityLoad("Art", {}, "artName ASC"); }
What is the name of the ColdFusion function that rolls back a transaction?
A. transactionRollback()
B. transRollback()
C. rollBack()
D. rollbackTransaction()
You need to create an XML document inside your application from data in a query. Which function creates an XML document?
A. xmlNew()
B. xmlParse()
C. xmlElemNew()
D. toXml()
Which code segment can be used to store an array of structures as a client variable?
A.
B.
C.
D.