Elance Windows Azure (Developer) Test Answers 2015



Which of the following is not a Windows Azure service?
Sockets
Management
Storage
Compute


Which additional default property does the Table object inherit and what Type is it?
TimeStamp and DateTime
CreateTime and long
CreateTime and DateTime
Date and DateTime


What is the name of the binding used to build a layer that the Service Bus can use to "tunnel" through a firewall?
NetPeerTcpBinding
NetTcpRelayBinding
WsHttpBinding
NetTcpBinding


Where can you read Azure Diagnostic information from?
SQL Azure
It's written to standard Windows Server directories depending on the data source type
Blob and Table Storage
The Local Windows Azure filesystem


What provider would you use to connect to a Sql Azure database?
System.Data.SqlClient
System.Data.Service.Client
Microsoft.WindowsAzure.SqlClient
System.Data.OleDb.Client


What is the constraint for performing batch operations on a Table?
There is no constraint on batch operations they can be performed on any number of Tables with distinct properties
Each row must have an identical RowKey property
Batch updates can only be performed on Table objects that are not locked out by another process
Each row that is being updated must have the same PartitionKey


What is the maximum number of blocks you can have in Block Blob?
1,000
50,000
5,000
10,000
500


What form of API would you use to manage Windows Azure?
REST
XML
JSON
SOAP
WMI


What is the main purpose of Azure Storage Queues?
To allow messages to pass between an internet client and a role
To store messages that can be retrieved later
To allow messages to pass between web roles and worker roles
To underpin the transport of a WCF endpoint


Which size is not a SQL Azure Business Edition size?
30 GB
20 GB
5 GB
10 GB
50 GB


How does Azure Traffic Manager differ from the Azure Content Delivery Network (CDN)?
CDN works on static content whereas Traffic Manager on everything else such as Role Based Load Balancing
They are the same
Traffic manager allows more types of content to be scheduled whereas CDN will schedule them all
CDN will only allow certain types of content to be scheduled whereas Traffic Manager will schedule them all


Which language does Windows Azure NOT support?
Java
PHP
Ruby
C#


What security level does the Service Bus need to function in a host?
Partial Trust Code Access Security
Principal of Least Privilege
Medium Trust Code Access Security
Full Trust Code Access Security


How do you get a reference to an Azure Storage Queue called "myqueue" where the CloudQueueClient variable is named "client"?
CloudQueue queue = client.GetCloudQueueReference("myqueue");
CloudQueue queue = new CloudQueue("myqueue");
CloudQueue queue = client.CreateQueueIfNotExists("myqueue");
CloudQueue queue = CloudQueue.Create("myqueue");


How would you look at messages on a queue called "myqueue" in a Storage Account called "mystorage" without popping it using the REST API?
http://mystorage.queue.windows.core.net/myqueue/Messages?peekonly=true
http://mystorage.queue.windows.core.net/myqueue/Messages
http://mystorage.queue.windows.core.net/Messages?peekonly=true
http://mystorage.queue.windows.core.net/Messages


If you have a handle to a CloudBlob called "myblob" and you've uploaded a photo byte array to the Blob Container how would add a description to the Blob?
blob.Metadata["Description"] = description;
blob.AddDesciption(description);
blob.Metadata["Description"] = description; blob.SetMetadata();
blob.Description = description;


What is the maximum size for a Page Blob?
200 GB
1 TB
100 MB
100 GB
50 GB


What is the name of the class which provides client access to a volatile, small short-lived peekable cache?
ServiceBusClient
TcpClient
MessageBufferClient
MulticastClient


What binding would you use for guaranteed delivery of messages with the Service Bus and what is the protocol that underpins it?
NetTcpRelayBinding and WS-Transaction
NetPeerTcpBinding and WS-ReliableMesssaging
NetTcpRelayBinding and WS-ReliableMessaging
NetPeerTcpBinding and WS-Transaction


Which principal is Windows Azure NOT built on?
SaaS
PaaS
Caas
IaaS


Which of the following is NOT a feature of Windows Azure Storage?
Table Storage
Microsoft SkyDrive
BLOB Storage
Windows Azure Drive
Queue


