DevOps Tools Engineer (LPIC-OT 701) — Question 40
An online shop needs to store information about clients and orders. A list of fixed properties for clients and orders exists. The data storage should enforce specific data types on these properties and ensure that each order is associated with an existing client. Which of the following cloud services is capable of fulfilling these requirements?
Answer options
- A. An in-memory database like memcached.
- B. An object store like OpenStack Swift.
- C. A messaging service like OpenStack Zaqar.
- D. A NoSQL database like MongoDB.
- E. A relational database like MariaDB.
Correct answer: E
Explanation
The correct answer is E, a relational database like MariaDB, because it supports structured data with defined schemas, allowing for strict data types and relationships between tables, such as linking orders to clients. The other options do not provide the necessary structure for enforcing data types or relationships: memcached is for caching, OpenStack Swift is an object storage solution, OpenStack Zaqar is for messaging, and MongoDB is a NoSQL database that does not enforce relationships in the same way.