4.4 Understanding Application Architectures Flashcards

1
Q

What is the traditional method of running code when building applications?

A) Infrastructure as a Service

B) Platform as a Service

C) Serverless

D) Virtual Machines

A

D) Virtual Machines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which service model abstracts away the underlying infrastructure and operating system configuration?

A) Infrastructure as a Service

B) Platform as a Service

C) Serverless

D) Virtual Machines

A

B) Platform as a Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which service model falls under Platform as a Service and is a subset called “serverless”?

A) Infrastructure as a Service

B) Platform as a Service

C) Serverless

D) Virtual Machines

A

C) Serverless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In Platform as a Service and serverless, what do developers primarily need to focus on?

A) Infrastructure and operating system configuration

B) Code deployment

C) Networking configuration

D) Virtual machine management

A

B) Code deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of YAML files in the context of deploying applications to services like Azure Kubernetes Service (AKS)?

A) To define the underlying infrastructure and operating system configuration

B) To define the network routing and ingress deployments

C) To specify the DNS settings for the application

D) To define the desired state of the application, including container images and configuration parameters

A

D) To define the desired state of the application, including container images and configuration parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which component of the Azure application architecture is responsible for exposing and setting up the network routing?

A) YAML files

B) Ingress deployments

C) Service deployments

D) App deployments

A

B) Ingress deployments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the main advantage of using YAML files for deploying applications?

A) It provides detailed insights into the underlying infrastructure and operating system configuration.

B) It simplifies the process of code deployment.

C) It allows for easy network configuration and routing management.

D) It provides a human-readable format for defining the desired state of the application.

A

D) It provides a human-readable format for defining the desired state of the application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which service model abstracts away the most infrastructure and operating system configuration from developers?

A) Infrastructure as a Service

B) Platform as a Service

C) Serverless

D) Virtual Machines

A

C) Serverless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two alternate patterns for preventing blocking and enabling communication between application components?

A) Queues and events

B) Messaging and events

C) Queues and messaging

D) Events and replies

A

A) Queues and events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which pattern is triggered in response to something happening?

A) Queues

B) Events

C) Messaging

D) Replies

A

B) Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the main purpose of using events or messaging in software development?

A) To enable direct communication between components

B) To prevent blocking and dependency on replies

C) To ensure efficient routing of messages

D) To improve overall system performance

A

B) To prevent blocking and dependency on replies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do events and messaging inform other components about?

A) Direct communication

B) Blocking operations

C) System performance

D) Something that has happened

A

D) Something that has happened

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which pattern does not wait for a reply from the service it communicates with?

A) Queues

B) Events

C) Messaging

D) Replies

A

B) Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the main purpose of Azure Event Grid?

A) To manage events between other system components

B) To create and manage storage accounts

C) To resize images into thumbnails

D) To subscribe to events from Azure Functions

A

A) To manage events between other system components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is one of the key features of Azure Event Grid?

A) It requires creating resources in Azure to start using it

B) It acts as a central point for managing events

C) It directly resizes images when uploaded to a storage account

D) It only works with Azure Functions

A

B) It acts as a central point for managing events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can components interact with Azure Event Grid?

A) They can send events to it or subscribe and receive events from it

B) They can create and manage storage accounts

C) They can resize images into thumbnails

D) They can only receive events from Azure Functions

A

A) They can send events to it or subscribe and receive events from it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which service can subscribe to events and perform certain actions based on those events?

A) Azure Storage

B) Azure Event Grid

C) Azure Functions

D) Azure App Service

A

C) Azure Functions

18
Q

What is a common example of using Azure Event Grid?

A) Managing storage accounts

B) Resizing images into thumbnails

C) Creating event topics

D) Sending events to Azure Functions

A

B) Resizing images into thumbnails when uploaded

19
Q

What is the main benefit of using Azure Event Grid?

A) It allows for direct communication between components.

B) It provides real-time data processing capabilities.

C) It enables event-driven architectures and decouples components.

D) It simplifies the deployment of Azure services.

A

C) It enables event-driven architectures and decouples components.

20
Q

Which type of event handler is used to process events in Azure Event Grid?

A) Event hub

B) Webhook

C) Event grid topic

D) Azure Functions

A

D) Azure Functions

21
Q

What is the maximum number of subscribers that can be registered for an event in Azure Event Grid?

A) 10

B) 100

