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)
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
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.
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
B. add a BLOCKFACTOR="100" attribute to the
C. add a MAXROWS="100" attribute to the
D. add a MAXROWS="100" attribute to the
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"}.
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
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
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
D. add the following attribute to the
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
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