試験番号: 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:
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:
if ( preg_match(“/[^a-z589]+/”, “AB asdfg589nmGH”, $array) ) {
print ”
\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:
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
試験の名称: 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:
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:
if ( preg_match(“/[^a-z589]+/”, “AB asdfg589nmGH”, $array) ) {
print ”
\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:
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