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()
You have two instances of Art loaded within the ColdFusion ORM, and you want to modify their corresponding database records within a single atomic operation in the file workWithArt.cfm. What is the best way to accomplish this?
A. use CFTRANSACTION within Art.cfc
B. use CFLOCK within Art.cfc
C. use CFTRANSACTION around the references to both instances within workWithArt.cfm
D. use CFLOCK around the references to both instances within workWithArt.cfm
What is the name of the ColdFusion function that rolls back a transaction?
A. transactionRollback()
B. transRollback()
C. rollBack()
D. rollbackTransaction()
To which value should the access attribute of a CFC function be set, so the function is available only to CFCs in the same physical folder?
A. private
B. package
C. public
D. local
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
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"); }
You want to delete an Art entity from the ColdFusion ORM and from the database. The array of Art entities is stored within the array aArt, and the entity to be deleted is the second member of the array. The primary key property of the Art entity is artId.
Which statement deletes this entity?
A. arrayDeleteAt(aArt, 2);
B. aArt[2] = null;
C. entityDelete(aArt[2].artId);
D. entityDelete(aArt[2]);
You want to use the script-based component Artist.cfc to represent entities within the table Artists in the datasource artGallery using the ColdFusion ORM.
Which two changes must be made within Artist.cfc? (Choose two.)
A. add persistent = "true" to the component declaration
B. add table = "Artists" to the component declaration
C. add persistent = "true" to the CFCOMPONENT tag
D. add ormEnabled = "true" to the component declaration
E. add entityName = "Artists" to the component declaration
You have a database table named Art, which uses an automatically-incremented integer for the artId primary key column. You want to create a persistent Art component that provides a default value of zero for new Art instances that do not correspond to existing database records.
Which statement is true about what must be done to accomplish this?
A. Nothing needs to be done as it happens automatically.
B. You cannot do anything at this time. You must explicitly set the value of artId when creating the new instance.
C. You must add unsavedValue = "0" to the artId property.
D. You must add default = "0" to the artId property.
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"}.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Adobe exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 9A0-127 exam preparations and Adobe certification application, do not hesitate to visit our Vcedump.com to find your solutions here.