4.4 Understanding Application Architectures Flashcards
(40 cards)
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
D) Virtual Machines
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
B) Platform as a Service
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
C) Serverless
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
B) Code deployment
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
D) To define the desired state of the application, including container images and configuration parameters
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
B) Ingress deployments
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.
D) It provides a human-readable format for defining the desired state of the application.
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
C) Serverless
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) Queues and events
Which pattern is triggered in response to something happening?
A) Queues
B) Events
C) Messaging
D) Replies
B) Events
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
B) To prevent blocking and dependency on replies
What do events and messaging inform other components about?
A) Direct communication
B) Blocking operations
C) System performance
D) Something that has happened
D) Something that has happened
Which pattern does not wait for a reply from the service it communicates with?
A) Queues
B) Events
C) Messaging
D) Replies
B) Events
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) To manage events between other system components
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
B) It acts as a central point for managing events
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) They can send events to it or subscribe and receive events from it
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
C) Azure Functions
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
B) Resizing images into thumbnails when uploaded
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.
C) It enables event-driven architectures and decouples components.
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
D) Azure Functions
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
D) Unlimited
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
D) All of the above
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
D) To route events to subscribers
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
D) To decouple applications and enable loose coupling