Questions about phrase 「てもよいか」 and prefix 「うえ」


The sentence came from Nintendo 3DS instruction manual explaining about
transfer data from the earlier version, Nintendo DSi, to the newer one,
Nintendo 3DS.

New
3DS本体にはDSiウェアのみ引っ越しされ、セーブデータは引っ越しされません。また、引っ越しすると、DSi本体では、ソフトと一緒にセーブデータも消去されます。引っ越しによってセーブデータを失っ
**てもよいか** 、事前にご確認の **うえ** 引っ越しを行ってください。

1) Does the 「か」in 「てもよいか」indicate doubt or uncertainty? In my opinion, since
transferring the data to the new system, Nintendo 3DS, will cause the existing
data in the original system, Nintendo DSi, being deleted for sure, I have a
doubt why then the 「か」being written in the sentence.

2) If the prefix 「うえ」means before doing something, can I use 「前に」instead
without losing the original meaning?




> 引っ越しによってセーブデータを失ってもよいか、事前にご確認のうえ引っ越しを行ってください。

This か is a question marker that introduces an embedded question. See this
question: [Usage of か after a
clause?](https://japanese.stackexchange.com/q/13034/5010)

So 「引っ越しによってセーブデータを失ってもよいか」 means "whether (or not) it's okay to lose your
saved data by the move". を after the embedded question is usually omitted, as
you can see in the link above.

`verb + 上【うえ】 (+で)` / `noun + の上 (+で)` is a formal set phrase that means "upon
～" or "after ～". You can see many examples
[here](http://www.jgram.org/pages/viewOne.php?tagE=uede).

The sentence can be rephrased as:

> 引っ越しによってセーブデータを失ってもよいか(を)、確認した **後で** 引っ越しを行ってください。  
>  Perform the system transfer _after you have confirmed_ you can lose your
> saved data.




> 引っ越しによってセーブデータを失ってもよいか、事前にご確認のうえ引っ越しを行ってください。

This か is a question marker that introduces an embedded question. See this
question: [Usage of か after a
clause?](https://japanese.stackexchange.com/q/13034/5010)

So 「引っ越しによってセーブデータを失ってもよいか」 means "whether (or not) it's okay to lose your
saved data by the move". を after the embedded question is usually omitted, as
you can see in the link above.

`verb + 上【うえ】 (+で)` / `noun + の上 (+で)` is a formal set phrase that means "upon
～" or "after ～". You can see many examples
[here](http://www.jgram.org/pages/viewOne.php?tagE=uede).

The sentence can be rephrased as:

> 引っ越しによってセーブデータを失ってもよいか(を)、確認した **後で** 引っ越しを行ってください。  
>  Perform the system transfer _after you have confirmed_ you can lose your
> saved data.