What PowerShell CmdLet would you use to list all Azure hosted services?
Web-Services
Get-HostedServices
ListServices
List-HostedServices


In order to secure the AppFabric cache by ACS what object Type must be passed to a DataCacheSecurity instance?
System.String
ArrayList<char>
char*
System.Security.SecureString
char[]


If you have a Storage Account called "mystorageaccount" what is the full URI you would use to access a Queue?
mystorageaccount.queue.windows.core.net
mystorageaccount.queue.azure.com
mystorageaccount.cloudapp.net
mystorageaccount.queue.azure.net


Which is the following can not be done using the Service Management API?
Get the status of a service deployment
List all hosted services
Deployment of a management certificate
Delete a service deployment


By default which trust level does Azure run in?
Unsafe trust
Partial trust
Managed trust
Full trust


Which Azure compute option can be used to host a website
All of the above
Azure Worker Role
Azure Web Role
Azure Website
Azure Virtual Machine Roles


What is the default scheduling algorithm to load balance Windows Azure roles?
Weighted Fair Queuing
First-Come-First-Served
Maximum Throughput
Round Robin


What section is added to the web.config of a web application when the STS Wizard runs successfully?
applicationService
issuerNameRegistry
microsoft.identityModel
federationAuthentication


What operating system does Windows Azure run on?
Windows Vista
Windows 7
Windows Server 2008 R2


What do you need to add to each SQL Azure table?
Foreign Key
Non clustered index
Primary Key
Trigger
Clustered Index


What mechanism would you use to authenticate to a Service Management request?
Azure Storage Primary or Secondary Key
X509 Certificate
Windows Cardspace Credential
Windows Live username and password


What HTTP header should you add to a service management request?
x-ms-range
Etag
x-ms-version
Cache-Control
no-transform


In a SQL Azure sharded application what is Horizontal Scaling?
The mirroring of rows across active databases
The segregation of tables across physical databases
the segregation of rows across physical databases
The mirroring of tables across active databases


What is the name of Microsoft's identity software used to authenticate claims similar to ACS (but not rule map them)?
Active Directory Authentication Service
Forms Authentication
Windows Identity Foundation
Cardspace


What are the names of the two configuration that need to be deployed to the Windws Azure environment?
ServiceDefinition.cscfg, ServiceConfiguration.cscfg
ServiceDefinition.cscfg, ServiceConfiguration.csdef
ServiceDefinition.csdef, ServiceConfiguration.cscfg
ServiceDefinition.csdef, ServiceConf.cscfg
ServiceDefinition.def, ServiceConfiguration.cfg


What three attributes do you need to access an Azure Storage Queue?
URI Address, AccountName, AccountKey
URI Address, Subscription ID, Access Key
URI Address, Primary Access Key, Secondary Access Key
URI Address, Username, Password


Which of the following Identity Providers does ACS NOT support?
Facebook
Google
Twitter
Live
Yahoo!


Geo Redundancy in Azure storage keeps a copy of your data in all Azure datacenters in the world.
False
True


Which two properties will form the Primary Key of the Table?
RowKey and PartitionKey
Id and PartitionKey
TableId and TableRow
Id and RowKey


If you create a management certificate for a Visual Studio-based role using makecert -r -pe -a sha1 -n CN=Manager -ss My "Manager.cer" what does the -pe flag mean and which local store is the certificate deployed to?
Private key exportable and My store
Private key exportable and Public store
Public key encryption and personal store
Private key exportable and personal store


If you configure a Web Role to use a LocalStorage with a name of StorageDisk, how do you access this storage in code?
LocalResource storage = RoleEnvironment.GetLocalResource("StorageDisk")
LocalStorage storage = RoleEnvironment.GetLocalStorage("StorageDisk")
LocalResource storage = RoleEnvironment["StorageDisk"]
LocalStorage storage = RoleEnvironment["StorageDisk"]


Which of the following activities does SQL Azure support?
Open an XML document
Create a temporary table
Create a linked server
Create a synonym


