exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 10 question 2 discussion

Actual exam question from Microsoft's AZ-304
Question #: 2
Topic #: 10
[All AZ-304 Questions]

HOTSPOT -
You need to recommend a solution for the data store of the historical transaction query system.
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
xAlx
Highly Voted 4 years, 4 months ago
Correct Table with fixed capacity: in requirements - "The data in the Azure Table storage is 50 GB and is not expected to increase" Additional read region: availiability zone or set doesn't help during region gailure
upvoted 37 times
student22
3 years, 6 months ago
Also, single table because we move to Cosmos DB.
upvoted 3 times
...
...
salehz
Highly Voted 4 years, 4 months ago
Multiple tables fixed capacity
upvoted 15 times
sreejayan
4 years, 2 months ago
Agree - Multiple tables fixed capacity
upvoted 3 times
sreejayan
4 years, 2 months ago
The issue is that the queries are based on different attributes of the item. Hence it would be ideal to create multiple tables.
upvoted 5 times
levo017
4 years, 2 months ago
Unlike Relational DB, Azure Table storage is not designed to be queried, you cannot do join query on Tables in Table storage. So Single table is sufficient.
upvoted 1 times
levo017
4 years, 2 months ago
Just to be clear, PartitionKey and RowKey are the only two fields that can be queried in Table storage, there is no way I know of that can run a JOIN query. Please correct me if wrong :)
upvoted 1 times
AberdeenAngus
2 years, 11 months ago
That's not quite right, PartitionKey and RowKey are the only two fields which are INDEXED. Queries can be on any field, but non-indexed fields will be slow of course.
upvoted 1 times
...
...
...
...
soren
4 years ago
The requirement - The Contoso IT team discovers poor performance of the historical transaction query system, as the queries frequently cause table scans. This opens up the possibility of having multiple tables with a different partition key. The Udemy 304 course has it with multiple tables. Could go either way but multiple tables seems best considering this requirement.
upvoted 4 times
rdemontis
3 years, 5 months ago
I agree with you
upvoted 1 times
...
...
...
...
[Removed]
Most Recent 3 years, 4 months ago
Multiple table fix capacity - due to performance issue in current system Additional read regions
upvoted 2 times
...
student22
3 years, 6 months ago
Correct
upvoted 1 times
...
waqas
3 years, 7 months ago
Given Answers are correct.
upvoted 1 times
...
syu31svc
3 years, 7 months ago
"The data in the table storage is 50 GB and is not expected to increase" "queries frequently cause table scans" 1st drop down is multiple tables with fixed capacity 2nd drop down is additional read region for sure
upvoted 5 times
...
leo_az300
3 years, 7 months ago
The 1st box should be multiple tables with fixed size. The question is asking to address performance issue in Azure Table Storage. So we should understand what caused performance issue first. It says it's caused by table scan. The issue of a table scan has to do with crossing the partition boundaries. The level of performance you are guaranteed is explicitly set at the partition level. therefore, when you run a full table scan, its a) not very efficient, b) doesn't have any guarantee of performance. This is because the partitions themselves are set on separate storage nodes, and when you run a cross partition scan, you're consuming potentially massive amounts of resources (tying up multiple nodes simultaneously). Therefore the solution after migrating to Cosmos DB is to reduce partition keys. You then need multiple tables as new design for Cosmos migration.
upvoted 3 times
...
nkv
3 years, 7 months ago
came in exam on 20-sep-21, I passed, I choose Multiple tables fixed capacity, second one additional read region
upvoted 6 times
...
addam23
3 years, 8 months ago
Correct answer: table that has unlimited capacity. Requirements say that there is one 50GB table. So - why shall we spread it to many tables? It doesn't have any sense. The table can't be fixed. Because fixed table in cosmos has to be <=10GB.
upvoted 1 times
...
bigngster
3 years, 8 months ago
As a solution a single table will work better than multiple tables. However, the answer should be, "Multiple tables that have fixed capacity". The reason is to satisfy the requirements: 1. Payment processing system must be able to use grouping and joining tables on encrypted columns. 2. Minimize the effort required to modify the .NET web service querying Azure Cosmos DB. Requirement 1, is self-explanatory it tells you you need multiple tables. Or another way to interpret that statement is the "existing" solution relies on multiple tables. Requirement 2, tells you you need to minimize the effort. Imagine going from a multi-table solution to a single table solution, the query changes you have to make in the existing code. Although it's technically feasible and arguably make the queries more efficient (going to a single table design) it doesn't satisfy the requirement.
upvoted 3 times
pentium75
3 years, 8 months ago
The question is about the Historical Transaction system, NOT the Payment Processing system. And that "uses Azure Table Storage", probably with one table though that isn't mentioned explicitly. In any case, Cosmos DB does not have the issue that all queries cause table scans because all attributes are indexed by default. Thus a single table should be sufficient. This would also require least changes in the .NET app.
upvoted 2 times
...
...
henry1985
3 years, 9 months ago
Requirement is to migrate to Cosmos. Cosmos table storage has no limits on table size, and all attributes of an entity are indexed by default (https://docs.microsoft.com/en-us/azure/cosmos-db/table-api-faq#does-the-table-api-index-all-attributes-of-an-entity-by-default-).
upvoted 2 times
henry1985
3 years, 9 months ago
Multiple tables, because of the 20GB Maximum storage across all items per (logical) partition. https://docs.microsoft.com/en-us/azure/cosmos-db/concepts-limits#provisioned-throughput
upvoted 2 times
pentium75
3 years, 8 months ago
It's still one table, just with multiple partitions.
upvoted 1 times
...
...
...
GetulioJr
3 years, 10 months ago
Multiple tables seams the best answer as of: "A table is made up of one or more partitions, and many of the design decisions you make will be around choosing a suitable PartitionKey and RowKey to optimize your solution. A solution can consist of just a single table that contains all your entities organized into partitions, but typically a solution has multiple tables. Tables help you to logically organize your entities, and help you manage access to the data by using access control lists. You can drop an entire table by using a single storage operation." REF: https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-design-guide
upvoted 4 times
pentium75
3 years, 8 months ago
This is about Azure Table Storage, and yes, if you'd stick with that, the solution for your performance issues would be creating more tables. But you're migrating the solution to Cosmos DB, and THERE all attributes are indexed. Thus I think one table should be fine.
upvoted 3 times
...
...
ashishg2105
3 years, 11 months ago
Incorrect Multiple tables fixed capacity
upvoted 3 times
...
mactone
3 years, 11 months ago
sizing requirements should be multiple tables that have fixed capacity. https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-design-guide
upvoted 4 times
pentium75
3 years, 8 months ago
But we migrate the data to Cosmos DB. That guide is for classic Table Storage, and THERE we would need multiple tables to speed up the queries.
upvoted 1 times
...
...
jank
4 years, 2 months ago
So for the sizing part, is it "one table with fixed capacity" or "multiple tables with fixed capacity"? For resiliency: Cosmos DB doesnt have something like "availabiliy set", this is only for e.g. VMs. "availability zone" provides only redundancy within a region. So "additional read region" is correct.
upvoted 3 times
...
Blaaa
4 years, 3 months ago
Correct
upvoted 1 times
...
wgre
4 years, 4 months ago
Correct data stored on Azure Tables does not depend on complex server-side joins or other logic
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago