T TestsWorld

Free practice test · CIW

1D0-442 1D0-442 CIW Enterprise Specialist

32 questions with a timer and instant results. Practise in short drills or take the full test, then see exactly which topics need work.

📝 32 questions ⏱ 20 min for all 🎯 Pass mark 70% 💸 Free, unlimited attempts
⚡
Short drills

Pick 10, 25 or 50 questions for a quick round, or take all of them.

💡
Learn as you go

Practice mode shows the right answer and an explanation for every question.

📊
See your weak spots

Your result shows strong and weak topics and what to read next.

What's in the test

Easy 16% Medium 63% Hard 22%
EJB Remote Object 1JNDI Access 1IDL To Java Mapping 2Container Managed Persistence 1IDL Compiler Output 2Transaction Management 1ORB Reference Release 1Transaction Attributes 1EJB-JAR Contents 1Entity Bean Primary Key 1Dynamic Invocation Interface 1EJB Lifecycle Methods 2

Sample questions with answers

6 of the 32 questions in 1D0-442 1D0-442 CIW Enterprise Specialist. Try each one, then open the answer.

  1. Question 1
    Which Object is referred to as Intermediate Object?
    • A. the Remote Object
    • B. the Home Object
    • C. the EJB container
    • D. the Persistent Object
    Show answer
    Answer: A. the Remote Object
    The Remote Object is called the Intermediate Object. The EJB references a client receives is actual a reference to the EJB Remote Object that passes ant method calls from the client to the EJB and returns any values back to the client.
  2. Question 2
    To access a namespace with JNDI a client must know, select the best response.
    • A. the servers location
    • B. the name of the JNDI context factory
    • C. the location of the server and the name of the JNDI context factory
    • D. the Home Object name in the namespace
    Show answer
    Answer: C. the location of the server and the name of the JNDI context factory
    A client must know the servers location and the name of the JNDI context factory that provides the connection to the namespace, to access a namespace with JNDI.
  3. Question 3
    Consider the code, what will be the result after compiling interface Change? Select one correct answer. interface Change; { const long Final = 92.000; };
    • A. public interface Change extends org.omg.CORBA.Object { public static const long Final = (long)(92.000); };
    • B. public interface Change extends org.omg.CORBA.Object { public static final int Final = (int)(92.000); };
    • C. public interface Change extends org.omg.CORBA.Object { public static const long Final = (int)(92.000); };
    • D. public interface Change extends org.omg.CORBA.Object { public static const int Final = (int)(92.000); };
    Show answer
    Answer: B. public interface Change extends org.omg.CORBA.Object { public static final int Final = (int)(92.000); };
    An IDL long will map to a Java integer, all IDL-constants will map to a public static final Java data member and in Java integer primitives types are always signed.
  4. Question 4
    Select the correct xml document that declares CMP for and Entity Bean
    • A. <ejb-jar> <enterprise-beans> <entity> //code <persistence-type>Container</persistence-type> <prim-key-class>java.Lang.String<.prim-key-class> <cmp-field> <desription>the xml question</description> <field-name>questionID</field-name> </cpm-field> <cmp-field> <description>the xml tag</description> <field-name>tagRef</description> </cmp-field> <cmp> <description>the answer</description> <field-name>answerRef</description> </cmp> <primkey-field>questionID</primkey-field> </entity> </<enterprise-beans> <ejb-jar>
    • B. <ejb-jar> <enterprise-beans> <entity> //code <pers-type>Container</pers-type>***************** <prim-key-class>java.Lang.String<.prim-key-class> <cmp-field> <desription>the xml question</description> <field-name>questionID</field-name> </cpm-field> <cmp-field> <description>the xml tag</description> <field-name>tagRef</description> </cmp-field> <cmp> <description>the answer</description> <field-name>answerRef</description> </cmp> <primkey-field>questionID</primkey-field> </entity> </<enterprise-beans> <ejb-jar>
    • C. <ejb-jar> <enterprise-beans> <entity> //code <pers-type>Container</pers-type> <prim-key-class>java.Lang.String<.prim-key-class> <cmp-field> <desription>the xml question</description> <field-name>questionID</field-name> </cpm-field> <cmp-field> <description>the xml tag</description> <field-name>tagRef</description> </cmp-field> <cmp> <description>the answer</description> <field-name>answerRef</description> </cmp> <prim-key-field>questionID</prim-key-field> **************** </entity> </<enterprise-beans
    • D. <ejb-jar> <enterprise-beans> <entity> //code <persistence-type>Container</persistence-type> <primkey-class>java.Lang.String<primkey-class> ************* <cmp-field> <desription>the xml question</description> <field-name>questionID</field-name> </cpm-field> <cmp-field> <description>the xml tag</description> <field-name>tagRef</description> </cmp-field> <cmp> <description>the answer</description> <field-name>answerRef</description> </cmp> <primkey-field>questionID</primkey-field> </entity> </<enterprise-beans> <ejb-jar>
    Show answer
    Answer: A. <ejb-jar> <enterprise-beans> <entity> //code <persistence-type>Container</persistence-type> <prim-key-class>java.Lang.String<.prim-key-class> <cmp-field> <desription>the xml question</description> <field-name>questionID</field-name> </cpm-field> <cmp-field> <description>the xml tag</description> <field-name>tagRef</description> </cmp-field> <cmp> <description>the answer</description> <field-name>answerRef</description> </cmp> <primkey-field>questionID</primkey-field> </entity> </<enterprise-beans> <ejb-jar>
    The tag has a syntax error and should be written The tag has a syntax error and should be written The tag has a syntax error and should be written
  5. Question 5
    Consider the IDL code and select the correct answer. 1. module question 2. { 3. interface Answer 4. { 5. attribute float Value; 6. void setAnswer(out float Good); 7. }; 8. };
    • A. This code will not compile due to an error on line 6
    • B. The IDL-compiler will generate a java code named package question
    • C. The IDL-compiler will generate a java code named package Answer
    • D. This code will return a Value named Good from the server.
    Show answer
    Answer: B. The IDL-compiler will generate a java code named package question
    The IDL-compiler will generate a code package named question and the Good parameter will be send to the server but any changes made to Good by the remote method will not be returned to the calling method.
  6. Question 6
    Consider Entity Beans what statement is correct
    • A. the ejbLoad() method is called by the Container and loads data into data fields in the Entity Bean.
    • B. the ejbLoad() method is called by the Remote Object and loads data into fields in the Entity Bean.
    • C. the ejbLoad() method is called by the Container and load data into an instance of the Entity Bean.
    • D. the ejbLoad() method is called by the Home Object and loads data into an instance of the Entity Bean.
    Show answer
    Answer: C. the ejbLoad() method is called by the Container and load data into an instance of the Entity Bean.
    In an Entity Bean the ejbLoad() method is called by the Container and loads data into an instance of the Entity Bean. The ejbLoad() method is the equivalent of the sql select query.

Want all 32 with a timer and a topic-wise result? Start the free test at the top of this page.

About this practice test

1D0-442 1D0-442 CIW Enterprise Specialist

This practice test is part of TestsWorld's CIW (Certified Internet Webmaster) track. CIW exams cover web development fundamentals, internet business, network technology, security and the underlying protocols. While modern web developers often pursue framework-specific certifications, CIW remains a structured way to build broad web-fundamentals knowledge.

What this practice test gives you

38 multiple-choice questions covering the subject area, served from a randomised order so each attempt feels fresh. Take the test at your own pace. Allowed time per attempt: 20 min. Pass mark: 70%.

Study tips. Read every explanation, including on questions you answered correctly — they often surface adjacent concepts you may face on the live exam. After a full attempt, review your incorrect and skipped questions in detail before re-attempting. Combined with official study material, this practice bank is most effective when you cycle through it multiple times over a few weeks of preparation.

Before you start: device, fullscreen and proctoring