In a service definition file A Windows Azure Diagnostics Connection string is set using which class?
System.WindowsAzure.Diagnostics.ConnectionString
Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString
System.WindowsAzure.Plugins.Diagnostics.ConnectionString
Microsoft.WindowsAzure.Diagnostics.ConnectionString


In order to use the STS Wizard in VS.NET 2010 what protocol should be referenced containing the bindings for the Relying Party?
WS-Federation Metadata
WS-Metadata Exchange
OAuth2
OAuth WRAP


How long are the Windows Azure Event Logs retained for by default?
1 week
3 months
1 month
6 months
1 day


Which of the following is not a function of a Blob Snapshot?
To take a read only copy of a Blob for a moment in time
To take a backup of a Blob
To take a checkpoint of a Blob
To update a Blob as the original is updated


If you were to write a LINQ query to get all of the rows in particular table with the "KeyHolder" property beginning with "J" what would be the correct approach?
where row.KeyHolder.IndexOf(0) == "J"
where row.KeyHolder.StartsWith("J")
where row.KeyHolder.CompareTo("J") >= 0 && row.KeyHolder.CompareTo("K") < 0
where row.KeyHolder > = "J" && row.KeyHolder < "K"


If Microsoft manages certain things under Platform as a Service, which of the following do you manage?
Middleware
Virtualization
Storage
Data


What is the name of the addressing mechanism used to find services on the Service Bus?
ServiceRegistry
ServiceBusRegistry
ServiceBusAddressBook
Registry


Which type of class is used to create a Service Bus host using which type of Microsoft technology?
ServiceBus and WCF
CommunicationHost and WWF
ServiceBusHost and WCF
ServiceHost and WCF


Name the communication protocol that underlies Windows Azure Connect.
PPP
SSTP
PPTP
IPSEC


Which attack is inherently not proteced against within Windows Azure?
Spoofing
XSS
Denial of Service
Privilege Escalation
Tampering


Which step would you not use for the deployment of a Cloud Project through Visual Studio 2010?
Enter a Subscription ID related to an Azure account
Select an X509 Certificate from a repository
Create a new X509 Certificate
Enter the X509 Certificate Thumbprint
Upload certificate to your Windows Azure account Subscription Certificates section


Which of the following Diagnostic Data Sources is not collected by default for a Web Role?
Windows Azure Diagnostic Infrastructure log
Windows Azure Log
IIS 7.0 Log
Failed Request Log


Which of the following sizes is NOT an option for an AppFabric Cache?
256 MB
64 MB
128 MB
4 GB


How can you add a Diagnostic Monitor in code?
RoleEnvironment.Listeners.Default = new Micrsoft.Windows.Azure.Diagnostics.DiagnosticMonitorTraceListener();
System.Diagnostics.Trace.Listeners.Add(Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener.Create());
System.Diagnostics.Trace.Listeners.Add(new Micrsoft.Windows.Azure.Diagnostics.DiagnosticMonitorTraceListener());
RoleEnvironment.Listeners["MyListener"] = new Micrsoft.Windows.Azure.Diagnostics.DiagnosticMonitorTraceListener();


Which object would you use prior to referencing the default AppFabric Cache?
DataCacheFactory
DataCache
Cache
CacheFactory
DataCacheProvider


How does Azure isolate user accounts?
Parallels
VM Instance Manager
Using IIS
Hypervisor


How can you migrate SQL from a SQL Server CREATE DATABASE script to be compliant for SQL Azure?
You have to make the changes by hand currently using the SQL Azure guidelines
Write code using the Microsoft.WindowsAzure.Data.dll assembly
Use the SQL Azure Migration Wizard
Use the SQL Azure Migration Assistant


What class can be used through the Service to execute the Publish/Subscribe Multicast pattern?
WsHttpBinding
NetEventRelayBinding
NetPeerTcpBinding
NetTcpRelayBinding


If you have a cloud application called cloudexperiment.cloudapp.com with a subscription ID of 00000000-0000-0000-0000-000000000000 what is the base URI for the service management request?
https://cloudexperiment.cloudapp.net/00000000-0000-0000-0000-000000000000
https://cloudexperiment.cloudapp.net
https://management.core.windows.net/00000000-0000-0000-0000-000000000000
http://management.core.windows.net/00000000-0000-0000-0000-000000000000


