Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "310-051" Exam

Sun Certified Enterprise Architect for J2EE Technology

 Question 114.
Given:
1. public class WhileFoo {
2. public static void main(String[] args) {
3. int x = 1,y = 6;
4. while (y--) {x++;)
5. System.out.println("x="+x+"y="xy);
6. }
7. }

What is the result?

A. The output is x = 6 y = 0.
B. The output is x = 7 y = 0.
C. The output is x = 6 y = -1.
D. The output is x = 7 y = -1.
E. Compilation fail.

Answer: E

Question 115.
The current architecture has servlets making calls to EJB. The system has grown to over 200 servlets causing development and configuration problems. Because the system is still evolving, the APIs to the EJB have changed quite often. This has caused the servlet writers to adapt the new APIs every time a change is made.

Which two statements about this problem are true? (Choose two)

A. Introducing a configuration control system will fix the problem.
B. This is an example of brittle code dependencies and tight coupling.
C. This problem can be corrected by converting all entity EJB to stateless session EJB.
D. Introducing a client-side abstraction which sits between the servlet and FJB will break the tight
    coupling.
E. Having the servlets communicate with EJB using JMS will prevent changing servlet code every 
    time an EJB API changes.
F. Introducing a session bean, in front of all EJB, which mimics the EJB APIs will prevent 
    changing servlet code every time an EJB API changes.

Answer: B, D

Question 116.
Given:
8. int index = 1;
9. int[] foo = new int[3];
10. int bar = foo[index];
11. int baz = bar + index;

What is the result?

A. baz has the value of 0.
B. baz has the value of 1.
C. baz has the value of 2.
D. An exception is thrown.
E. The code will not compile.

Answer: B

Question 117.
Given:
1. public interface Foo {
2. int k = 4:
3. }

Which three are equivalent to line 2? (Choose three)

A. final int k = 4:
B. public int k = 4;
C. static int k = 4;
D. private int k = 4:
E. abstract int k = 4;
F. volatile int k = 4:
G. transient int k = 4;

Answer: A, B, C

Question 118.
Given:
1. public class X {
2. public Object m() {
3. Object o = new Float(3.14F);
4. Object [] oa = new Object[1];
5. oa[0] = o;
6. o = null;
7. oa[0] = null;
8. return o;
9. }
10. }

When is the Float object, created in line 3, eligible for garbage collection?

A. Just after line 5.
B. Just after line 6.
C. Just after line 7.
D. Just after line 8 (that is, as the method returns)

Answer: C

Question 119.
Given:
1. class Super {
2. public float getNum() { return 3.of; }
3. ]
4.
5. public class Sub extends Super {
6.
7. }

Which method, places at line 6, will cause a compiler error?

A. public float getNum() { return 4.0f; }
B. public void getNum() {}
C. public void getNum(double d) {}
D. public double getNum(float d) { return 4.0d; }

Answer: B

Question 120.
Exhibit:
1. public class Test {
2. public static String output = "";
3.
4. public static void foo(int i) {
5. try {
6. if(I == 1) {
7. throw new Exception();
8. }
9. output += "1";
10. }
11. catch(Exception e) {
12. output += "2";
13. return;
14. }
15. finally {
16. output += "3";
17. }
18. output += "4";
19. }
20.
21. public static void main(String args[]) {
22. foo(0);
23. foo(1);
24.
25. }
26. }

What is the value of the variable output at line 24?

Answer: 13423

Question 121.
Which will declare a method that forces a subclass to implement it?

A. public double methoda();
B. static void methoda(double d1) {}
C. public native double methoda();
D. abstract public void methoda();
E. protected void methoda(double d1){}

Answer: D

Question 122.
Given:
1. public class Test {
2. public static void main(String args[]) {
3. System.out.println(6 3);
4. }
5. }

What is the output?

Answer: 5

Question 123.
Given:
1. public class X {
2. public X aMethod() { return this;}
3. }
4. public class Y extends X {
5.
6. }

Which two methods can be added to the definition of class Y? (Choose two)

A. public void aMethod() {}
B. private void aMethod() {}
C. public void aMethod(String s) {}
D. private Y aMethod() { return null; }
E. public X aMethod() { return new Y(); }

Answer: C, E

Question 124.
Given:
10. int i = 0;
11. for (; i <4; i += 2) {
12. System.out.print(i + "");
13. }
14. System.out.println(i);

What is the result?

A. 0 2 4
B. 0 2 4 5
C. 0 1 2 3 4
D. Compilation fails.
E. An exception is thrown at runtime.

Answer: A

Question 125.
Which statement is true?

A. Programs will not run out of memory.
B. Objects that will never again be used are eligible for garbage collection.
C. Objects that are referred to by other objects will never be garbage collected.
D. Objects that can be reached from a live thread will never be garbage collected.
E. Objects are garbage collected immediately after the system recognizes they are eligible.

Answer: D

Question 126.
Which two cause a compiler error? (Choose two)

A. float[] = new float(3);
B. float f2[] = new float[];
C. float[] f1 = new float[3];
D. float f3[] = new float[3];
E. float f5[] = { 1.0f, 2.0f, 2.0f };
F. float f4[] = new float[] { 1.0f. 2.0f. 3.0f};

Answer: A. B

Question 127.
Which three statements are true? (Choose three)

A. The default constructor initializes method variables.
B. The default constructor has the same access as its class.
C. The default constructor invoked the no-arg constructor of the superclass.
D. If a class lacks a no-arg constructor, the compiler always creates a default constructor.
E. The compiler creates a default constructor only when there are no other constructors for the 
     class.

Answer: B, C, E

Question 128.
Given:
1. class TestSuper {
2. TestSuper(int i) { }
3. }
4. class TestSub extends TestSuper{ }
5. class TestAll {
6. public static void main (String [] args) {
7. new TestSub();
8. }
9. }

Which is true?

A. Compilation fails.
B. The code runs without exception.
C. An exception is thrown at line 7.
D. An exception is thrown at line 2.

Answer: A

Question 129.
Given:
11. for (int i =0; i <3; i++) {
12. switch(i) {
13. case 0: break;
14. case 1: System.out.print("one ");
15. case 2: System.out.print("two ");
16. case 3: System.out.print("three ");
17. }
18. }
19. System.out.println("done");

What is the result?

A. done
B. one two done
C. one two three done
D. one two three two three done
E. Compilation fails.

Answer: D

Question 130.
Given:
1. public class ReturnIt {
2. return Type methodA(byte x, double y) {
3. return (long)x / y * 2;
4. }
5. }

What is the narrowest valid returnType for methodA in line2?

A. int
B. byte
C. long
D. short
E. float
F. double

Answer: F


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 4A0-107 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "4A0-107" Exam

Alcatel-Lucent Quality of Service

 Question 1.
True of False: A proper end-to-end QoS solution is becoming more of an issue even as more bandwidth is being made available to today's bandwidth-intensive, interactive multimedia applications.

A. True
B. False

Answer: A

Question 2.
Which of the following are examples of metrics for QoS?

A. Delay, jitter, packet loss
B. Latency, FIFO, WRED
C. Signal degradation, attenuation, line loss
D. SNR, radial CODEC inversion, latency
E. Inverse Queue Depletion, delay, packet loss

Answer: A

Question 3.
Which of the following are Ethernet SAP encapsulation types? Choose all that apply.

A. Null
B. Dot1Q
C. Q-in-Q
D. IPCP
E. BCP-Null
F. BCPdot1.q
G. Frame Relay

Answer: A, B, C

Question 4.
Which of the following are not considered a differentiator/classifier of customer traffic at layer 2 or 3 of the OSI model? Choose all that apply.

A. DSCP
B. 802.1p
C. IP Precedence
D. TCP/UDP Port numbers
E. HTML version

Answer: D, E

Question 5.
Which of the following statements are true regarding the DSCP bits? Choose 3 answers.

A. The precedence level bits define 4 Assured Forwarding Classes
B. The three least significant bits of the DSCP bits specify the drop probability
C. The 8 bits of the TOS field are used for DSCP
D. To convert DSCP to IP Precedence the three most significant bits are matched
E. DSCP provides for 64 precedence levels with 3 drop probabilities

Answer: A, B, D

Question 6.
Pick from the following list the 3 major components of the QoS features on the Alcatel-Lucent 7750 SR.

A. Virtual inflow classification
B. Real-timeQoS shaping
C. Traffic classification
D. 802.1q p-bit rate-limiting
E. Buffer memory management
F. Traffic scheduling

Answer: C, E, F

Question 7.
The IOM is responsible for which of the tasks listed below? Choose 3 answers.

A. Local processing of critical control plane functions
B. IPSec VPN hardware accelerated encryption
C. Queuing, scheduling, and buffer management
D. IP/MPLS/MAC forwarding lookup
E. Layer 2 / Layer 3 encapsulation

Answer: C, D, E

Question 8.
Which of the following statement is true with regards to Q-in-Q on the Alcatel-Lucent 7750 SR?

A. Q-in-Q defines a mechanism for encapsulating queued DSCP traffic at the provider edge
B. Q-in-Q is a new protocol thatsupercedes 802.1p priority-bit mapping in a QoS-aware network
C. The use of either the inner or outer 802.1p bits in the 802.1q frames forQoS classification can 
    be configured on the Alcatel-Lucent 7750 SR
D. Q-in-Q is a protocol which re-encapsulates trunked p-bits in an outer label that is mapped into 
   the EXP bits in an MPLS backbone
E. none of the above

Answer: C

Question 9.
Which of the following are not categories of forwarding classes on the Alcatel-Lucent 7750 SR? Choose 3 answers.

A. Real-time
B. Assured
C. Non-conforming
D. High Priority
E. Expedited

Answer: A, C, E

Question 10.
Which of the following are Trusted boundaries by default? Choose 2 answers.

A. An IES SAP
B. A VPLS SAP
C. A network port
D. A VPRN SAP
E. An access port

Answer: C, D

Question 11.
True of False. There is a default network policy applied to all router interfaces?

A. True
B. False

Answer: A

Question 12.
Which of the following are characteristics of DSCP. Choose 3 answers?

A. Part of the layer 3 header
B. A 6-bit field of which the first 3 bits indicate the IP Precedence bits
C. Specifies 8 different priorities
D. Specifies 3 precedence levels
E. Part of the layer 2 header
F. Specifies 64 different per hop behaviors

Answer: A, B, F

Question 13.
Which of the following QoS policies does not have a default policy?

A. Scheduler policies
B. Service ingress
C. Service egress
D. Network queue
E. Network
F. Slope

Answer: A


Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.