ASI Exam 2023 PDF
Document Details
Uploaded by Deleted User
2023
ASI
Tags
Summary
This is a past paper for the ASI exam, 2023. It covers topics in information system architecture and includes multiple-choice questions and answers on concepts such as cloud computing (AWS, storage), microservices architecture, and containerization (Docker).
Full Transcript
# Information System architecture ## Question 1 Among the following situations, which would benefit most from moving a local data store to AWS? - Unpredictable storage demand that increases and decreases repeatedly throughout the year - Constant and unchanged storage demand - Growth in demand fo...
# Information System architecture ## Question 1 Among the following situations, which would benefit most from moving a local data store to AWS? - Unpredictable storage demand that increases and decreases repeatedly throughout the year - Constant and unchanged storage demand - Growth in demand for long-term and stable storage The correct answer is: Unpredictable storage demand that increases and decreases repeatedly throughout the year ## Question 2 Which integration pattern is commonly used in web APIs when a consumer application needs to have the requested data immediately? - Point-to-point (P2P) - Request-response - Publish/subscribe (PubSub) The correct answer is: Request-response ## Question 3 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. ## Question 4 A cloud service is not: - Based on a Pay per "use" billing model - On-demand - **Specific for each client** - Allowing elasticity ## Question 5 Among the following options, choose the one that is an AWS storage solution: - **Simple Storage Service (S3)** - Cosmos DB - Blob Storage - SQL Database ## Question 6 Benefits of the cloud: - Improve agility and development speed (reduce time-to-market) - Innovation opportunities - Cost efficiency ## Question 7 In the context of an IS urbanization, what are the points to pay attention to? - **Centralize user authentication** - **Identify data exchanges with the outside** - **Group business logic within isolated blocks** ## Question 8 What are the prerequisites for implementing event sourcing? - **Save all produced events in a database** - **Produce an event for each modification made to the application state** ## Question 9 Which type of cloud service is more appropriate for teams that focus only on application logic?  - **PaaS** ## Question 10 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?  - **In an S3 bucket** ## Question 11 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 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 ``` - **Internet connection is required to build this Dockerfile** - **After the build, the image will have NodeJS 10 installed** ## Question 13 In the context of implementing the CQRS architecture, what can you set up to maintain data consistency? - **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)** ## Question 14 Which integration pattern is often used when multiple applications need to have information about the same event? - **Publish/subscribe (PubSub)** ## Question 15 Scale-up, or vertical scaling, is NOT: - **Increasing the number of containers that make up the solution** ## Question 16 A cache allows you to store data permanently. - **False** ## Question 17 In the context of creating an application within a microservices architecture, how do you exchange information with other applications? - **By communicating through lightweight communication protocols.** - **Using APIs (Application Programming Interfaces) as a web service.** - **By communicating asynchronously through a message bus.** ## Question 18 How should the steps below be ordered when migrating an information system to the cloud? 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.** ## Question 19 Match the descriptions with the corresponding architectures shown below: - **A batch script processes data. - Figure C** - **A webservice API is documented by the development teams. - Figure A** - **The applications publish or subscribe to events. - Figure B**  ## Question 20 Regarding the OAuth2 protocol authentication access token, select the correct statements among the following: - **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.** ## Question 21 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? - **True** ## Question 22 A service allows for orchestrating, managing, and deploying containers on virtual machines is a: - **PaaS**