Wednesday, 28 May 2014

300-206 Latest Exam Questions Answers

Vendor Name: Cisco
 

Exam code: 300-206
 

Exam Name: Implementing Cisco Edge Network Security Solutions (SENSS)
 

Click the link below to get full version
http://www.certifyguide.com/exam/300-206/

http://www.certifyguide.com/exam/300-206/

Question: 1

 
All 30 users on a single floor of a building are complaining about network slowness. After investigating the access switch, the network administrator notices that the MAC address table is full (10,000 entries) and all traffic is being flooded out of every port. Which action can the administrator take to prevent this from occurring?

A. Configure port-security to limit the number of mac-addresses allowed on each port
B. Upgrade the switch to one that can handle 20,000 entries
C. Configure private-vlans to prevent hosts from communicating with one another
D. Enable storm-control to limit the traffic rate
E. Configure a VACL to block all IP traffic except traffic to and from that subnet

Answer: A   

Question: 2
 
A network printer has a DHCP server service that cannot be disabled. How can a layer 2 switch be configured to prevent the printer from causing network issues?

A. Remove the ip helper-address
B. Configure a Port-ACL to block outbound TCP port 68
C. Configure DHCP snooping
D. Configure port-security

Answer: C   

Question: 3
 
A switch is being configured at a new location that uses statically assigned IP addresses. Which will ensure that ARP inspection works as expected?

A. Configure the 'no-dhcp' keyword at the end of the ip arp inspection command
B. Enable static arp inspection using the command 'ip arp inspection static vlan vlan-number
C. Configure an arp access-list and apply it to the ip arp inspection command
D. Enable port security

Answer: C   

Question: 4
 
Which of the following would need to be created to configure an application-layer inspection of SMTP traffic operating on port 2525?

A. A class-map that matches port 2525 and applying an inspect ESMTP policy-map for that class in the global inspection policy
B. A policy-map that matches port 2525 and applying an inspect ESMTP class-map for that policy
C. An access-list that matches on TCP port 2525 traffic and applying it on an interface with the inspect option
D. A class-map that matches port 2525 and applying it on an access-list using the inspect option

Answer: A   

Question: 5
 
Which command is used to nest objects in a pre-existing group?

A. object-group
B. network group-object
C. object-group network
D. group-object

Answer: D   

http://www.certifyguide.com/exam/300-206/

Vendor Name: Cisco
 

Exam code: 300-206
 

Exam Name: Implementing Cisco Edge Network Security Solutions (SENSS)
 

Click the link below to get full version

http://www.certifyguide.com/exam/300-206/

200-530 Free Exam Questions Answers

Vendor Name: Cisco
 

Exam code: 200-530
 

Exam Name: Zend PHP 5.3 Certification
 

Click the link below to get full versionhttp://www.certifyguide.com/exam/200-530/

http://www.certifyguide.com/exam/200-530/

Question: 1

You run the following PHP script:
<?php
$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

Question: 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

Question: 3

You run the following PHP script:
<?php
if ( preg_match("/[^a-z589]+/", "AB asdfg589nmGH", $array) ) {
print "<pre>\n";
print_r( $array );
print "</pre>\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

Question: 4

You run the following PHP script:
<?php
$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

Question: 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

Question: 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

Question: 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 <?php echo $_POST["fname"];?> and <?php echo $_POST["fname"];?>!
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

Question: 8

Consider the following PHP script:
<?php
$a = array(
1 => 'php',
'Hypertext',
'Preprocessor',
'widely used' => array(
'general' => 'purpose',
'scripting' => 'language',
'that' => 'was',
'originally' => array(
5 => 'designed',
9 => 'for',
'Web development',
4 => 'purpose',)));
//write code here
?>
What should you write here to print the value 'Web development'?

Answer: D

Question: 9

John works as a Web site Developer for PHPWEB Inc. He uses the Windows operating system and works on PHP engine 5.0. He develops the following script:
<?php
gmmktime(0, 0, 0, 1, 1, 1970);
?>
What will be the output of the above PHP script in case of countries east of GMT?

A. fatal error
B. 1
C. -1
D. 0

Answer: C

Question: 10

You want to fetch the top level domain (com) from the email john@ucertify.com. Which of the
following functions will you use to accomplish the task?

A. substr("john@ucertify.com", strpos("john@ucertify.com", "."));
B. eregi("^[a-z0-9\._-]+"."@"."([a-z0-9][a-z0-9-]*[a-z0-9]\.)+"."([a-z]+\.)?"."([a-z]+)$",
john@ucertify.com))
C. eregi("john@ucertify.com", ".");
D. substr("john@ucertify.com", strpos("john@ucertify.com", ".")+1);

Answer: D

Question: 11

Consider the following XML file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title> SimpleXML Example</title>
</head>
<body>
<h1>
Please go <a href="http://www.ucertify.com">http://www.ucertify.com</a>
<br/>
</h1>
</body>
</html>
Which of the following statements will display the HREF attribute on the anchor tag if the SimpleXML object is $sxml?

A. $sxml->body->h1->a->href
B. $sxml->h1->a->href
C. $sxml->body->h1->a['href']
D. $sxml->body->h1->a<href>

Answer: C

Question: 12

Consider a string in the following format:
a*bcd/a.d
You want to perform regular expression in this string; however, you are unable to do this since
the string contains special characters. You can make this string PCRE compatible if you
convert this string in the following format:
a\*bcd\/a\.d
Which of the following functions will you use to accomplish the task into a single call?

A. preg_quote()
B. preg_match()
C. expload()
D. preg_split()

Answer: A

Question: 13

Which of the following PHP file handling functions will you use if you want to retrieve only the texts from an HTML file and leave all HTML and PHP tags?

A. fgets()
B. file_get_contents()
C. fgetss()
D. file_put_contents()

Answer: C

Question: 14

You have created a table based on the following data:
EmpID NUMBER (5) PRIMARY KEY
EmpName VARCHAR2 (35) NOT NULL
Salary NUMBER (9, 2) NOT NULL
Commission NUMBER (4, 2)
ManagerName VARCHAR2 (25)
ManagerID NUMBER (5)
Now, you want to display the names of employees and their managers, using a self join. Which of the following SQL statements can you use to accomplish this? Each correct answer represents a complete solution. Choose two.

A. SELECT e.EmpName, m.ManagerName FROM Employees e SELF JOIN Employees m ON e.EmpID = m.ManagerID;
B. SELECT e.EmpName, m.ManagerName FROM Employees e INNER JOIN Employees m
ON e.EmpID = m.ManagerID;
C. SELECT e.EmpName, m.ManagerName
FROM Employees e LEFT OUTER JOIN Employees m ON e.EmpID = m.ManagerID;
D. SELECT e.EmpName, m.ManagerName FROM Employees e, Employees m WHERE e.EmpID = m.ManagerID;

Answer: B,D

Question: 15

Which of the following directives can be used to improve the security while using the shared
hosting environment?Each correct answer represents a complete solution. Choose all that apply.

A. shared_host
B. disable_classes
C. safe_mode
D. open_basedir
E. disable_functions

Answer: B,C,D,E

Question: 16


You have been given the following code snippet:
<?php
$string = <<<XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<email>
<to>jenny@ucertify.com</to>
<from>john@ucertify.com</from>
<heading>Technical issue in Linux OS</heading>
<body>There is a technical issue in my Linux system. Please Fix it. </body>
</email>
XML;
<Write code here>
?>
Which of the following code snippets will you write to print the XML content?

A. $xml = XML_string($string);
print_r($xml);
B. $xml = simplexml_load_string($string);
print_r($xml);
C. $xml = load_XML($string);
print_r($xml);
D. $xml = simplexml_string($string);
print_r($xml);

Answer: B

Question: 17

Consider the following PHP script:
1. <?php
2. $charlist = array (
3. 'a' => 'one',
4. 'b' => 'two',
5. );
6. ***************
7. ?>
What statement will you write at line number 6 instead of ***** to get the output onectwo?

A. echo strtok ('acb', $charlist);
B. echo strstr ('acb', $charlist);
C. echo strtr ('acb', $charlist);
D. echo strip_tags('acb', $charlist);

Answer: C

Question: 18

You run the following PHP script:
<?php
$array1 = array ("a", "b", "c", "d", "e", "f");
$array2 = array_slice($array1, -3);
foreach ( $array2 as $val ) {
print "$val ";
}
?>
What will be the output?

A. b c d
B. d e f
C. c d e
D. a b c

Answer: B

Question: 19

Given a table created as shown below:
create table foo (c1 int, c2 int, c3 int, c4 char(10))
If column c1 has a cardinality of 10, column c2 has a cardinality of 5000, and column c3 has a
cardinality of 5000000, which of the following indexes would optimize the following statement?
Select c1,c2,c3 from foo where c1=100 and c2= 100 and c3 = 100

A. create index foox on foo (c1,c2,c3)
B. create index foox on foo (c2,c1,c3)
C. create index foox on foo (c3,c2,c1)
D. create index foox on foo (c3,c1,c2)

Answer: C

Question: 20

A table named employees is given below:

Which of the following statements would return the employees names, in ascending order, based on their last name and first name? Each correct answer represents a complete solution. Choose all that apply.

A. select fname, lname from employees order by lname;
B. select fname, lname from employees order by lname asc;
C. select fname, lname from employees group by lname;
D. select fname, lname from employees order by lname desc;

Answer: A,B


http://www.certifyguide.com/exam/200-530/

Vendor Name: Cisco
 

Exam code: 200-530
 

Exam Name: Zend PHP 5.3 Certification
 

Click the link below to get full version

http://www.certifyguide.com/exam/200-530/