Which of the following is not a built-in capability or benefit of Windows Azure Storage?
Integration with Windows Azure CDN
RESTful APIs
Geo replication
Encrypted data at rest
Fault tolerance


What of the following is NOT an advantage of an affinity group?
More performant friendly due to fewer network hops between services
Lower cost due to proximity of services and not intra-data center bandwidth
Logical aggregation of similar services makes easier management letting Microsoft worry about the optimisation and geo-location of the hosted services
They allow greater resilience such that if a Role goes down another running copy is readily available from the affinity group


How would you define (through attribute decoration) an REST-based HTTP GET operation to a WCF Service Method within the Service Bus?
[OperationContract, WebGet]
[OperationContract, WebInvoke]
[OperationMethod, HttpGet]
[OperationContract, HttpGet]


Which statement about a Worker Role is incorrect?
Hosted in IIS
Acts as a WCF Service Host
Can be used to poll and pop messages from Queue Storage
Uses startup tasks to execute background of foreground processes
Can be used to run or host a database server or web server


Which API is not supported by AppFabric Caching?
REST
.NET Cache APIs
.NET Session State APIs
Soap 1.2


What does a Lease operation do to a Blob?
Prevents write operations on the Blob for one minute
Allows a snapshot to be taken of a Blob
Allows any updates on related Blobs to be aggregated into a single transaction
Allows a Blob to be copied


Which is the following is NOT an Azure Role?
Web Role
Worker Role
VN Role
Service Role


What is the default number of default Fault domains supported for a Windows Azure Role?
1
3
2
4
0


What additional steps would you need to do to enable Windows Azure Connect on an internal network?
Enable TCP ports 80 and 443 inbound
Enable ICMP
Enable ICMPv6
Enable IGMP


What is the name of the Token that is generated and supplied through the Windows Azure Management Portal to enable Connect between a role and an internal machine?
EndPointToken
SiteToken
ConnectToken
ActivationToken


How can you check whether the executing Role is running within the Fabric environment?
RoleEnvironment.IsActive == true
RoleEnvironment.IsRunning == true
RoleEnvironment.IsHere == true
RoleEnvironment.Available == true
RoleEnvironment.Running == true


Which command would you use when using the bcp utility to export data?
exporttable
dump
copytable
queryout


Which model does the AppFabric Cache use?
Plugin
Adapter
Provider
HttpModule


Which of the following is NOT a Windows Azure VM Role attribute?
Fully persisted state
Customer is given full administrator priviliges
OS provided by customer
Patches should be provided by customer
License is included in default pricing model


How would you create a new SQL Azure database called "BidCenter" using the sqlcommand utility?
sqlcommand -U username -P password -S myserver.database.windows.net -create BidCenter
sqlcommand -U username -P password -S myserver.database.windows.net -d master -c BidCenter
sqlcommand -U username -P password -S myserver.database.windows.net -d BidCenter CREATE DATABASE BidCenter
sqlcommand -U username -P password -S myserver.database.windows.net -d master CREATE DATABASE BidCenter


What type of Web Roles does the Visual Studio 2010 Wizard support out of the box?
ASP.NET MVC1 and 2
ASP.NET WebForms and ASP.NET MVC2
ASP.NET MVC2 and ASP.NET MVC3 with Razor
ASP.NET WebForms


What is the name of the service that manages Azure instances?
Azure Controller
AppFabric Controller
Fabric controller
Service Controller


What is the default number of default Upgrade domains supported for a Windows Azure Role?
4
5
2
3
1


Which of the following is NOT true for DNS lookups against Windows Azure Applications?
Full support for CNAME records
Full support for A records
IP Address short lived for deployments
TTL for cloudapp.net address is 10 seconds
Limited caching due to low TTL


What is a relying party?
A service like Facebook or Windows Live which provides verification of credentials through verifiable claims
microsoft.com
The Windows Azure Access Control Service (ACS)
The website that is using the ACS for logging in


