| Locking is an essential element to any production application. Locking is implemented using the <cflock> tag. The name and scope attributes are mutually exclusive and have various pros and cons. Deadlocks can occur if the locks are nested and not locked in a specific order. Sample Questions | 1: | Choose the legal <cflock> statement. <cflock timeout="16"> <cflock name="myLock" scope="session" timeout="16"> <cflock scope="myLock" timeout="16" type="readonly"> <cflock name="myLock" timeout="16">
| | 2: | Which variable scopes should be locked to ensure controlled access? (select all that apply) REQUEST CLIENT SESSION APPLICATION SERVER
| | 3: | When can deadlocks occur? (select two) When locks are nested When locks are in a different order on different pages When locks wait for each other and are not nested When readonly locks are declared against the CLIENT scope
| |