Skip to content

Commit

Permalink
Microsoft Power BI Q98 (#5943)
Browse files Browse the repository at this point in the history
* Update r-quiz.md

### DOD

- [ ] I have made small correction/improvements

### Changes
_misspelling at Q29_

* Update r-quiz.md

https://ibb.co/g7GmwGz

* Update r-quiz.md

* Update r-quiz.md

https://ibb.co/pX5Jzwt

* Update r-quiz.md

https://ibb.co/z7LtxXr

* Update r-quiz.md

https://ibb.co/rQTK0Zj

* Update microsoft-excel-quiz.md

https://ibb.co/TH4K7p8

* Update microsoft-power-bi-quiz.md

new question (https://ibb.co/R6hs8qV) with reference

* Update hadoop-quiz.md

* Update bash-quiz.md

* Update machine-learning-quiz.md

small corrections
  • Loading branch information
iuliancioata authored Jul 8, 2023
1 parent 5ad9d6c commit 08c7d94
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 16 deletions.
25 changes: 22 additions & 3 deletions bash/bash-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,14 +1059,14 @@ cat > notes -
[Reference](https://www.tutorialsandyou.com/bash-shell-scripting/sed-command-to-print-palindrome-53.html)
#### Q83. Which command will allow you to see the documentation of any other Bash command ?
#### Q83. Which command will allow you to see the documentation of any other Bash command?
- [x] Man {command}
- [ ] help {command}
- [ ] doc {command}
- [ ] {command} -help
#### Q84. What is the difference between these two conditional expressions ?
#### Q84. What is the difference between these two conditional expressions?
[[$A==$B]]
[[$A -eq $B]]
Expand All @@ -1076,7 +1076,7 @@ cat > notes -
- [x] they are the same.
- [ ] [[$A==$B]]is used for text comparisons whereas [[$a-eq $B]]is used for numeric comparisons.
#### Q85. What is the output of this code ?
#### Q85. What is the output of this code?
```bash
VAR="united states"
Expand All @@ -1087,3 +1087,22 @@ echo "${VAR^}"
- [ ] United States
- [ ] United states
- [x] UNITED STATES
#### Q86. What would happen if you ran the script below as it is written?
```bash
#!/bin/bash
#condition 1
if [ $foo = "bar" ]; then echo "foo is bar"
fi
#condition 2
if [[ $foo = "bar" ]]; then echo "foo is bar"
fi
```
- [x] Both conditions will fail.
- [ ] Both conditions will succeed.
- [ ] Condition 1 would succeed and Condition 2 would fail.
- [ ] Condition 1 would fail and Condition 2 would succeed.
**Explanation:** The script as written outputs `line 3: [: =: unary operator expected`. Define variable and assign value `foo="bar"`, and both conditions will succeed.
21 changes: 19 additions & 2 deletions hadoop/hadoop-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
- [ ] lookup store
- [ ] registry

#### Q52. To view the execution details of an Impala query plan, which function would you use ?
#### Q52. To view the execution details of an Impala query plan, which function would you use?

- [x] explain
- [ ] query action
Expand All @@ -376,7 +376,7 @@
- [ ] replication
- [ ] high availability

[Reference](https://hadoop.apache.org/docs/r1.2.1/hdfs_design.html#:~:text=is%20not%20supported.-,Snapshots,known%20good%20point%20in%20time.)
[Reference](https://hadoop.apache.org/docs/r1.2.1/hdfs_design.html#Snapshots)

#### Q54. Hadoop Common is written in which language?

Expand Down Expand Up @@ -511,3 +511,20 @@ FROM customers c;
- [ ] validate metadata; Impala
- [ ] invalidate metadata; Hive
- [ ] validate metadata; Hive

#### Q72. In Hadoop MapReduce job code, what must be static?

- [ ] configuration
- [x] Mapper and Reducer
- [ ] Mapper
- [ ] Reducer

[Reference](https://stackoverflow.com/questions/14828131/do-mappers-and-reducers-in-hadoop-have-to-be-static-classes)

#### Q73. In Hadoop simple mode, which object determines the identity of a client process?
- [ ] Kerberos ticket
- [ ] kubernetes token
- [ ] guest operating system
- [x] host operating system

[Reference](http://doc.isilon.com/ECS/3.2/DataAccessGuide/vipr_c_hdfs_security_model.html)
20 changes: 10 additions & 10 deletions machine-learning/machine-learning-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
- [ ] Machine learning servers can host larger databases.
- [ ] The algorithms can run on unstructured data.

#### Q17. You work for an insurance company. Which machine learning project would add the most value for the company!
#### Q17. You work for an insurance company. Which machine learning project would add the most value for the company?

- [ ] Create an artificial neural network that would host the company directory.
- [x] Use machine learning to better predict risk.
Expand Down Expand Up @@ -285,7 +285,7 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] unsupervised learning
- [ ] algorithms

**Explanation**: This one is pretty straight forward and a fundamental concept.
**Explanation**: This one is pretty straightforward and a fundamental concept.
[Source:](https://towardsdatascience.com/machine-learning-for-beginners-d247a9420dab)

#### Q39. Why is it important for machine learning algorithms to have access to high-quality data?
Expand Down Expand Up @@ -369,7 +369,7 @@ Note: there are centres of clusters (C0, C1, C2).

- [ ] regression analysis
- [ ] unsupervised learning
- [ ] high -variance modeling
- [ ] high-variance modeling
- [x] ensemble modeling

#### Q50. Your data science team wants to use machine learning to better filter out spam messages. The team has gathered a database of 100,000 messages that have been identified as spam or not spam. If you are using supervised machine learning, what would you call this data set?
Expand Down Expand Up @@ -407,7 +407,7 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] unsupervised machine learning
- [x] reinforcement learning

#### Q55. The model will be trained with data in one single batch is known as ?
#### Q55. The model will be trained with data in one single batch is known as?

- [ ] Batch learning
- [ ] Offline learning
Expand Down Expand Up @@ -478,7 +478,7 @@ Note: there are centres of clusters (C0, C1, C2).

**Explanation**: The answer is self-explanatory: if Asian users are the only group of people making the complaint, then the training data should have more Asian faces.

#### Q64. You work for a website that helps match people up for lunch dates. The website boasts that it uses more than 500 predictors to find customers the perfect date, but many costumers complain that they get very few matches. What is a likely problem with your model?
#### Q64. You work for a website that helps match people up for lunch dates. The website boasts that it uses more than 500 predictors to find customers the perfect date, but many customers complain that they get very few matches. What is a likely problem with your model?

- [ ] Your training set is too large.
- [ ] You are underfitting the model to the data.
Expand Down Expand Up @@ -525,7 +525,7 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] Help avoiding the vanishing/exploding gradient problem
- [ ] Their ability to activate each neurons individually.

#### Q70. Which loss function would fit best in a categorical (discrete) supervised learning ?
#### Q70. Which loss function would fit best in a categorical (discrete) supervised learning?

- [ ] kullback-leibler (KL) loss
- [x] Binary Crossentropy
Expand Down Expand Up @@ -560,7 +560,7 @@ Note: there are centres of clusters (C0, C1, C2).
#### Q73. You need to quickly label thousands of images to train a model. What should you do?

- [ ] Set up a cluster of machines to label the images
- [ ] Create a subset of the images and label then yourself
- [ ] Create a subset of the images and label them yourself
- [x] Use naive Bayes to automatically generate labels.
- [ ] Hire people to manually label the images

Expand All @@ -573,7 +573,7 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] high bias, high variance
- [x] low bias, low variance

`// since the data is accurately classified and is neither overfitting or underfitting the dataset`
`// since the data is accurately classified and is neither overfitting nor underfitting the dataset`

#### Q75. You need to select a machine learning process to run a distributed neural network on a mobile application. Which would you choose?

Expand Down Expand Up @@ -717,7 +717,7 @@ Note: there are centres of clusters (C0, C1, C2).

- [ ] Bias is when your predicted values are scattered.
- [x] Bias is the gap between your predicted value and the outcome.
- [ ] Bias is when your data is wrong for differnet reasons.
- [ ] Bias is when your data is wrong for different reasons.
- [ ] Bias is when your values are always off by the same percentage.

#### Q94. Which project might be best suited for supervised machine learning?
Expand Down Expand Up @@ -879,7 +879,7 @@ Which of these statements do you agree with?
- [x] reinforcement learning.
- [ ] supervised learning.

**Explanation**: Reinforcement learning is the branch of machine learning where the algorithm interacts with the enviroment and get rewards or penalizations [Source](https://www.deepmind.com/publications/playing-atari-with-deep-reinforcement-learning)
**Explanation**: Reinforcement learning is the branch of machine learning where the algorithm interacts with the environment and gets rewards or penalizations [Source](https://www.deepmind.com/publications/playing-atari-with-deep-reinforcement-learning)

#### Q114. An organization that owns dozens of shopping malls want to create a machine learning product that will use facial recognition to identify customers. What is one of the main challenges with developing such a product?

Expand Down
12 changes: 11 additions & 1 deletion microsoft-power-bi/microsoft-power-bi-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,11 +768,21 @@ NOTE: The Power BI Documentation does not mention the word directive. The correc
- [x] all of these answers
- [ ] Rearrange pivot table fields.
- [ ] Drill down in the pivot table.
-

#### Q97. You pinned an Excel pivot table to a dashboard. What will other users be allowed to do with this visualization?

- [ ] drill down in the pivot table.
- [ ] Rearrange pivot table fields.
- [ ] view the pivot table
- [x] all of these answers

#### Q98. Using Power BI service, you want to share a set of visualizations with your team so that they can, in turn, share the content with others. To do this, what should you share?

- [ ] a report
- [ ] a tile
- [ ] a dashboard
- [x] all of these answers

[reference](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-share-dashboards)


0 comments on commit 08c7d94

Please sign in to comment.