In order to register a COM component on role startup you would need to elevate privileges. Which of the following is not a correct taskType for a startup task.
Background
Simple
Foreground
Queued


Which of the following security items is NOT provided for the Compute Process?
Limited number of loaded device dirvers
Intrusion Detection System
Hardened version of Windows Server 2008
Use of a host firewall
Three virtual hard disks


What protocols does the Odata (Open Data Protocol) not encompass?
AtomPub
JSON
TDS
HTTP


A Windows Azure Web Role should inherit from the following class.
WebRole
Role
ElevatedRole
RoleEntryPoint
AzureWebRole


You cannot connect a Web Role to an on-site Azure Connect Client and the Diagnostic tool says it is a Policy Check failure. What is the most likely fix for this?
The Windows Update service is not running. The Service should be started and the Diagnostics utility run again.
There is no active internet connection. Check the internet connection and run the diagnostics utility again.
Enable the Remote Access Manager service on the machine and run the Diagnostics utility again.
Enable IPv6 on the machine and run the Diagnostics utility again.


In SQL Azure which is the following features are supported?
Accessing system tables
Using distributed transactions
Using distributed queries
Use Defined Functions
Using CLR objects


What class should be used to encapsulate authentication to ACS programmatically?
System.Security.Cryptography.X509Certificates.X509Certificate2
System.Security.Principal
System.Security.Cryptography.X509Certificates.X509Certificate
System.Net.CredentialCache


Which providers can you currently use for the AppFabric Cache?
Page Output and Session State
Object Cache and Session State
Dictionary and Object Cache
Object Cache and Resource Cache


If you create a Table object which class will you inherit from?
System.Data.SqlClient.Table
Microsoft.WindowsAzure.StorageClient.TableServiceEntity
Microsoft.WindowsAzure.StorageClient.Table
Microsoft.WindowsAzure.StorageClient.TableEntity


When you use the UseDevelopmentStorage=true configuration what port endpoint does the Blob Storage service run on locally?
10000
10002
8001
10001


Select the correct order of method execution for an Azure Role lifecycle.
OnLoad, OnStart, Run, OnStop, OnUnLoad
Start, OnRun, Stop
OnStart, OnRun, OnStop
OnStart, Run, OnStop
Start, Run, Stop


When you build a dynamic roles database, how do you use input claims and output claims?
Let ACS check a managed list of input claim values and emit an output claim with a specific role name
Test for a specific input claim value and pass back an output claim with a specific role name
Let any input claim be acceptable but delegate the Access Control Service to a .NET code block to produce an output claim
Check a database through the ACS wizard with an input claim and passback an output claim with a specific role name


Which of the following is NOT required for a Windows Azure Role to join a domain through Connect?
Must supply the Domain Password in the .cscfg config
Connect Client must be installed on the Primary Domain Controller
Must supply the Fully Qualified Domain Name in the .cscfg config
Must supply the Primary Domain Controller Machine Key
Must supply the Domain User in the .cscfg config


Which Token Format is NOT supported by ACS?
SWT
Saml 1.1
Saml 1.2
Saml 2.0


How many extra compute instances by default are redundant to ensure a seamless uptime?
3
2
1
0


Which two Modules would you need to import to enable Remote Desktop in Configuration?
RemoteManagement, RemoteAccess
RemoteForwarder, RemoteChannel
RemoteAccess, RemoteForwarder
No configuration is necessary to enable Remote Access to a Role
RemoteAccess, RemoteChannel


Which of the following is the code block that successfully gets a reference to the Diagnostic Monitor?
var config = DiagnosticMonitor.GetDefaultInitialConfiguration();
var config = DiagnosticMonitorTraceListener.Current;
DiagnosticMonitorTraceListener listener = new DiagnosticMonitorTraceListener("DiagnosticsConnectionString"); var config = listener.GetDefaultInitialConfiguration();
var config = DiagnosticMonitor.GetDefaultConfiguration();


Which of the following web.config for the Session State provider would allow you to add Caching?
Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider
Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider
System.Data.Caching.SessionStoreProvider with an attribute flag setting for SqlServer=true
System.Data.Caching.SessionStoreProvider

No comments:

Post a Comment