1Z0-851: Java Standard Edition 6 Programmer Certified Professional Exam Dumps: Real Exam Questions




QUESTION NO: 1
Given
11. public interface Status {
12. /* insert code here */ int MY_VALUE = 10;
13. } Which three are valid on line
12?
(Choose three.)
A. final
B. static
C. native
D. public
E. private
E. private
F. abstract
G. protected
Answer: A,B,D

QUESTION NO: 2
Which two code fragments correctly create and initialize a static array of int elements? (Choose
two.)
A. static final int[] a = { 100,200 };
B. static final int[] a;
static { a=new int[2]; a[0]=100; a[1]=200; }
C. static final int[] a = new int[2]{ 100,200 };
D. static final int[] a;
static void init() { a = new int[3]; a[0]=100; a[1]=200; }
Answer: A,B

QUESTION NO: 3
Given:
11. String test = "Test A. Test B. Test C.";
12. // insert code here
13. String[] result = test.split(regex);
Which regular expression, inserted at line 12, correctly splits test into "Test A", "Test B", and "Test
C"?
A. String regex = "";
B. String regex = " ";
C. String regex = ".*";
D. String regex = "\\s";
E. String regex = "\\.\\s*";
F. String regex = "\\w[ \.] +";
Answer: E

QUESTION NO: 4
Given:
11. static void test() throws Error {
12. if (true) throw new AssertionError();
13. System.out.print("test ");
14. }
15. public static void main(String[] args) {
16. try { test(); }
17. catch (Exception ex) { System.out.print("exception "); }
18. System.out.print("end ");
19. }
What is the result?
A. end
B. Compilation fails.
C. exception end
D. exception test end
E. A Throwable is thrown by main.
F. An Exception is thrown by main.
Answer: E

QUESTION NO: 5
Given:
12. Date date = new Date();
13. df.setLocale(Locale.ITALY);
14. String s = df.format(date);
The variable df is an object of type DateFormat that has been initialized in line 11. What is the
result if this code is run on December 14, 2000?
A. The value of s is 14-dic-2000.
B. The value of s is Dec 14, 2000.
C. An exception is thrown at runtime.
D. Compilation fails because of an error in line 13.
Answer: D

QUESTION NO: 6
Given that t1 is a reference to a live thread, which is true?
A. The Thread.sleep() method can take t1 as an argument.

B. The Object.notify() method can take t1 as an argument.
C. The Thread.yield() method can take t1 as an argument.
D. The Thread.setPriority() method can take t1 as an argument.
E. The Object.notify() method arbitrarily chooses which thread to notify.
Answer: E

QUESTION NO: 7
Given:
1. public class Blip {
2. protected int blipvert(int x) { return 0; }
3. }
4. class Vert extends Blip { 5. // insert code here
6. }
Which five methods, inserted independently at line 5, will compile? (Choose five.)
A. public int blipvert(int x) { return 0; }
B. private int blipvert(int x) { return 0; }
C. private int blipvert(long x) { return 0; }
D. protected long blipvert(int x) { return 0; }
E. protected int blipvert(long x) { return 0; }
F. protected long blipvert(long x) { return 0; }
G. protected long blipvert(int x, int y) { return 0; }
Answer: A,C,E,F,G

QUESTION NO: 8
Given:
1. public class Score implements Comparable<Score> {
2. private int wins, losses;
3. public Score(int w, int l) { wins = w; losses = l; }
4. public int getWins() { return wins; }
5. public int getLosses() { return losses; }
6. public String toString() {
7. return "<" + wins + "," + losses + ">";
8. }
9. // insert code here
10. }
Which method will complete this class?
A. public int compareTo(Object o){/*more code here*/}
B. public int compareTo(Score other){/*more code here*/}
C. public int compare(Score s1,Score s2){/*more code here*/}
D. public int compare(Object o1,Object o2){/*more code here*/}
Answer: B

QUESTION NO: 9
Given:
1. public class Venus {
2. public static void main(String[] args) {
3. int [] x = {1,2,3};
4. int y[] = {4,5,6};
5. new Venus().go(x,y);
6. }
7. void go(int[]... z) {
8. for(int[] a : z)
9. System.out.print(a[0]);
10. }
11. }
What is the result?
A. 1
B. 12
C. 14
D. 123
E. Compilation fails.
F. An exception is thrown at runtime.
Answer: C

QUESTION NO: 10
A team of programmers is reviewing a proposed API for a new utility class. After some discussion, they realize that they can reduce the number of methods in the API without losing any functionality. If they implement the new design, which two OO principles will they be promoting?
A. Looser coupling
B. Tighter coupling
C. Lower cohesion
D. Higher cohesion
E. Weaker encapsulation
F. Stronger encapsulation
Answer: A


I hope you must have find these questions very helpful. If you want to get complete set of real exam questions and their answer please visit our FAQ's section to know more.

1Z0-052: Oracle Database 11g Administration I Dumps: Real Exam Questions




QUESTION NO: 1
Identify the memory component from which memory may be allocated for:
Session memory for the shared serverBuffers for I/O slavesOracle Database Recovery Manager
(RMAN) backup and restore operations
A. Large Pool
B. Redo Log Buffer
C. Database Buffer Cache
D. Program Global Area (PGA)
Answer: A

QUESTION NO: 2
In which of the scenario will the DBA perform recovery? (Choose all that apply.)
A. The alert log file is corrupted
B. A tablespace is accidentally dropped
C. One of the redo log members is corrupted
D. A database user terminates the session abnormally
E. The hard disk on which the data files is stored is corrupted
Answer: B,E

QUESTION NO: 3
In your database instance, the STATISTICS_LEVEL initialization parameter is set to BASIC.
What is the impact of this setting?
A. Optimizer statistics are collected automatically.
B. Only timed operating system (OS) statistics and plan execution statistics are collected.
C. The snapshots for the Automatic Workload Repository (AWR) are not generated automatically.
D. Snapshots cannot be collected manually by using the DBMS_WORKLOAD_REPOSITORY
package.
E. The Oracle server dynamically generates the necessary statistics on tables as part of query
optimization.
Answer: C

QUESTION NO: 4
You want to move all objects of the APPS user in the test database to the DB_USR schema of the
production database. Which option of IMPDP would you use to accomplish this task?
A. FULL
B. SCHEMAS
C. TRANSFORM
D. REMAP_SCHEMA
E. REMAP_TABLESPACE
Answer: D

QUESTION NO: 5
Which three statements are correct about temporary tables? (Choose three.)
A. Indexes and views can be created on temporary tables
B. Both the data and structure of temporary tables can be exported
C. Temporary tables are always created in a user's temporary tablespace
D. The data inserted into a temporary table in a session is available to other sessions
E. Data Manipulation Language (DML) locks are never acquired on the data of temporary tables
Answer: A,C,E

QUESTION NO: 6
Which two kinds of failures make the Data Recovery Advisor (DRA) generate a manual checklist?
(Choose two.)
A. Failure when no standby database is configured
B. Failure because a data file is renamed accidentally
C. Failure that requires no archive logs to be applied for recovery
D. Failure due to loss of connectivity-for example, an unplugged disk cable

Answer: B,D

QUESTION NO: 7
What can you achieve by implementing reverse key index?
A. Reverse the bytes of each column indexed including the row ID
B. Store a bitmap for each key value instead of a list of row IDs in the leaf node
C. Prevent contention on the highest leaf block when using sequences to generate keys
D. Remove repeated key values from the index to fit more index entries in a given amount of disk
space
Answer: C

QUESTION NO: 8
You plan to move data from a flat file to a table in your database. You decide to use SQL*Loader
direct path load method to perform this task. The table in which you plan to load data in an
important table having various integrity constraint defined on it.
Which constraints will remain enabled by default during this operation? (Choose all that apply.)
A. CHECK
B. UNIQUE
C. NOT NULL
D. PRIMARY KEY
E. FOREIGN KEY
Answer: B,C,D

QUESTION NO: 9
The instance abnormally terminates because of a power outage.
Which statement is true about redo log files during instance recovery?
A. Inactive and current redo log files are required to accomplish recovery
B. Online and archived redo files are required to accomplish instance recovery
C. All redo log entries after the last checkpoint are applied from redo log files to data files
D. All redo log entries recorded in the current log file until the checkpoint position are applied to
data files
Answer: C

QUESTION NO: 10
You want to access employee details contained in flat files as part of the EMPLOYEE table. You
plan to add a new column to the EMPLOYEE table to achieve this.
Which data types would you use for the new column?
A. CLOB
B. BLOB
C. BFILE
D. LONG RAW
Answer: C

I hope you must have find these questions very helpful. If you want to get complete set of real exam questions and their answer please visit our FAQ's section to know more.

Popular IT Certification Exam Dumps

We have following most popular certification exam dumps available. You can request other exam dumps which you wish to write for, we'll try to arrange them for you. Just write a mail to us with exam code which you want to give. We'll reply to you for the further process on mail.




  • Adobe Dreamweaver CS5 Certification Exam: 9A0-146
  • Adobe Flash CS5 Certification Exam: 9A0-148
  • Adobe Photoshop CS5 Certification Exam: 9A0-150
  • Adobe After Effects CS5 Certification Exam: 9A0-152
  • Adobe Certified Macromedia Flash 8 Exam: 9A0-311
  • Adobe ColdFusion MX Developer Certification Exam: 9A0-701
  • Adobe Certified Dreamweaver 8 Developer Exam: 9A0-803
  • C++ Institute CPA: C++ Certified Associate Programmer
  • C++ Institute CPP:C++ Certified Professional Programmer
  • Microsoft MCSE Exam 70-290: Managing and Maintaining a Microsoft Windows Server 2003 Environment
  • CCNA Cisco Certified Network Associate CCNA Exam: 200-120
  • RedHat EX200: Red Hat Certified System Administrator–RHCSA
  • ISC CISSP: Certified Information Systems Security Professional
  • ISC ISSAP: Information Systems Security Architecture Professional
  • ISC SSCP: System Security Certified Practitioner
  • Pegasystems PEGACBA001: Certified Business Architect (CBA) v6.1 Exam
You can get dumps of any of the exams listed above. To know more about how to get dumps please visit our FAQ's section .

1Z0-803: Java SE 7 Programmer I Certification Exam Dumps: Real Exam Questions



QUESTION NO: 1
Given the code fragment:
String valid = "true";
if (valid) System.out.println (“valid”);
else system.out.println ("not valid");
What is the result?
A. Valid
B. not valid
C. Compilation fails
D. An IllegalArgumentException is thrown at run time
Answer: C

QUESTION NO: 2
Given:
public class DoCompare1 {
public static void main(String[] args) {
String[] table = {"aa", "bb", "cc"};
for (String ss: table) {
int ii = 0;
while (ii < table.length) {
System.out.println(ss + ", " + ii);
ii++;
}
}
How many times is 2 printed as a part of the output?
A. Zero
B. Once
C. Twice
D. Thrice
E. Compilation fails.
Answer: D

QUESTION NO: 3
Given:
public class x{
public static void main (string [] args){
String theString = "Hello World";
System.out.println(theString.charAt(11));
}
}
What is the result?
A. There is no output
B. d is output
C. A StringIndexOutOfBoundsException is thrown at runtime
D. An ArrayIndexOutOfBoundsException is thrown at runtime
E. A NullPointException is thrown at runtime
F. A StringArrayIndexOutOfBoundsException is thrown at runtime
Answer: C

QUESTION NO: 4
Given the code fragment:
String h1 = "Bob";
String h2 = new String ("Bob");
What is the best way to test that the values of h1 and h2 are the same?
A. if (h1 == h2)
B. if (h1.equals(h2))
C. if (h1 = = h2)
D. if (h1.same(h2))
Answer: B

QUESTION NO: 5
Given:
class X {}
class Y {Y () {}}
class Z {z(int i ) {} }
Which class has a default constructor?
A. X only
B. Y only
C. Z only
D. X and Y
E. Y and Z
F. X and Z
G. X, Y and Z
Answer: F

QUESTION NO: 6
Given the fragment:
int [] array = {1, 2, 3, 4, 5};
System.arraycopy (array, 2, array, 1, 2);
System.out.print (array [1]);
System.out.print (array[4]);
What is the result?
A. 14
B. 15
C. 24
D. 25
E. 34
F. 35
Answer: F

QUESTION NO: 7
Given:
public class MyFor3 {
public static void main(String [] args) {
int [] xx = null;
System.out.println(xx);
}
}
What is the result?
A. null
B. compilation fails
C. Java.lang.NullPointerException
D. 0
Answer: A

QUESTION NO: 8
Given:
public class ScopeTest1 {
public static void main(String[] args) {
doStuff(); // line x1
int x1 = x2; // line x2
int x2 = j; // line x3
}
static void doStuff() {
System.out.println(j); // line x4
}
static int j;
}
Which line causes a compilation error?
A. line x1
B. line x2
C. line x3
D. line x4
Answer: B

QUESTION NO: 9
Which declaration initializes a boolean variable?
A. boolean h = 1;
B. boolean k = 0;
C. boolean m = null;
D. boolean j = (1 < 5) ;

Answer: D

QUESTION NO: 10
You are writing a method that is declared not to return a value. Which two are permitted in the
method body?
A. omission of the return statement
B. return null;
C. return void;
D. return;

Answer: A,D

I hope you must have find these questions very helpful. If you want to get complete set of real exam questions and their answer please visit our FAQ's section to know more.

C2180-318 IBM Websphere Application Server Network Deployment V8.5 Certification Exam Dumps



QUESTION NO: 1
A system administrator has created a dynamic cluster in a production environment. During the
autonomic server start and stop operations, it was observed that the server is taking more time
than normal and the administrator is always called for manual start/stop of the servers. What
should the system administrator tune to avoid manual intervention?
A. Health controller.
B. Dynamic workload controller.
C. Application placement controller.
D. On-demand configuration manager.
Answer: C

QUESTION NO: 2
A system administrator has configured a clustered production WebSphere Application Server
environment. The administrator is now tasked with deploying batch applications to the production
environment and needs to run the batch jobs in parallel. Which of the following is a minimum
requirement for the parallel job manager database configuration? One database:
A. for the cell.
B. per cluster.
C. per grid endpoint.
D. per application server.
Answer: A

QUESTION NO: 3
An enterprise application needs to be deployed into a production WebSphere Application Server
environment. The EAR contains application scoped resources which will conflict with the resource
definitions that already exist in the federated environment. How can the system administrator
ensure that the enterprise application uses only the already existing resources?
A. Change the scoping for the existing resources to the cell level.
B. Check that the EAR file is not in the application server classpath.
C. Verify that the classpath does not include the folder containing the application scoped
resources.
D. Make sure that Process embedded configuration is not selected during the deploy process.
Answer: D

QUESTION NO: 4
A system administrator wishes to use Cross Component Trace (XCT) to follow the end-to-end flow
requests in a cluster. The administrator enables log and trace correlation, but cross component
trace appears to lack the necessary request IDs. What additional step needs to be taken by the
system administrator to have Cross Component Trace function as expected?
A. Enable the replication domain on the cluster.
B. Enable High Performance Extensible Logging (HPEL).
C. Add all cluster members to the same core group.
D. Verify all components are part of the same service integration bus.
Answer: B

QUESTION NO: 5
A system administrator is concerned about the stability of a new application deployment. The
administrator wishes to utilize Intelligent Management to ensure at least two application servers
are running at all times. How should the system administrator do this?
A. Create a static cluster of two WebSphere Application Servers instances.
B. Create a dynamic cluster with a minimum number of three cluster instances.
C. Create a health management policy to restart the application server in the event of excessive
memory usage.
D. Configure an On-demand Router (ODR) to route requests to a static cluster of two WebSphere
Application Server instances.
Answer: B

I hope you must have find these questions very helpful. If you want to get complete set of real exam questions and their answer please visit our FAQ's section to know more.

1z0-051 Oracle Database 11g Sql Fundamentals I Dumps: Real Exam Questions





QUESTION NO: 1
Evaluate the SQL statement:
TRUNCATE TABLE DEPT;
Which three are true about the SQL statement? (Choose three.)
A. It releases the storage space used by the table.
B. It does not release the storage space used by the table.
C. You can roll back the deletion of rows after the statement executes.
D. You can NOT roll back the deletion of rows after the statement executes.
E. An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will
display an error.
F. You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate
the DEPT table
Answer: A,D,F

QUESTION NO: 2
Which three statements are true regarding sub queries? (Choose three.)
A. Multiple columns or expressions can be compared between the main query and sub query
B. Main query and sub query can get data from different tables
C. Sub queries can contain GROUP BY and ORDER BY clauses
D. Main query and sub query must get data from the same tables
E. Sub queries can contain ORDER BY but not the GROUP BY clause
F. Only one column or expression can be compared between the main query and subqeury

Answer: A,B,C

QUESTION NO: 3
Where can sub queries be used? (Choose all that apply)
A. field names in the SELECT statement
B. the FROM clause in the SELECT statement
C. the HAVING clause in the SELECT statement
D. the GROUP BY clause in the SELECT statement
E. the WHERE clause in only the SELECT statement
F. the WHERE clause in SELECT as well as all DML statements
Answer: A,B,C,F

QUESTION NO: 4
Which three SQL statements would display the value 1890.55 as $1,890.55? (Choose three.)
A.
SELECT TO_CHAR(1890.55,'$99G999D00')
FROM DUAL;
B.
SELECT TO_CHAR(1890.55,'$9,999V99')
FROM DUAL;
C.
SELECT TO_CHAR(1890.55,'$0G000D00')
FROM DUAL;
D.
SELECT TO_CHAR(1890.55,'$99G999D99')
FROM DUAL;
E.
SELECT TO_CHAR(1890.55,'$9,999D99')
FROM DUAL;
Answer: A,C,D

QUESTION NO: 5
Evaluate the following SQL statements:
DELETE FROM sales;
There are no other uncommitted transactions on the SALES table.
Which statement is true about the DELETE statement?
A. It removes all the rows as well as the structure of the table
B. It removes all the rows in the table and deleted rows cannot be rolled back
C. It removes all the rows in the table and deleted rows can be rolled back
D. It would not remove the rows if the table has a primary key
Answer: C

QUESTION NO: 6
The ORDERS TABLE belongs to the user OE. OE has granted the SELECT privilege on the
ORDERS table to the user HR.
Which statement would create a synonym ORD so that HR can execute the following query
successfully?
SELECT * FROM ord;
A. CREATE SYNONYM ord FOR orders; This command is issued by OE.
B. CREATE PUBLIC SYNONYM ord FOR orders; This command is issued by OE.
C. CREATE SYNONYM ord FOR oe.orders; This command is issued by the database
administrator.
D. CREATE PUBLIC SYNONYM ord FOR oe.orders; This command is issued by the database
administrator.
Answer: D

QUESTION NO: 7
Examine the statement:
Create synonym emp for hr.employees;
What happens when you issue the statement?
A. An error is generated.
B. You will have two identical tables in the HR schema with different names.
C. You create a table called employees in the HR schema based on you EMP table.
D. You create an alternative name for the employees table in the HR schema in your own schema.
Answer: D

QUESTION NO: 8
Evaluate the following SQL query;
What would be the outcome?
A. 200
B. 16
C. 160
D. 150
E. 100
Answer: C

QUESTION NO: 9
Which statement is true regarding the UNION operator?
A. The number of columns selected in all SELECT statements need to be the same
B. Names of all columns must be identical across all SELECT statements
C. By default, the output is not sorted
D. NULL values are not ignored during duplicate checking
Answer: A

QUESTION NO: 10
Which two statements are true regarding the COUNT function? (Choose two.)
A. COUNT(*) returns the number of rows including duplicate rows and rows containing NULL
value in any of the columns
B. COUNT(cust_id) returns the number of rows including rows with duplicate customer IDs and
NULL value in the CUST_ID column
C. COUNT(DISTINCT inv_amt) returns the number of rows excluding rows containing duplicates
and NULL values in the INV_AMT column
D. A SELECT statement using COUNT function with a DISTINCT keyword cannot have a WHERE
clause
E. The COUNT function can be used only for CHAR, VARCHAR2 and NUMBER data types
Answer: A,C

I hope you must have find these questions very helpful. If you want to get complete set of real exam questions and their answer please visit our FAQ's section to know more.