Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exam Questions 2

 
parag bharambe
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exam Questions
I have encountered some of interesting question while going through questions papers.
1
Which are true about iterator pattern (choose 2):
a. allows transverse of a data collection with different order
b. allows different iterators to access a data collection simultaneously
I think both are true. My reasons
1Different order it meant either I can access aggregate Object from start or end. So option a holds true
2I can have one vector .
Iterattor it1 = vector().iterator()
Iterattor it2 = vector().iterator()
So it1 and it2 can access collection (vector) seperately.
Let me know if you have different opnion.
----------------------------------------------------------------------------------------------------------------------------------------------------------
2
A question about how to ensure ACID transaction for an entity EJB that access a legacy system
***************************************************************
(choose 2)
a. let the container to take care transaction
b. let the entity EJB to monitor the transaction (wrong)
c. set the entity bean as Container Transaction Managed
- other answers (forgot, but at least one must right)
I think a & c to be the same, although they looks to be same and are correct ans.
----------------------------------------------------------------------------------------------------------------------------------------------------------
3
a question about web server clustering
(choose 2)
a. the load balancer holds the responsibility to maintain session data of web servers
b. the load balancer need to route the request to the same web server for SSL connection
- other answers (forgot, but at least one must right)
(I take b, not a).
Although in case of B load balancer need to route the request to the same web server for all connection, not only SSL connction.
Regards,
Parag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic