Exam Online Adobe 9A0-701 Pass Certification Dumps 100% Free VCE Files 9A0-701

Exam A
QUESTION 1
What SQL clause is required when using a HAVING clause?
A. WHERE
B. ORDER BY
C. GROUP BY
D. INSERT INTO

Correct Answer: C
QUESTION 2
What clauses are valid for an SQL UPDATE statement? (Choose two)
A. SET
B. INTO
C. WHERE
D. VALUES

Correct Answer: AC
QUESTION 3
Given the query,
<cfquery name=”qNames” datasource=”dsn”>
SELECT s_fname, s_lname
FROM student
</cfquery>

What is the correct FROM clause in the query of queries?

<cfquery dbtype=”query” name=”qNamesOrdered”>
SELECT s_fname, s_lname
FROM ????
ORDER BY s_lname
</cfquery>

A. FROM query
B. FROM student
C. FROM qNames
D. There is no correct FROM clause because, an error would result since no datasource attribute is used in the second query.

Correct Answer: C
QUESTION 4
An Employees table contains 10 records and a Departments table contains 5 records. Given the code, how many records will the query produce as a result set?
<cfquery name=qGetEmp datasource=dsn> SELECT Employees.FirstName, Employees.LastName, Departments.DepartmentName FROM Employees, Departments ORDER BY Departments.DepartmentName </cfquery>
A. 0 records.
B. 5 records.
C. 10 records.
D. 50 records.

Correct Answer: D QUESTION 5
What <cfquery> attributes are used in the implementation of query-based caching? (Choose two)
A. cachedtime
B. cachedafter
C. cachedquery
D. cachedwithin
E. querycached

Correct Answer: BD QUESTION 6
In many development environments URL or form variables in a dynamic query can append malicious SQL statements to existing queries. What ColdFusion tag is needed to solve this problem?
A. <cfreturn>
B. <cfparameter>
C. <cfqueryparam>
D. <cfprocessingdirective>

Correct Answer: C QUESTION 7
What statement best describes a primary key?
A. A single column that uniquely identifies a row.
B. One or more columns that uniquely identifies a row.
C. A column that references another column in a master table.
D. A column that either uniquely identifies a row or has no value.

Correct Answer: B QUESTION 8
How does the WHERE clause affect the SELECT statement?
SELECT * FROM Employee WHERE 1=1
A. an error occurs
B. returns the first row
C. all rows are returned
D. returns the row with the primary key = 1

Correct Answer: C QUESTION 9
What WHERE clause is equivalent to the WHERE clause on the SELECT statement below?
SELECT *
FROM Customer
WHERE lastname IN (‘Smith’, ‘Jones’)

A. WHERE lastname = ‘Smith’ OR ‘Jones’
B. WHERE lastname = ‘Smith’ AND lastname = ‘Jones’
C. WHERE lastname BETWEEN ‘Smith’ AND ‘Jones’
D. WHERE lastname = ‘Smith’ OR lastname = ‘Jones’

Correct Answer: D QUESTION 10
What type of data can be queried using query of queries? (Choose three)
A. WDDX data
B. LDAP listings
C. POP messages
D. XML documents
E. Database queries

Correct Answer: BCE