Cloud Computing
Practice questions
What does a server do in the client-server model?
- It asks clients for files and then keeps them for itself
- It waits for requests from clients and sends back responses
- It only displays web pages on the user's own screen
- It repairs the internet cable between two buildings
Answer and explanation
Answer: B
A server answers requests: the client asks and the server responds, so waiting for requests and sending back responses is right. The others describe other jobs.
What does an SLA state?
- The service levels, such as uptime, that are promised
- The full list of files that a user has stored online
- The colour scheme used on the provider's own website
- The password policy used on the customer's own phone
Answer and explanation
Answer: A
A Service Level Agreement is the written promise on service levels between provider and customer.
What does 'vertical scaling' mean?
- Adding many more identical machines
- Moving all data to a different country
- Making one machine bigger or more powerful
- Reducing the number of users allowed
Answer and explanation
Answer: C
Vertical scaling increases the power of one machine; adding more machines is horizontal scaling.
Which is TRUE about sync?
- It is a separate copy kept for recovery
- A deletion made on one device can spread to the others
- It makes a deleted file impossible to lose
- It works only when all devices are switched off
Answer and explanation
Answer: B
Sync mirrors changes, including deletions, so it is not a backup.
Which is the odd one out: public, private, hybrid, FaaS?
- Public
- Private
- Hybrid
- FaaS
Answer and explanation
Answer: D
Public, private and hybrid are deployment models; FaaS is a service model.
Which statement correctly separates scalability from elasticity?
- Elasticity adds and removes resources as demand changes
- Scalability means a fixed system that can never grow
- Elasticity means keeping a second copy of all data
- They are two names for exactly the same thing
Answer and explanation
Answer: A
Scalability is the ability to handle more load; elasticity is the automatic growing and shrinking with demand.
A connection is rated 90 Mbps. About how many megabytes can it carry per second?
- 11.25
- 720
- 90
- 8
Answer and explanation
Answer: A
Divide bits by 8: 90 / 8 = 11.25 megabytes per second. Multiplying by 8 would give 720, which converts the wrong way.
A service promises 99 percent availability in a 30-day month. What is the allowed downtime?
- 43.2 minutes
- 216 minutes
- 4,320 minutes
- 432 minutes
Answer and explanation
Answer: D
Total = 43,200 minutes. One percent of 43,200 = 432 minutes. 43.2 minutes would be for 99.9 percent.
3 servers run for 10 hours at Rs 6 per server per hour. What is the cost?
- Rs 19
- Rs 60
- Rs 180
- Rs 360
Answer and explanation
Answer: C
3 x 10 x 6 = Rs 180. Rs 360 would need 20 hours.
How many 3 MB photos fit in 1.5 GB (1 GB = 1024 MB)?
- 512
- 500
- 1,536
- 4,608
Answer and explanation
Answer: A
1.5 GB = 1.5 x 1024 = 1,536 MB. 1,536 / 3 = 512 photos. The figure 500 uses 1000 instead of 1024.
How long does a 250 MB file take at 20 Mbps (1 byte = 8 bits)?
- 12.5 seconds
- 100 seconds
- 50 seconds
- 1,000 seconds
Answer and explanation
Answer: B
250 x 8 = 2,000 megabits. 2,000 / 20 = 100 seconds. The value 12.5 forgets to convert bytes to bits.
In a SaaS system, who is responsible for choosing strong passwords for user accounts?
- The provider's data-centre staff
- The maker of the computers in the data centre
- The customer organisation and its users
- No one, because SaaS secures everything
Answer and explanation
Answer: C
Accounts and sharing settings are on the customer's side of shared responsibility even in SaaS.
A company uses services from two different public cloud providers together. What is this called?
- Multi-cloud
- Hybrid cloud
- Community cloud
- Private cloud
Answer and explanation
Answer: A
Using more than one public provider is multi-cloud. Hybrid specifically joins private and public.
Which statement about private cloud is correct?
- It must always be physically inside the customer's own building
- It is always shared by thousands of unrelated customers
- It cannot be used for storing any kind of data
- It is used by one organisation and may be run by an outside company
Answer and explanation
Answer: D
Private refers to exclusive use. It can be on the organisation's premises or hosted for it.
Sensitive records stay on private systems while a busy public website runs on rented capacity. Which model?
- Hybrid cloud
- Public cloud only
- Private cloud only
- Community cloud
Answer and explanation
Answer: A
A mix of private and public working together is a hybrid cloud.
An organisation wants dedicated cloud resources used only by itself. Which model is this?
- Public cloud
- Private cloud
- Community cloud
- Multi-cloud
Answer and explanation
Answer: B
Exclusive use by one organisation defines a private cloud.
Which statement is true for every service model?
- The provider is responsible for all of the customer's data
- The customer is responsible for its own data and accounts
- The customer manages the physical servers in the building
- The customer always installs the operating system itself
Answer and explanation
Answer: B
Whatever the model, the customer decides what data to store and who may access it. Physical servers always belong to the provider.
Which service gives a complete desktop environment over the internet to any device?
- DaaS
- FaaS
- IaaS used only for storage
- A private cloud only
Answer and explanation
Answer: A
Desktop as a Service delivers a full desktop. FaaS runs functions and a private cloud is a deployment model, not a service model.
Under which model does the customer apply operating-system security updates?
- PaaS
- SaaS
- All three equally
- IaaS
Answer and explanation
Answer: D
Only in IaaS does the customer manage the operating system. In PaaS and SaaS the provider does.
A developer uploads code and the provider handles servers, patches and scaling. Which model?
- PaaS
- IaaS
- SaaS
- DaaS
Answer and explanation
Answer: A
The provider manages the platform and the customer manages only the application and data, so it is PaaS.