Cloud Computing Multiple Choice Questions on “Applications in the Clouds”.
1. The properties necessary to guarantee a reliable transaction in databases and other applications is referred to as _____________
a) BASE
b) ACID
c) ATOM
d) All of the mentioned
Answer: b
Clarification: In computer science, ACID (Atomicity, Consistency, Isolation, Durability) is a set of properties that guarantee that database transactions are processed reliably.
2. Point out the wrong statement.
a) In theory, any application can run either completely or partially in the cloud
b) The location of an application or service plays a fundamental role in how the application must be written
c) An application or process that runs on a desktop or server is executed coherently, as a unit, under the control of an integrated program
d) None of the mentioned
Answer: d
Clarification: An action triggers a program call, code executes, and a result is returned and may be acted upon.
3. Which of the following is property of ACID principle?
a) Atomicity
b) Consistency
c) Isolation
d) All of the mentioned
Answer: d
Clarification: The ACID principle is used today by any application that is reading and writing to a stored data set.
4. Which of the following ACID property states that the system must go from one known state to another and that the system integrity must be maintained?
a) Atomicity
b) Consistency
c) Isolation
d) Durability
Answer: b
Clarification: The ACID rules were developed by Jim Gray to apply to database technology in the late 1970s.
5. Point out the wrong statement.
a) Taken as a unit, “Request => Process => Response” is not an atomic transaction
b) A coherent transaction either succeeds and is enacted, or fails and is rolled back
c) When rollback is not possible due to optimistic transaction commitment in a multiuser application, durability requires correcting the condition
d) None of the mentioned
Answer: a
Clarification: Taken as a unit, “Request => Process => Response” is an atomic transaction.
6. Which of the following component is required for both online and local data access in hybrid application?
a) local
b) cloud
c) both local and cloud
d) none of the mentioned
Answer: c
Clarification: If the application needed to access data only when the client was online, then access to cloud-based storage would be the only data store your application would required.
7. Which of the following factors might offset the cost of offline access in hybrid applications?
a) scalability
b) costs
c) ubiquitous access
d) all of the mentioned
Answer: d
Clarification: These factors make the cloud more attractive.
8. An application that needed _______ storage alone might not benefit from a cloud deployment at all.
a) online
b) offline
c) virtual
d) all of the mentioned
Answer: b
Clarification: You could safely conclude that an application that gets the most value from a cloud deployment is one that uses online storage without the need for offline storage.
9. The __________ property states that the system must have a mechanism to recover from committed transactions should that be necessary.
a) Atomicity
b) Consistency
c) Isolation
d) Durability
Answer: d
Clarification: The isolation property states that the system cannot have other transactions operate on data that is currently being processed by a transaction.
10. Which of the following property defines a transaction as something that cannot be subdivided and must be completed or abandoned as a unit?
a) Atomicity
b) Consistency
c) Isolation
d) Durability
Answer: a
Clarification: The isolation property states that the system cannot have other transactions operate on data that is currently being processed by a transaction.