Enterprise Distributed 2024 Flashcards

Remember conepts from enterprise tech stack stuff

1
Q

When do yaml changes take affect? Can they be branch deployed?

A

When merged into master

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

When deleting a resource method what are 3 necessary steps to take.

A
  1. Check if the resource method is being called still (logfetch)
  2. Delete the corresponding Client code
  3. Check for references to that client code (should show up on logfetch)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When deleting a client method what are 2 necessary steps to take?

A
  1. Check for usages of that client
  2. Check for usage’s of the underlying resource method and delete that as well.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What 3 things are necessary for an app to be installed?

A

User, portal, and

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

What does the LIMIT_BY_READ_WRITE parameter do?

A

On Vitess, this allows non transactional select statements to run in their own pool.

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

What is a recommended way to santize username input from the login attempt to avoid security breach?

A

PreparedStatement - it uses the inputs as query parameters.

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

How does one prevent Path Traversal Vulnerabilities?

A
  1. Test for vulnerabilities
  2. Work without user input when using fs calls
  3. Use indexes instead of file names
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an OS command injection?

A

When commands are sent from a user and executed in the system shell without validation.

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

What is an SSRF attack?

A

Server Side Request Forgery attack.

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

What is a @Stashed Provider?

A

In Dependency Injection, it stores an instance of a dependency. Usually for use within the same request or session. Want to ensure the same instance is used throughout the scope of a call.

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

What is Sharding vs Partitioning?

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

What do you need to do before sharding?

A

Optimize queries, increase performance space. If disk is approaching 500GB.

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

What do you need to do for I/O optimization?

A

Generally not sharding, optimize queries instead.

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