C) 1000

D) Unlimited

A

D) Unlimited

22
Q

Which Azure service can be used as an event source in Azure Event Grid?

A) Azure Functions

B) Azure Event Hubs

C) Azure Logic Apps

D) All of the above

A

D) All of the above

23
Q

What is the primary purpose of an event topic in Azure Event Grid?

A) To define the event schema

B) To specify the event source

C) To manage event subscriptions

D) To route events to subscribers

A

D) To route events to subscribers

24
Q

What is the main purpose of using queues in Azure Service Bus or storage accounts?

A) To enable direct communication between applications

B) To store and retrieve messages asynchronously

C) To trigger tasks or actions in real-time

D) To decouple applications and enable loose coupling

A

D) To decouple applications and enable loose coupling

25
Q

What is the main difference between Azure service bus queues and storage queues?

A) Azure service bus queues are simpler to use than storage queues.

B) Azure service bus queues are part of storage accounts.

C) Azure service bus queues support more advanced messaging features.

D) Azure service bus queues are used for direct application communication.

A

C) Azure service bus queues support more advanced messaging features.

26
Q

Where can you find storage queues in a storage account?

A) Underneath containers and file shares

B) Underneath the Blob storage option

C) Underneath the Tables option

D) Underneath the Queues option

A

D) Underneath the Queues option

27
Q

When using queues, what does an application do to communicate with another application?

A) It directly sends a message to the other application.

B) It writes a message to a queue for the other application to process.

C) It triggers a task or action in real-time.

D) It stores messages for future retrieval.

A

B) It writes a message to a queue for the other application to process.

28
Q

What is the advantage of using queues for communication between applications?

A) It enables direct and synchronous communication.

B) It simplifies the communication process between applications.

C) It allows for real-time data transfer.

D) It decouples applications and enables asynchronous communication.

A

D) It decouples applications and enables asynchronous communication.

29
Q

Which types of compute options were mentioned in the course?

A) Virtual machines, Azure Functions, Containers, and AKS

B) Service Bus and API Manager

C) Message querying and combining

D) Nuanced choices

A

A) Virtual machines, Azure Functions, Containers, and AKS

30
Q

What are Service Bus and API Manager primarily used for?

A) Message querying and combining

B) Fully managed options

C) Exposing APIs

D) Choosing a compute model

A

C) Exposing APIs

31
Q

Which compute options have more nuanced choices?

A) Virtual machines and Azure Functions

B) Service Bus and API Manager

C) Containers and AKS

D) Message querying and combining

A

A) Virtual machines and Azure Functions

32
Q

What can be considered when choosing a compute model?

A) Broader benefits

B) Message querying and combining

C) Exposing APIs

D) Nuanced choices

A

A) Broader benefits

33
Q

Which compute options are fully managed?

A) Virtual machines

B) Azure Functions

C) Containers

D) AKS

A

B) Azure Functions

34
Q

Our customer has an existing system that takes orders from a central website and processes them locally. To support the company’s expansion into Europe, they want to keep the website itself hosted in the US, but be able to have European orders processed by systems hosted in the European region.

They’ve also experienced performance issues on the website, especially when the backend systems become too busy and therefore they’d like this issue solved then as well.

How might we re-architect their solution?

A
35
Q

What is the customer scenario described in the transcript?

A) The customer wants to expand their website globally.

B) The customer wants to improve the performance of their website.

C) The customer wants to process European orders using systems in the European region.

D) The customer wants to re-architect their entire solution.

A

C) The customer wants to process European orders using systems in the European region.

36
Q

Where does the customer want to host their website?

A) Europe

B) US

C) Both Europe and US

D) It is not mentioned in the transcript.

A

B) US

37
Q

What issue has the customer experienced with their website?

A) Security vulnerabilities

B) Lack of scalability

C) Performance issues

D) Compatibility problems

A

C) Performance issues

38
Q

What is the main objective of re-architecting the solution?

A) Improve website security

B) Enhance website scalability

C) Solve performance issues during peak loads

D) Expand website functionality

A

C) Solve performance issues during peak loads

39
Q

What is the proposed solution to address the customer’s needs?

A) Move the website to the European region

B) Implement load balancing for the backend systems

C) Use a content delivery network for faster website delivery

D) Establish a distributed system architecture

A

D) Establish a distributed system architecture

40
Q
A