Design web apps Flashcards

1
Q

Overview

A

1) Globally scale websites
2) Create websites using Microsoft Visual Studio
3) Debug websites
4) Understand supported languages
5) Websites, VMs, and cloud services

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

CDN setup

A

1) Endpoint
2) Protocol enabled
3) Query string status
4) domain names

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

Azure Traffic Manager

A

1) use a single URL to reference all of them
2) closest possible geographically
3) provides better control on where the other web applications are being deployed around the world

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

CDN Vs Azure Traffic Manager

A

CDN will deploy when it is called from a location, whereas by using a Traffic Manager, the locations are all planned out carefully at the beginning.

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

Monitor

A

1) Monitor component that is built into the blade for the web application
2) view data such as requests and errors that have occurred on the server. You also can add alerts to notify you when certain conditions are met (for example, Http Server Errors > 0)

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

Azure Application Insights

A

1) any website can send telemetry data to the Preview Management portal
2) Application Insights blade displays various captured data elements.
3) can use this to add a monitor from any webserver, not just Azure

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

Site Control Manager

A

1) can use to debug your website
2) The Site Control Manager site runs Project Kudu, which is an open-source project for managing deployments, WebJobs, and other features for Web Apps

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

Site Control Manager shows

A

currently running processes, system information, application settings, connection strings, environment variables, PATH, HTTP headers, and server variables

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

Deploy websites overview

A

1) Implement Azure Site Extensions
2) Create packages
3) Service plans
4) Deployment slots
5) Resource groups
6) Publishing options
7) Web Deploy, and FTP locations and settings
8) Settings

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

Implement Azure Site Extensions

A

1) can create and deploy custom administrator functionality.

2) can add Site Extensions to your own site and also publish it to http://www.siteextensions.net/.

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

Site extensions extra steps

A

1) add an applicationHost.xdt file
2) Add a build.cmd file to the root of your project
3) Add the new website to the Site Control Manager website
4) Restart your website
5) https://.scm.azurewebsites.net/, where is your site.

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

Publishing Profile

A

1) Azure PowerShell, you will need the publishing profile

2) import the publishing profile file in visual studio

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

Local GIT in Azure

A

1) Azure will create a GIT repository and control your source code for you
2) Azure provides online backups of all changes and commits to the GIT repository
3) if you configure the deployment to use a local GIT repository

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

Design websites for business continuity

A

1) Scale-up and scale-out with App Service Web Apps and Azure SQL Database
2) Configure data replication patterns
3) Update websites with minimal downtime
4) Backup and restore data
5) Design for disaster recovery
6) Deploy websites to multiple regions for high availability
7) Design data tier

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

Elastic Scale

A

1) SQL Database offers a scaling feature called Elastic Scale
2) Sharding a database means to split it and partition the different parts to multiple drives.
3) You can scale databases horizontally to shard the database into multiple databases based on the data.

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

DB vertical scaling

A

1) Vertical scaling moves the database from a Standard pricing tier, for which the size of the database is limited to 250 GB, to a Premium pricing tier, which can support up to 500 GB.
2) combination of vertical and sharding is possible

17
Q

Configure data replication patterns

A

1) CDN
2) SQL sync
3) SQL geo-replication

18
Q

SQL sync

A

1) set a time interval at which the database synchronizes its data to one of more other databases.
2) SQL Sync is not a replacement for actual data replication, because it is not being run against the transactions

19
Q

SQL geo-replication

A

1) Geo-replication sets up replica databases on other SQL Servers or in other data centers that can be used in a disaster recovery scenario
2) Create a readable backup, you need to use the Premium tier

20
Q

Update websites with minimal downtime

A

1) use slots

2) run multiple instances and put the instances into Upgrade Domains.

21
Q

Backup and restore data

A

1) create two files in the Blob container: an XML configuration file and a zip file with all of the files from the site.
2) If the database was backed up as well, the backup file for that will be in the content zip file at the root level.

22
Q

Design for disaster recovery

A

1) backups are stored in Azure Blob storage
2) Storage account to a Geo-Redundant or Read-Access Geo-Redundant pricing tier instead of just locally redundant
3) back up Microsoft Hyper-V–based machines that are running on-premises

23
Q

Deploy websites to multiple regions for high availability

A

1) can include only one web application from any given Azure Region
2) Traffic Manager to expose the websites via a single URL

24
Q

configuration settings for the Traffic Manager

A

1) The default setting is Performance, which uses locations geographically closest to the request.
2) Round Robin distributes traffic evenly between all of the endpoints.
3) Failover specifies that the main website is used for all traffic and then the backups are used if the primary site goes offline

25
Q

Design data tier

A

1) RDBMS vs NoSql
2) how database will need to scale-up to handle the traffic
3) strategies regarding backup and sharding

26
Q

RDBMS system uses

A

1) Transact-SQL
2) maybe command-line interface (CLI) functions defined to get or manipulate data
3) SQL DB scales upto 500gb

27
Q

NoSQL system

A

1) Azure Table storage uses a Partition Key and a Row Key to separate the data and for searching

28
Q

DocumentDb properties

A

1) indexes every field that is stored in the JSON documents that are added to the system.
2) operates closer to a standard RDBMS, but it is still a JSON document storage system
3) does allow JavaScript routines to be used as stored procedures

29
Q

Unused data

A

1) plan to back up the database or shard data that no longer needs to be in the database.
2) moving data to a backup after a transaction is completed can also help to protect customer information
3) you might want to move the completed orders to a NoSQL system such as DocumentDB for long-term storage and reporting