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

9A0-127 Online Practice Questions and Answers

Questions 4

You want to load a single entity of type ART from your ORM, using the primary key value 5 as a filter. Which two function signatures can you use to accomplish this task? (Choose two.)

A. EntityLoadByPK("ART", 5)

B. EntityLoadSingleValue("ART", 5)

C. EntityLoad("ART", 5)

D. EntityLoadByExample("ART", 5)

E. EntityLoad("ART", 5, true)

Browse 107 Q&As
Questions 5

Your application has the following query which is invalid:

SELECT * FROM ...

Which variable contains a string that describes the cause of the error?

A. cfcatch.message

B. cfcatch.type

C. cfcatch.detail

D. cfcatch.errorCode

Browse 107 Q&As
Questions 6

Given the following code:

Enter a value:

What happens when the form is submitted and validation rules are broken?

A. The file handler.cfm page is displayed.

B. The ColdFusion default validation error handler page is displayed.

C. The form page is displayed.

D. A runtime error occurs.

Browse 107 Q&As
Questions 7

How can you restrict the number of rows returned from a stored procedure to 100 or fewer using ?

A. add a MAXROWS="100" attribute to the tag

B. add a BLOCKFACTOR="100" attribute to the tag

C. add a MAXROWS="100" attribute to the tag

D. add a MAXROWS="100" attribute to the tag

Browse 107 Q&As
Questions 8

You want to use the component Art.cfc to represent entities within the table Art in the datasource artGallery using the ColdFusion ORM. This datasource refers to a MySql database.

What must you do in Application.cfc?

A. set Application.ormEnabled = "true"

B. set this.ormEnabled = "true"

C. set this.dataSource = "artGallery"

D. set this.ormSettings = {dialect="MySql", savemapping="true"}.

Browse 107 Q&As
Questions 9

You are utilizing ORM in ColdFusion 9.

Which tag should you use to map table fields to variables of the component?

A. cfsetting

B. cfproperty

C. cfargument

D. cfmapping

Browse 107 Q&As
Questions 10

In your application you have functionality for a menu contained in a file named menu.cfm. Which property of the cfmodule tag allows you to specify you want to display the menu.cfm file?

A. template

B. name

C. destination

D. source

Browse 107 Q&As
Questions 11

After migrating your fully-tested application from development into production, you begin receiving the following error message on your production server:

Unable to read WSDL from URL: mywebservice.

Error: java.net.MalformedURLException: no protocol: mywebservice.

Error on line 55:

What should you do to resolve the error?

A. replace the webservice attribute value with "mywebservice.cfc?wsdl"

B. migrate your CF Administrator web services configuration from development into production

C. replace with , restart your ColdFusion instance, and delete your browser cache

D. add the following attribute to the tag: refreshWSDL="yes"

Browse 107 Q&As
Questions 12

Your application has a page that has very high traffic. The page is rendered from data in a database. Your application should only run a query if it has been longer than 60 seconds since its last execution.

Which attribute of the cfquery tag allows you to specify a time where a query should NOT be executed again?

A. cachedAfter

B. cachedBefore

C. cachedWithin

D. cachedFor

Browse 107 Q&As
Questions 13

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

Browse 107 Q&As
Exam Code: 9A0-127
Exam Name: Adobe ColdFusion 9 ACE Exam
Last Update: Apr 30, 2024
Questions: 107 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99