goo blog サービス終了のお知らせ 

killtestのIT問題集ブログ

killtestの最新試験参考書を提供し、合格することが保証できます!

Zend-Technologies認定資格トーレニング 最新Zend 200-530試験問題集

2011-02-24 10:59:08 | 日記
試験番号: 200-530
試験の名称: Zend PHP 5.3 Certification

killtest.jp 200-530試験はIT専門家のグルプによって、作り上げられててすとされます。100%の正解はすべての試験ポイントを含みます。IT専門家 は討論して、詳しい解析や説明を作り上げます。killtest.jpはZend-Technologies Zend試験問題集50-886試験問題集が最新だと確保するために、よく更新されている専門家のチームがいるので、killtest.jpから試験問題集は最新で最も全面的な作品です。
killtest.jpの進歩はIT業界での急速な発展を促し、より多くの商品をより便利に、さらに低価格でお客様に提供することを可能にしました。

1.You run the following PHP script:
$name = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string($_POST["password"]);
?>
What is the use of the mysql_real_escape_string() function in the above script.Each correct answer
represents a complete solution. Choose all that apply
A. It escapes all special characters from strings $_POST["name"] and $_POST["password"].
B. It can be used as a countermeasure against a SQL injection attack.
C. It can be used to mitigate a cross site scripting attack.
D. It escapes all special characters from strings $_POST["name"] and $_POST["password"] except '
and ".
Answer: A,B

2.You want to enable compression for every Web page of your Website. Which of the following
PHP.ini directives can you set to accomplish the task?Each correct answer represents a complete
solution. Choose all that apply.
A. set_compression = on
B. set _compression_level = 9
C. zlib.output_compression_level = 9
D. zlib.output_compression = on
Answer: C,D

3.You run the following PHP script:
\n";
print_r( $array );
print "
\n";
}
?>
What will be the output?
A.Array
(
[0] => 589
)
B.Array
(
[0] => asdfg589nm
)
C.Array
(
[0] => AB
)
D.Array
(
[0] => AB GH
)
Answer: C

4.You run the following PHP script:
$array1 = array ('a' => 20, 30, 35);
$array2 = array ('b' => 20, 35, 30);
$array = array_intersect_assoc ($array1, $array2);
var_dump ($array);
?>
What will be the output?
A. array(0) { }
B. The script will throw an error message.
C. array(3) { ["'a'"]=> int(20) [0]=> int(30) [1]=> int(35) }
D. array(1) { ["'a'"]=> int(20)}
Answer: A

5.Which of the following functions can you use to mitigate a command injection attack?Each correct
answer represents a complete solution. Choose all that apply.
A. htmlentities()
B. strip_tags()
C. escapeshellcmd()
D. escapeshellarg()
Answer: C,D

6.Which of the following HTML code snippets can be used for the file uploading?
A. <form enctype="text/plain" action="index.php" method="post">
B. <form enctype="application/x-www-form-urlencoded" action="index.php" method="post">
C. <form enctype="multipart/form-data" action="index.php" method="post">
D. <form enctype="plain" action="index.php" method="post">
Answer: C

7.You have the following code in the welcome.html file:
<form action="welcome.php" method="post">
Your Name: <input type="text" name="fname" />
Your Girl Friend Name: <input type="text" name="fname" />
<input type="submit" />
</form>
The PHP code of the welcome.php file is as follows:
Welcome and !
What will be the output if you give your name as John and your girlfriend's name as Maria?
A. Welcome John and Maria!
B. Welcome Maria and John!
C. The script will return an error.
D. Welcome Maria and Maria!
E. Welcome John and John!
Answer: D