Skip to content

Mock Exam

Fundamentals and Performance

According to Amdahl's Law, if 90% of a program's execution time can be parallelized, what is the theoretical maximum speedup you can achieve, regardless of how many processors you use?
Which of the following are categories in Flynn's Taxonomy for classifying computer architectures?

HPC and Slurm

Which of the following is the Slurm command to submit a job script to the scheduler on an HPC system like Spartan?
In the context of the Spartan HPC system, what is the primary purpose of the `module load` command?

Cloud Computing Basics

According to the NIST definition, which of the following are considered essential characteristics of cloud computing?
In the "as-a-Service" models, which model gives the user the most control over the operating system and middleware?

OpenStack Components

What is the code-name for the OpenStack Identity service, which handles authentication and authorization?
Which OpenStack component is responsible for providing persistent block storage to virtual machine instances?
Which of the following OpenStack components provides a web-based dashboard for users to interact with cloud services?

Containerization and Docker

What is a primary advantage of containerization (e.g., Docker) when compared to traditional virtualization (e.g., VMs)?
In Docker, what is the purpose of a `Dockerfile`?
Which Docker networking mode would you use if you wanted a container to have its own IP address on the physical network, making it appear like a separate physical machine?

Kubernetes

According to the lectures, what is the smallest deployable unit in a Kubernetes cluster?
In Kubernetes, what is the primary function of a `Service` object?
Which `kubectl` command is used to apply a configuration defined in a YAML file to a Kubernetes cluster?
A Kubernetes `Deployment` manifest specifies `replicas: 3`. If one of the three running pods crashes, what will the Kubernetes control plane do?

Serverless and FaaS

In the context of Function-as-a-Service (FaaS), what does "stateless" mean for a function?
In the Fission FaaS framework, what is the role of an "Environment"?
What is the primary benefit of using "Fission Specs"?
What is a "cold start" in a FaaS environment?

Big Data and ElasticSearch

Which of the "Four Vs" of Big Data refers to the level of trust in the data's accuracy and provenance?
In a distributed database like ElasticSearch, what is a "shard"?
What is a key limitation of the ElasticSearch SQL dialect mentioned in the lectures?
If an ElasticSearch cluster has unassigned replica shards because there are not enough nodes to host them without duplication, what status will the cluster report?

Virtualization

According to the Popek and Goldberg theorem, a virtual machine monitor (VMM) can be constructed if the set of sensitive instructions is a subset of which set of instructions?
What is the fundamental difference between full virtualization and para-virtualization?
During the live migration of a virtual machine, what happens in the "Iterative Pre-copy" stage?

Security

What is the primary function of a Certification Authority (CA) within a Public Key Infrastructure (PKI)?
What is the key difference between authentication and authorization?
The lecture on cloud security mentions several challenges. Which challenge is directly related to the "pay as you go" model?
What is the primary purpose of Shibboleth, as described in the security lecture?

Distributed Systems and Parallel Computing

The historical evolution from Grid Computing to Cloud Computing represents a shift in focus from:
In an HPC environment like Spartan, which parallel programming model is typically used for distributed-memory applications that run across multiple nodes?
Which of the following is a key characteristic of a "monolithic" application architecture, as contrasted with a serverless/microservices architecture?

AWS vs OpenStack

In the AWS vs. OpenStack comparison, which AWS service is the conceptual equivalent of OpenStack Nova?

Distributed Data Models

Which of the following are valid data models for distributed environments as discussed in the lectures?

Application Architecture and Use Cases

A developer needs to run a long-running, stateful data processing job. Which of the following would be the most appropriate technology choice based on the lecture material?
Which of the following statements accurately reflects the trade-offs between IaaS and PaaS?
Which of the following is an example of a "side-effect" in a FaaS function?

Cloud Economics

The lecture on cloud costs highlighted that one type of network traffic is typically far more expensive than its counterpart. Which is it?

Additional Concepts from Mock Exam 2

In the context of distributed databases, what does "Consistency" mean in the CAP theorem?
In the context of CouchDB clusters, what is a "replica number"?
What is meant by "serverless computing" in the context of Cloud?

Changelog

MIT Licensed