Overview of Designing Microsoft Azure Infrastructure Solutions
The AZ-305 certification is an essential milestone in your Azure journey. Our practice tests simulate the real exam format, helping you build confidence and identify knowledge gaps. Review the detailed explanations provided after each question to deeply understand the underlying cloud concepts.
Sample AZ-305 Practice Questions
Question 1
In a scenario where you need to monitor the performance of an Azure Function App and correlate logs with traces from multiple microservices, which solution would you recommend to achieve this? Given that the Azure Function App is deployed in an Azure App Service and the microservices are deployed as Docker containers on Azure Kubernetes Service (AKS), choose the best approach.
- Use Azure Monitor for both monitoring and tracing.
- Deploy Application Insights to monitor the Azure Function App and use Log Analytics Workspace for tracing.
- Use Log Analytics Workspace for all monitoring and tracing needs.
- Use Azure Monitor for monitoring and Application Insights for tracing.
Application Insights provides end-to-end monitoring and distributed tracing capabilities, making it ideal for correlating logs and traces across different services. Log Analytics Workspace can be used for storing and querying logs but does not provide built-in tracing capabilities. Azure Monitor can also be used for monitoring but lacks the distributed tracing feature. Application Insights is the best choice for this scenario due to its comprehensive monitoring and tracing features.
Question 2
You are designing a logging solution for a web application hosted in Azure that needs to capture detailed logs for debugging purposes. The application consists of several microservices communicating through HTTP requests. Which combination of tools would you recommend to ensure efficient logging and trace correlation across these microservices?
- Use Azure Monitor for monitoring and Log Analytics Workspace for logging.
- Deploy Application Insights for both logging and tracing.
- Use Log Analytics Workspace for logging and Azure Monitor for tracing.
- Use Azure Monitor for monitoring and Application Insights for tracing.
Log Analytics Workspace is suitable for storing and querying logs but lacks built-in tracing capabilities. Application Insights, on the other hand, offers both logging and distributed tracing, making it the best fit for capturing logs and tracing across multiple microservices. Azure Monitor can be used for monitoring but does not provide tracing capabilities. Therefore, Application Insights is the optimal choice for this scenario.
Question 3
In a scenario where you need to securely access resources in Azure from a managed service without using client secrets or certificates, which Managed Identity type should you use, and why is it suitable for this scenario?
- Azure AD App-only tokens
- System-assigned managed identities
- Azure AD User-assigned managed identities
- Azure AD B2C
System-assigned managed identities are ideal for scenarios where you want to grant access to Azure resources without managing any secrets. They are automatically assigned to Azure resources and can be used to authenticate to Azure services and other cloud services that support Azure AD authentication. User-assigned managed identities are more flexible as they can be assigned to multiple resources but require additional management. Azure AD App-only tokens are used for applications and do not involve user interaction, while Azure AD User-assigned managed identities are specific to individual users and not suitable for service-to-service communication.
Use the interactive quiz engine above to answer these questions and hundreds more.