Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

whizlab question for SCEA/OCMJEA What statements are true

 
Nileshkumar Jani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SECA pratice question
What statements are true about a three tier system when compared to a two tier system? Select two choices

A. A three tier system has thin clients whereas a two tier system will always have thick clients.
B. A three tier system is easier to manage than a two tier system.
C. A three tier system is easier to secure.
D. A three tier system can be both vertically and horizontally scaled whereas a two tier system can only be horizontally scaled.
E. A three tier system is more extensible than a two tier system.

true answer given are A and E, but what i am thinking is .. A is not correct answer please friend light on it..

thank you
 
Inga Vizla
Greenhorn
Posts: 16
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think A answer is correct.
My reasoning:
Two tier architecture usually is composed from database and client. All business logic is implemented and is processed in client side (thick client).
3 tier architecture is divided into presentation - business logic - database tiers. Presentation is responsible only for data visualization and business logic is processed in server side. Here you have thin client.


 
Nileshkumar Jani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Inga Vizla for share your guide line
 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I disagree.

A two-tier system can have a thin client as well, if the business logic is implemented in the database. Even though in most cases a two-tier system has a thick client, it is not a given. Thus, A, to me, is not correct, because of the use of the term "always". In fact, in a two-tier system I would prefer to have the business logic in the DB.

However, it is far easier to manage a three tier system than a two tier system IMO. How do you monitor all your clients? How do you redeploy or upgrade? I would like to meet the person that thinks a mandatory client upgrade is easier than an application redeploy. In a 3-tier system you can leverage JMX for optimized application management. In a 2-tier system, forget about it.

Security I would also give to 3-tier, but that really depends on the scenario.

But B and E I would definitely consider true.
 
Amritendu De
author
Ranch Hand
Posts: 188
11
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a true statement that two tier systems can have thin clients as well. It is also a true statement that three tier systems are easier to manage than a two tier system. My vote - B & E.
 
Oscar Melo
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Amritendu. Is easier to manage, and to extend because changes probably not impact so much other tiers, that is, in a good implementation, one change on business logic no should affect database or presentation tier, also is less prone to unavailability.
 
Chris Bicnal
Ranch Hand
Posts: 96
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is very typical of a Whizz Labs question - I bought their package and this caught me out a few times.

I found that if you don't think too hard about these questions, you'll get the correct answer. As far as the Whizz Labs questions are concerned (and the actual exam to some extend) two-tier equals thick client. Period. So, unless you've given a concrete reason for not choosing three (or n) tier then always assume two tier is bad and will have a thick client.

The classic argument against this is the question about producing a GUI for an e-commerce website, no need to do the back end as it's just a prototype that another company will come in to complete. In this instance you're going to write JSPs which talk directly to the database - which is technically two tier, but like I said, generally speaking two tier is thick client and bad.

I hope that helps!

Chris

PS The real questions on the exam aren't nearly as ambiguous as this, at least mine weren't anyway!
 
Marco Bartolini
Greenhorn
Posts: 9
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I definitely go for B & E

A. A three tier system has thin clients whereas a two tier system will always have thick clients.

it is false because it depends on the architecture, if you put the logic on the DB you have a thin client...

C. A three tier system is easier to secure.

it is false because securing a two tier system it is easier

D. A three tier system can be both vertically and horizontally scaled whereas a two tier system can only be horizontally scaled.

false, it is the same
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic