Summary

This document contains a past exam paper for an information systems architecture course. The questions cover topics such as cloud storage, integration patterns, and Docker. The exam has various single and multiple choice questions.

Full Transcript

# Information System architecture ## Grade: 8.12 out of 20.00 (40.6%) ### Question 1 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Unpredictable storage demand that increases and decreases repeatedly throughout the year. **Among the following situations,...

# Information System architecture ## Grade: 8.12 out of 20.00 (40.6%) ### Question 1 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Unpredictable storage demand that increases and decreases repeatedly throughout the year. **Among the following situations, which would benefit most from moving a local data store to AWS?** * a. Unpredictable storage demand that increases and decreases repeatedly throughout the year * b. Constant and unchanged storage demand * c. Growth in demand for long-term and stable storage ### Question 2 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Request-response **Which integration pattern is commonly used in web APIs when a consumer application needs to have the requested data immediately?** * a. Point-to-point (P2P) * b. Request-response * c. Publish/subscribe (PubSub) ### Question 3 * **Partially correct** * **Mark**: 0.67 out of 2.00 * **Flag question** * **Correct Answer**: **[a Dockerfile]** contains a set of instructions, which creates **[an image]** when the docker build command is executed. The docker run command, in contrast, initiates the execution of **[a container]**. **a Dockerfile** contains a set of instructions, which creates a **container** when the docker build command is executed. The docker run command, in contrast, initiates the execution of an **image**. ### Question 4 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Specific for each client **A cloud service is not:** * a. Based on a Pay per "use" billing model * b. On-demand * c. Specific for each client * d. Allowing elasticity ### Question 5 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Simple Storage Service (S3) **Among the following options, choose the one that is an AWS storage solution:** * a. Simple Storage Service (S3) * b. Cosmos DB * c. Blob Storage * d. SQL Database ### Question 6 * **Incorrect** * **Mark**: 0.00 out of 0.50 * **Flag question** * **Correct Answer**: Cost efficiency, Innovation opportunities, Improve agility and development speed (reduce time-to-market) **Benefits of the cloud:** **Select one or more:** * a. Improve agility and development speed (reduce time-to-market) * b. Innovation opportunities * c. Improved user interface design * d. Cost efficiency ### Question 7 * **Correct** * **Mark**: 1.00 out of 1.00 * **Remove flag** * **Correct Answer**: Group business logic within isolated blocks, Centralize user authentication, Identify data exchanges with the outside **In the context of an IS urbanization, what are the points to pay attention to?** * a. Migrate all structured data to unstructured data * b. Centralize user authentication * c. Identify data exchanges with the outside * d. Group business logic within isolated blocks ### Question 8 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Produce an event for each modification made to the application state, Save all produced events in a database **What are the prerequisites for implementing event sourcing?** * a. Save all produced events in a database * b. Have implemented all DevOps practices * c. Use a real-time database (gRPC connection) * d. Produce an event for each modification made to the application state ### Question 9 * **Incorrect** * **Mark**: 0.00 out of 0.50 * **Flag question** * **Correct Answer**: PaaS **Which type of cloud service is more appropriate for teams that focus only on application logic?** * a. SaaS * b. On Premise * c. laas * d. PaaS ### Question 10 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: In an S3 bucket **Use Case:** The accounting department of a company is migrating to a new financial accounting software. The department must retain file-based database backups for seven years for regulatory compliance purposes. It is unlikely that the backups will be used for data recovery. You need to move the backups to AWS, and the solution should minimize costs. **WHERE SHOULD YOU STORE THE BACKUPS?** * a. In a MySQL database * b. In an S3 bucket * c. In a git repository ### Question 11 * **Correct** * **Mark**: 1.00 out of 1.00 * **Remove flag** * **Correct Answer**: [Scaling out] or [Horizontal scaling) means adding more machines to your pool of resources, while [Scaling up] or [Vertical scaling] refers to adding more power (e.g., CPU, RAM) to an existing machine. **Scaling out** or **Horizontal scaling** means adding more machines to your pool of resources, while **Scaling up** or **Vertical scaling** refers to adding more power (e.g., CPU, RAM) to an existing machine. ### Question 12 * **Correct** * **Mark**: 1.00 out of 1.00 * **Flag question** * **Correct Answer**: a,b,d **Based on the Dockerfile below, which of the following statements are true?** ```dockerfile FROM debian:9 RUN apt-get update -yq \ && apt-get install curl gnupg -yq \ && curl -sL https://deb.nodesource.com/setup_10.x | bash \ && apt-get install nodejs -yq \ && apt-get clean -y COPY /app/ WORKDIR /app RUN npm install EXPOSE 2368 CMD npm run start ``` * a. Internet connection is required to build this Dockerfile * b. After the build, the image will have NodeJS 10 installed * c. Executing the "ls" command inside the running container will show files and folders present in "/home/user/app" * d. All existing files and folders in the Dockerfile directory will be copied into the image ### Question 13 * **Incorrect** * **Mark**: 0.00 out of 1.00 * **Flag question** * **Correct Answer**: Updating the read database by the service handling the commands, Producing modification events consumed by a service responsible for updating the read database(s) (Projection) **In the context of implementing the CQRS architecture, what can you set up to maintain data consistency?** **Select one or more:** * a. Updating the read database by the service handling the commands * b. A daily executed service that extracts, transforms, and loads (ETL) data from the write database to the read database(s) * c. Producing modification events consumed by a service responsible for updating the read database(s) (Projection) ### Question 14 * **Correct** * **Mark**: 1.00 out of 1.00 * **Flag question** * **Correct Answer**: Publish/subscribe (PubSub) **Which integration pattern is often used when multiple applications need to have information about the same event?** * a. Publish/subscribe (PubSub) * b. Point-to-point (P2P) * c. Request-response ### Question 15 * **Correct** * **Mark**: 1.00 out of 1.00 * **Remove flag** * **Correct Answer**: Increasing the number of containers that make up the solution **Scale-up, or vertical scaling, is NOT:** * a. Increasing storage or computing power on an existing virtual machine * b. Increasing the number of containers that make up the solution * c. Adding more memory to a web server or database server to make it faster ### Question 16 * **Correct** * **Mark**: 1.00 out of 1.00 * **Flag question** * **Correct Answer**: False **A cache allows you to store data permanently.** * True * False ### Question 17 * **Incorrect** * **Mark**: 0.00 out of 0.50 * **Remove flag** * **Correct Answer**: By communicating through lightweight communication protocols., Using APIs (Application Programming Interfaces) as a web service., By communicating asynchronously through a message bus. **In the context of creating an application within a microservices architecture, how do you exchange information with other applications?** * a. Using a FTP server to share files. * b. By communicating asynchronously through a message bus. * c. By connecting to other applications' databases. * d. Using APIs (Application Programming Interfaces) as a web service. * e. By communicating through lightweight communication protocols. ### Question 18 * **Partially Correct** * **Mark**: 0.25 out of 1.00 * **Remove flag** * **Correct Answer**: 1. Rehost the applications or resources from the on-premises environment to the cloud without making significant changes to the architecture or functionality of the application. 2. Replatform by making adjustments to the application's architecture or components to better fit the target cloud environment, such as containerizing applications. 3. Refactor by making significant changes to an application's architecture and codebase to take advantage of cloud-native services. 4. Rebuild by rewriting and redesigning parts of an application from scratch to optimize it for cloud environments, such as by creating microservices. **How should the steps below be ordered when migrating an information system to the cloud?** 1. Replatform by making adjustments to the application's architecture or components to better fit the target cloud environment, such as containerizing applications. 2. Refactor by making significant changes to an application's architecture and codebase to take advantage of cloud-native services. 3. Rehost the applications or resources from the on-premises environment to the cloud without making significant changes to the architecture or functionality of the application. 4. Rebuild by rewriting and redesigning parts of an application from scratch to optimize it for cloud environments, such as by creating microservices. ### Question 19 * **Correct** * **Mark**: 1.00 out of 1.00 * **Remove flag** * **Correct Answer**: Figure A - A webservice API is documented by the development teams. Figure B - The applications publish or subscribe to events. Figure C - A batch script processes data. **Match the descriptions with the corresponding architectures shown below.** * **Figure A**: An application named App A is directly connected to a database and sends requests to a second application, App B, which is also connected to a database. * **Figure B**: Two applications, App A and App B, both connected to separate databases, are connected by double-ended arrows, indicating a two-way exchange of information. * **Figure C**: An application named App B sends requests to a database and receives data from a second application, App A, which is also connected to a database. ### Question 20 * **Incorrect** * **Mark**: 0.00 out of 0.50 * **Remove flag** * **Correct Answer**: It is represented as a JSON Web Token (JWT), Its integrity can be verified through a signature, It allows authenticating a user and expressing their roles **Regarding the OAuth2 protocol authentication access token, select the correct statements among the following:** * a. It allows authenticating a user and expressing their roles * b. Its integrity can be verified through a signature * c. It contains the user's password * d. It is represented as a JSON Web Token (JWT) ### Question 21 * **Incorrect** * **Mark**: 0.00 out of 0.50 * **Flag question** * **Correct Answer**: True **For a container to run on a machine, it is necessary for the machine to have an operating system and a Docker runtime installed. Is this statement true or false?** * a. False * b. True ### Question 22 * **Complete** * **Not graded** * **Flag question** * **Correct Answer**: PaaS **A service allows for orchestrating, managing, and deploying containers on virtual machines is a:** * a. SaaS * b. IaaS * c. PaaS * d. On-Premise Service

Use Quizgecko on...
Browser
Browser