nerdexam
Adobe

9A0-127 · Question #99

Given the following CFQUERY tag: <cfquery name="qArtist" datasource="cfartgallery"> SELECT * FROM Artists </cfquery> Which statement caches the query object in memory?

The correct answer is C. <cfcache action="put" value="#qArtist#" id="qArtistQuery">. See the full explanation below for the reasoning.

Question

Given the following CFQUERY tag:

<cfquery name="qArtist" datasource="cfartgallery"> SELECT * FROM Artists </cfquery> Which statement caches the query object in memory?

Options

  • A<cfcache action="put" name="qArtist" id="qArtistQuery">
  • B<cfcache action="get" name="qArtist" id="qArtistQuery">
  • C<cfcache action="put" value="#qArtist#" id="qArtistQuery">
  • D<cfcache action="put" value="qArtist" id="qArtistQuery">

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    14% (4)
  • C
    75% (21)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice