Practice Free AD0-P101 Exam Online Questions
Question #31
Which are valid ColdFusion scopes for variable declaration? (Choose 3)
- A . session
- B . cookie
- C . server
- D . task
- E . application
Correct Answer: ABE
Question #32
Which attributes are used in <cfcontent>? (Choose 2)
- A . type
- B . encoding
- C . charset
- D . disposition
Correct Answer: AD
Question #33
How do you enable query caching in a <cfquery> tag?
- A . Add cached="true"
- B . Add cachedwithin="#CreateTimeSpan(0,0,10,0)#"
- C . Add cache="on"
- D . Use <cfquerycache>
Correct Answer: B
Question #34
What is the purpose of Application.cfc in a ColdFusion project?
- A . To define global variables
- B . To manage application settings and event handlers
- C . To configure ORM mappings
- D . To handle caching settings
Correct Answer: B
Question #35
Which tag should you use to prevent race conditions when accessing shared variables?
- A . <cfthread>
- B . <cfif>
- C . <cftransaction>
- D . <cflock>
Correct Answer: D
Question #36
Which of the following is NOT a valid ColdFusion scope?
- A . cookie
- B . client
- C . function
- D . form
Correct Answer: C
