Leads4pass > Adobe > ACE ColdFusion > 9A0-127 > 9A0-127 Online Practice Questions and Answers

9A0-127 Online Practice Questions and Answers

Questions 4

You are using the tag to generate a PDF document. What happens to the output file if you omit the file attribute of the tag?

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.

Buy Now
Questions 5

You have dynamically generated PDF files using . Customers complain that the PDF files are very large, resulting in long download times. Which two invocations of can you use to reduce the size of your PDF files? (Choose two.)

A.

B.

C.

D.

E.

Buy Now
Questions 6

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

Buy Now
Questions 7

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.

Buy Now
Questions 8

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"

Buy Now
Questions 9

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.

Buy Now
Questions 10

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"); }

Buy Now
Questions 11

What is the name of the ColdFusion function that rolls back a transaction?

A. transactionRollback()

B. transRollback()

C. rollBack()

D. rollbackTransaction()

Buy Now
Questions 12

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()

Buy Now
Questions 13

Which code segment can be used to store an array of structures as a client variable?

A.

B.

C.

D.

Buy Now
Exam Code: 9A0-127
Exam Name: Adobe ColdFusion 9 ACE Exam
Last Update: Jan 11, 2025
Questions: 107
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99